Problem with file conversion from EP1 to EP2 Pro
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problem with file conversion from EP1 to EP2... Expand / Collapse
Author
Message
Posted 2/14/2008 8:41:53 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/20/2008 10:45:33 AM
Posts: 2, Visits: 4
I am attempting to move an experiment from EPrime 1 to EPrime 2 Professional.  The experiment compiles and runs without problems in EP1.  I am able to convert and run other experiments packaged with EP1 in EP2.  The error message is as follows.

"The following error was found while attempting to compile the E-basic script:

Left of "." must be an object, structure, or dialog"

It references this line of the script which as near as I can tell is common to all Eprime scripts.

"Mouse.ShowCursor True"

Post #1259
Posted 2/14/2008 8:53:36 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Yesterday @ 10:30:44 PM
Posts: 549, Visits: 1,198
Check in experiment object to see if there is a Mouse device and checked.  EP2 currently has the restriction that a Mouse device must be added and enabled, which is setup by default in an experiment.

-Brandon

Post #1263
Posted 2/20/2008 10:54:40 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/20/2008 10:45:33 AM
Posts: 2, Visits: 4
Ok, I got it to work by copying and pasting code into the new version of E-prime.  The only difference I can see between the version that compiles and the one that doesn't is the naming of input devices.  "ebKeyboard" -> "Keyboard" and "ebSRBox" -> "SRBox"  The original program is not my own and I can't say what the "eb" indicates.
Post #1277
Posted 2/22/2008 10:59:49 AM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Yesterday @ 10:19:59 PM
Posts: 212, Visits: 592
mstockman (2/20/2008)
The original program is not my own and I can't say what the "eb" indicates.


The "eb" is just a prefix used to indicate a standard E-Basic constant, variable, or other identifier. See, e.g., the topic "Constants" in the E-Basic online help.

-- David McFarlane, Systems Designer
   Dept. Psychology, Michigan State University
Post #1282
Posted 2/22/2008 8:53:41 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Yesterday @ 10:30:44 PM
Posts: 549, Visits: 1,198
The eb prefix is typically assigned for runtime defined constants.  If your experiment has named any of the devices with eb, then this is from a very old (likely E-Prime 1.0 BETA 3) experiment and it is encouraged to rename them to just Keyboard, Mouse, SRBOX, etc without the eb prefix.

-Brandon

Post #1283
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 3:41am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Disabled.