Comment
 
Purpose 
Adds comments to the list of steps in the script.
See also 
Format 
#<comment text>
Options 
<comment text> lets you enter comments.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Use 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.
Notes
 •
 •
 •
 •
Example 1 
Shows how comments are used to explain script steps.
Go to Layout ["Invoices"]
#Find all invoices for the current customer
Find Matching Records [Replace; Invoices::Customer ID]
#Sort found set by Invoice ID
Sort Records [Restore; No dialog]
#Save all records in the found set as a PDF
Save Records as PDF [No dialog; "Customer Backup.pdf"; Records being browsed]
#Go back to the original layout
Go to Layout [original layout]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)