-
Notifications
You must be signed in to change notification settings - Fork 0
pts set new value
Click Set New Value on the SYSTEM ribbon panel to display the Set New Value window. |
|---|

You must press Insert (or Update if editing an existing command) for your changes to be applied to the current script in the editor.
Setting a variable allows you to either change the value of an existing variable conveniently, or to actually declare and initialise a variable in one go.
Variables declared in this way will become available for inserting via the editor in later commands, and do not need to be declared with REQUIRES.It is implicit.
Variables appearing on the right-hand side of the equals must have previously been set, though. The value to assign to the variable is an expression, but it does not require curly braces { and } around it. These variables have similar properties to dynamic variables declared with REQUIRES.
You should initialise and use variables this way unless you need input from the user (in which case you should use the REQUIRE command).
Example:
$iNumBrothersAvailable = $iNumSpeakers + $iNumReaders
Copyright © 2002 - 2025 by Andrew Truckle. All Rights Reserved.
- Using Public Talks
- Main Application Menu
-
Database Ribbon Panel
- Assignments Editor
- Backup Database
- Check Talk Exchange
- Compact Database
- Convert Database
- Create Unassigned Date Entries
- Database Security
- Maintain Databases
- Purge Database
- Rearrange Dates
- Restore Database
- Help Ribbon Panel
-
Home Ribbon Panel
- Create a Report
-
Manage Custom Reports
- Editing Scripts
- Content Ribbon Panel
- System Ribbon Panel
- Script Command Syntax
-
Tutorials
- Using The Script Editor
-
How To Write Scripts
- Module 1 - The Basics
- Module 2 - Hello, World!
- Module 3 - Multiple Text Blocks
- Module 4 - It's A Date, Then
- Module 5 - Oh, I'm Blushing!
- Module 6 - It is a Rainbow!
- Module 7 - The Font Of All Knowledge
- Module 8 - Queue To The Right
- Module 9 - Memory Like An Elephant
- Module 10 - May I Squeeze In There?
- Module 11 - Move Over, Please
- Module 12 - You Move Over Here
- Module 13 - Is My Back A Funny Colour?
- Module 14 - I'm Going Loopy Here!
- Module 15 - Fields Of Golden... Text
- Module 16 - Man, That Looks Weird
- Module 17 - Inner Peace, Inner Loop
- Advanced Script Features
- Quick Access Toolbar
- Settings Ribbon Panel
- Tools Ribbon Panel
- Revision History
- Contact Information
Click Set New Value on the SYSTEM ribbon panel to display the Set New Value window.