McIDAS Learning Guide
Version 2006
[Search Manual]
[Table of Contents]
[Go
to Previous]
[Go
to Next]
String Tables - Incrementing Values in a String
In this exercise, you will define a simple string that displays three images
in three consecutive frames, use the REPEAT command
to define values for the string, and run the string.
- Create a string called DISPLAY that displays images on frames.
- Type: TE DISPLAY "IMGDISP GV4.!1
!2 STA=DCA
The exclamation point (!) indicates the value will be defined and incremented
when you use the REPEAT command.
In this example, the dataset position number (!1) and the frame number (!2)
will increment.
- Repeat the DISPLAY string three times, starting at GV4 dataset
position 1 and frame 4, and increase each value by one until dataset position
3 is displayed in frame 6.
- Type: REPEAT DISPLAY 1 TO 3 BY 1
4 BY 1
- Set the loop bounds to frames 4 through 6 and loop the frames.
Stop looping.
- Type: LS 4-6
- Press: Alt L
- Exit McIDAS
- Type: EXIT
[Search Manual]
[Table of Contents]
[Go
to Previous]
[Go
to Next]