This article applies to:
The use of indentation when scripting InLine objects, User Script, or PackageFiles can make your script easier to understand by other researchers that may edit your experiment. For example, when scripting an "If Then", make sure the conditional action being taken (the action between "If Then" and "End If") is indented by one press of the Tab button. This makes the action and intent of the script clearer to others that may read the script. Furthermore, indenting your script becomes more beneficial whenever the amount of script written increase in size.
The following image shows script that is not indented:
The following image shows script that is indented:
Please sign in to leave a comment.