Overview
The InLine object is used to insert user-written E-Basic script into an E-Prime experiment. The InLine object is useful in situations in which the standard objects do not provide the flexibility required by certain paradigms, and affords the user very detailed control within the program execution.
The InLine object as it appears in the Toolbox.
The E-Basic language is completely documented in the online E-Prime Command Reference. The E-Prime Command Reference may be accessed via the Start menu from the E-Prime group, or by using the E-Prime Command Reference menu within E-Studio. See OVERVIEW: Extending Experiments with Script [23286] for more information on writing script in E-Prime.
Interface
The InLine title bar appears at the top of the object window when opened in the Workspace. The title bar displays the InLine object icon, as well as the name of the InLine object. The script window appears below the title bar, and displays any user-written script.
User-written script is entered using E-Basic, the complete scripting language underlying E-Prime. Script entered into an InLine object is inserted “as-is” into the experiment script at run-time. The location of the script in the generated experiment specification file (*.es3 file) is relative to the location of the InLine object within the experiment Procedures.
Script may be entered in the window by placing the cursor in the window and typing directly in the window. Alternatively, script may be entered via the Script field in the Properties window. The latter method is not recommended, as it allows the user to view only a small portion of the script at one time. E-Basic provides syntax highlighting to aid in the readability of script.
Color Defaults | Type | Description |
Green | Comments | Notes entered into program code.Set off from the code by a single quotation mark (‘) |
Blue | Keywords | Any word or symbol recognized by E-Basic as part of the language |
Black | Statements | General script |
Burgandy | Strings | A data type capable of holding a number of characters |
Gray | API functions | Application Program Interface functions (i.e., functions specific to E-Prime) |
Orange | Constants | User-defined values defined as constants |
Property Pages
The InLine object is not a “runnable” object. Rather, the script contained within the object is inserted into the experiment script, as is.
Properties Window
The Properties of the InLine object may be set using the fields in the Properties window.
Property | Possible Values | Description |
(Name) | String values | Assigns a user-entered string as the name of the InLine object. |
(About) | ---------- | Displays the About InLine dialog. |
(Property Pages) | ---------- | Opens the InLine object window. |
Code | E-Basic Script | User written E-Basic code which is inserted directly into the program script. |
Notes | String values | User-entered text useful for storing information or comments related to an object. |
Tag | String values, Attribute references | User-defined string to be logged with the object. |
Next Article: E-STUDIO: Wait Object [22711]
Previous Article: E-STUDIO: FeedbackDisplay Object [22709]
Comments
0 comments
Please sign in to leave a comment.