Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
22
Web compatibility
This script step is web-compatible.
Description
Repeats a set of script steps. The Loop script step and End Loop script step mark the
beginning and end of a repeating structure of script steps. ScriptMaker™ performs the
script steps that are enclosed within the loop structure until it encounters one of the
following:
• an Exit Loop If script step
• a Go to Record/Request/Page script step or Go to Portal Row script step when the
Exit Loop After First/Last option is selected
Every Loop step must have a corresponding End Loop step somewhere after the Loop
step and at the same indentation. Whenever you use a Loop script step, ScriptMaker
automatically enters an End Loop step.
Example
Go to Record/Request/Page [First]
Loop
Set Field [Table1::Bonus; 2500.00]
Go to Record/Request/Page [Next]
Exit Loop if [Get (RecordNumber) = 25]
End Loop
Exit Loop If
Format
Exit Loop If [<Boolean calculation>]
Options
Click Specify to define the Boolean
calculation. In the Specify Calculation dialog box, type
the calculation you want evaluated, or use the field list (on the left) and the functions list
(on the right) with the mathematical and text operators
to build the calculation.
Web compatibility
This script step is web-compatible.
Description
Exits a Loop if the specified calculation is True (not zero). The script execution continues
with the first script step after the Exit Loop step.
If the calculation if False (zero), the loop is not exited and the script continues with the
script step that follows the Loop script step.