-
Notifications
You must be signed in to change notification settings - Fork 0
pts tutorial3 module2
There are three main commands where variables are used:
- TEXT
- PARAGRAPH
- LOOP
TEXT and PARAGRAPH are, of course, more or less the same thing, they just are rendered differently. Here, the variable is simply used to write a piece of text into your report that you don't know beforehand. For example, if your report was listing a Brother's talks for the coming month, then a variable you would need would be to enter the Brother's name so that you could generate a report for each Brother in your congregation. In which case, you might wish to have the report start with "Dear XXX". The XXX is where the variable would come into play.
Since a LOOP command in itself does not print anything out, it is clear that the variable has a different role to play here. Do you remember trying to extract brothers by using CURRENT."BrotherName" to ensure it extracted the brother as given by the outer loop? Well, if you used a variable to say which brother instead of whatever the outer row gave us, then we could extract all data for the brother you specify, instead.
This may not make a lot of sense right now, so bear with us. We will come to some real-world examples shortly.
| Previous Module | Next Module |
|---|
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