Go to Contents
Previous
Page
Next
Page
Contents > Script steps reference (alphabetical list) > Miscellaneous script steps > Comment script step

Comment script step
Format
#<comment text>
Options
Click Specify to display a dialog box to enter the comment text.
Web compatibility
This script step is web-compatible.
Description
Adds comments to the list of steps in the script. Use the comments to document your script. Comments appear in bold and are prefaced with a #. Comments are present only when you are viewing the script and do not appear when the script is performed.
Note   Comments print in italics.
Example

Set Error Capture [On]
Perform Find [Restore]
If [Get (LastError) = 401]
   #If the current error is 401, nothing was found
   Show Custom Dialog ["No records were found."]
   If [Get (LastMessageChoice) = 1]
      Modify Last Find
   Else
      Enter Browse Mode []
   End If
End If
Related topics
Script steps reference (alphabetical list)
Script step categories

Contents > Script steps reference (alphabetical list) > Miscellaneous script steps > Comment script step
Previous
Page
Next
Page