Ascii – Visara Master Console Center Scripting Guide User Manual
Page 78
![background image](https://www.manualsdir.com/files/808700/content/doc078.png)
Chapter 5 Script Commands
Scripting Guide
78
ASCII
Syntax:
ASCII( $String) ==> %Value
Description:
Given a string $String, returns the integer ASCII value of its first
character only, ranging from 0—255.
Action:
Assign an integer value to the variable specified.
Parameters:
$String. Normal string expression.
Returns:
Integer value. The number corresponding to the ASCII code of the first
character.
Notes:
1. A return value of zero denotes an empty (null) string.
2. Technically, ASCII values are only in the range of 0 to 128, but
some systems (including the MCC itself) use the ISO 8859 “Latin 1”
or ANSI character set, which contains values from 0 to 255. See
Appendix A ASCII Character Values for a complete list of
characters and their values.
Example:
$Name := “Alexandra”
%Code := ASCII($Name)
// Variable %Code will contain the number 65, the ASCII
// value for a capital A.
See Also:
- CCA-3074 Quick Start (2 pages)
- CCA-3074 Planning Guide (66 pages)
- CCA-3074 Installation (90 pages)
- CNA-8000 Quick Start (2 pages)
- CNA-8000 Planning Guide (58 pages)
- CNA-8000 (122 pages)
- FEP-4600 Quick Start (2 pages)
- CNA-8000 Installation (126 pages)
- FEP-4600 (79 pages)
- Master Console Center Installation (52 pages)
- FEP-4600 Installation (114 pages)
- Master Console Center Operations Guide (80 pages)
- Master Console Center Consultants Manual (8 pages)
- Master Console Center Troubleshooting Guide (18 pages)
- FEP-4600 Planning Guide (116 pages)
- VI-5990 (56 pages)
- SCON-28L Configuration Manual (132 pages)
- Master Console Center Administration Guide (233 pages)
- SCON-22L Reference Manual (44 pages)
- SCON-28L Reference Manual (52 pages)
- SCON-28L Installation (100 pages)
- 1174-90S (42 pages)
- LINCS Features (148 pages)
- LINCS Central Control (180 pages)
- EMS-1174 (2 pages)
- SSL1000 (42 pages)
- iCON-1T Quick Start (2 pages)
- 1883 (160 pages)
- LINCS Configuration (240 pages)
- iCON-XT Quick Start (2 pages)
- iCON-XT Installation (34 pages)
- 1199-C32 (12 pages)
- iCON-XT (144 pages)
- 22L (18 pages)
- eTerm 760 (64 pages)
- eTerm 350 Quick Start (8 pages)
- 1199 TWA Mux (20 pages)
- 410 (86 pages)
- eTerm 350 (70 pages)
- 1481 (72 pages)
- 1486 (117 pages)
- 1783 (172 pages)