This article applies to:
This bug has been corrected in E-Prime 2.0 (126.96.36.1993).
The Block comments in the user script are not working properly.
Block comments should treat all of the lines between the start block comment marker ("/*") and the end block comment marker ("*/") as commented out lines, rather than as user-written script that should be processed when the experiment is generated. However, block comments do not work properly in the following ways:
- After marking a group of lines as a block comment, ScriptSense changes the block comment to a series of individually commented out lines by adding a single apostrophe to the start of every line in the block comment area.
- When adding a new line inside of an existing block comment, the new line is not included as a part of the block comment.
Block comments are useful for both temporarily commenting out a contiguous series of lines as well as easily removing the block comment. However, the easy removal of a block comment is not possible because ScriptSense inserts an apostrophe at the start of each line in the block comment. Since the single apostrophe designates the line on which it appears as a comment, E-Prime properly interprets the contents of the line as commented out information. Unfortunately, though, once the block comment has been changed to a series of individual line comments, there is no "undo" which will quickly switch all of the commented out lines back to standard lines of script.
When users insert a new line in the midst of a block comment, they expect the new line to be treated as part of the block comment. However, E-Prime does not include the newly inserted line to be a comment and instead treats it as user-written script. This often results in a generate error since E-Prime is attempting to process the contents of the line as E-Basic script.
Upgrade to E-Prime 188.8.131.523 or later.
This workaround is intended only for those who are unable to update to the E-Prime version that includes the bug fix:
All of the additional apostrophes that have been added to the script can be deleted by selecting the script and pressing CTRL+SHIFT+' (apostrophe). CTRL+' (apostrophe) adds them back.
Add a single apostrophe to the beginning of the new line of script to comment it out like the rest of the block.