Calling a procedure, Comments, Automating tasks functions reference – Juniper Systems Allegro CX Manual User Manual
Page 171
Allegro CX Owner’s Manual 171
Calling a Procedure
You can structure your code into more simple tasks and then you can
call previously defi ned task from within a task using its name.
Example:
Set(a1,100)
while a1>0
Hello
Set(a1, a1-1)
end
Comments
Set(a1,100) ‘Note: set cell A1 to value 100
Automating Tasks Functions Reference
Parameters in [ ] are optional.
ActiveCell()
Returns the active (highlighted) cell.
Example:
Set(ActiveCell(), “Hello World!”)
ActiveSheet([index])
Returns the number of the active sheet (1-based) and selects the new
one if index is specifi ed. Returns “!!Val” if index is less than 1 or
greater than number of sheets.
Example: ActiveSheet(2)
Beep([soundType ])
Plays a waveform sound. SoundType specifi es the system sound
type (64 – asterisk, 48 – exclamation, 32 – question, 16 – hand, no
parameter – default sound).
Example:
Beep()
Beep(32)
CellRef(col, row [, sheetIndex])
Returns the cell reference.
Example:
Set(CellRef(a1,2), 123)
- Allegro 2 Quick Start (1 page)
- Allegro 2 User Guide (119 pages)
- I/O module Allegro 2 (1 page)
- A2 Ethernet Dock (2 pages)
- A2 Ethernet Multi Dock (2 pages)
- Allegro MX User Guide (96 pages)
- Allegro MX Quick Start (1 page)
- AMXU GPS Expansion Pod (12 pages)
- Allegro Top Mounting Bracket (4 pages)
- Holux M-215+ for Allegro (2 pages)
- Holux GR-213 for Allegro (2 pages)
- Trimble Lassen GPS Expansion Pod (11 pages)
- Barcode Expansion Pod (22 pages)
- USB/Power Dock Pogo Pin (1 page)
- 12449 Alkaline (1 page)
- Allegro DAQ (28 pages)
- Allegro Desiccant Kit (5 pages)
- Allegro CX and CE Bluetooth CF Card (32 pages)
- Allegro CX Quick Start (6 pages)
- Allegro DOS Manual (166 pages)
- Allegro DOS Manual (274 pages)
- Allegro DOS Quick Start (4 pages)
- Allegro DOS Quick Start (2 pages)
- Allegro CE Manual (292 pages)
- Allegro CE Quick Start (2 pages)
- Archer 2 User Guide (1 page)
- Archer 2 User Guide (133 pages)
- Archer 2 Quick Start (1 page)
- I/O module Archer 2 (1 page)
- Bumper kit Archer 2 (1 page)
- Handstrap kit Archer 2 (1 page)
- ikeGPS (16 pages)
- Archer Quick Start (2 pages)
- Archer Reference Guide (153 pages)
- Archer User Manual (384 pages)
- XF101 (2 pages)
- Travel Charger for the Ultra-Rugged Field PC (8 pages)
- Field PC Cap Replacement (1 page)
- Replacing the Communications Module on the Field PC (2 pages)
- ltra-Rugged Field PC Extended Caps (16 pages)
- Socket Bluetooth Card (6 pages)
- Mesa User Guide (112 pages)
- Mesa Addendum (1 page)
- Mesa Quick Start (2 pages)