Adding a visual basic script into E-Prime

neuropsych76 roccorocks5 at yahoo.com
Thu Apr 29 22:14:42 UTC 2010


Thank you for your reply.

So would looking at VB code help at all? Would I have to program the
problem from scratch?
I do not know much code so would something like the Monty Hall problem
be possible with minimal code?

On Apr 29, 5:25 pm, David McFarlane <mcfar... at msu.edu> wrote:
> Without going into great detail, although E-Prime does derive from
> Visual Basic for Applications, it provides a highly customized and
> specialized platform (otherwise there would be no point to using it
> instead of straight VB).  IOW, it is rather more (and less) than just
> a VB platform with an added library of routines.  So you cannot
> simply copy & paste VB code and expect it to work.  In particular,
> the code that you reference contains a class definition, and the
> geniuses at PST do not allow us to define our own custom classes in
> E-Basic <sigh>.
>
> <editorial>
> BTW, I don't know why everybody calls this "script" instead of
> "code", *especially* when referring to straight VB instead of E-Basic
> -- I have read through several VB books, the word "script" never
> appears there and they uniformly refer to "code" (just like at the
> link that you posted).
> </editorial>
>
> -- David McFarlane, Professional Faultfinder
>
> >So part of my experiment, I want to have the Monty Hall Problem. I've
> >found some VB scripts of the Monty Hall problem but I'm not sure how I
> >would put them into E-Prime as an inline script.
>
> >Would I be able to copy and paste a script and just make some edits or
> >would I have to start from scratch?
>
> >Thank you for any help or advice!
>
> >ps something like the script from this link
>
> >http://www.vbforums.com/showthread.php?t=609731
>
> --
> You received this message because you are subscribed to the Google Groups "E-Prime" group.
> To post to this group, send email to e-prime at googlegroups.com.
> To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/e-prime?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list