Variables, How to set and get cell values, If command – Juniper Systems Allegro CE Manual User Manual
Page 192

Page 4-132 Windows CE
Variables
You can use variables in tasks.
Example:
ok = YesNoBox("Finish task?")
if ok then
Return()
end
There are no global variables. Use a workbook to store global data.
How to Set and Get Cell Values
Use Set(reference, value) function to set cell value.
Example:
Set(A1,1000)
If you need to create a cell reference using row and column numbers
(column A has number 1) use function CellRef(col, row [, sheetIndex]).
Parameter sheetIndex is optional.
Example:
i = 1
while i < 100
Set(CellRef(1,i), i)
i = i+1
end
If Command
if condition then
commandsTrue
end
if condition then
commandsTrue
else
commandsFalse
end
Executes commandsTrue if a condition is True or commandsFalse if a
condition is False.
Examples:
if a1<>0 then Set(c1, b1/a1) end
if a1=0 then
Set(c1, "Sorry...")
else
Set(c1, b1/a1)
end
- 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 Manual (304 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 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)