|
|
|
Forum 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"
|
|
|
|
|
Forum 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
|
|
|
|
|
Forum 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.
|
|
|
|
|
Forum 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
|
|
|
|
|
Forum 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
|
|
|
|