Well because I don't see it in the help nor could I find any mention of it on the forum here, it seems as though we CAN use "end of line" comments in the action scripts after actions that require parameters!Any lines appearing in the editor that begin with a period "." are ignored by NeoBook. These are considered comments. For example:
.this is a comment
AlertBox "Greetings" "Hello world."
You can use this feature to add comments to your Action scripts or to temporarily disable commands for debugging purposes.
Examples:
These work (because the comments are after the last expected parameter):
Code: Select all
If "[SaveToDb]" "=" "Checked" .test
Code: Select all
SetVar "[SaveToDb]" "" test
Code: Select all
EndIf .test
Code: Select all
Return .test
Code: Select all
Return test