Syntax of Embedded Speech Commands
This appendix provides a formalization of the embedded command syntax structure, subject to the following conventions:
Items enclosed in angle brackets (< and >) represent logical units that are listed and defined in another row in the table.
Items enclosed in brackets ([ and ]) are optional.
Items followed by an ellipsis (...) may be repeated one or more times.
When two or more items are separated by a vertical bar (|), any one of the listed items may be used.
Table A-1 defines the identifiers used in embedded commands.
Identifier | Syntax |
---|---|
CommandBlock | <BeginDelimiter> <CommandList> <EndDelimiter> |
BeginDelimiter | <String1> | <String2> |
EndDelimiter | <String1> | <String2> |
CommandList | <Command> [; <Command>] ... |
Command | <CommandSelector> [Parameter] ... |
CommandSelector | <OSType> |
Parameter | <OSType> | <String1> | <String2> | <StringN> | <RealValue> | <32BitValue> | <16BitValue> | <8BitValue> |
String1 | <Character> |
String2 | <Character> <Character> |
StringN | [<Character> ...] |
OSType | <Character> <Character> <Character> <Character> |
32BitValue | <OSType> | <LongInt> | <HexLongInt> |
16BitValue | <Integer> | <HexInteger> |
8BitValue | <Byte> | <HexByte> |
RealValue | <Decimal number: 0.0000 ≤ N ≤ 65,535.9999> |
LongInt | <Decimal number: 0 ≤ N ≤ 4,294,967,295> |
HexLongInt | <Hex number: 0x00000000 ≤ N ≤ 0xFFFFFFFF> |
Integer | <Decimal number: 0 ≤ N ≤ 65,535> |
HexInteger | <Hex number: 0x0000 ≤ N ≤ 0xFFFF> |
Character | <Any printable character (for example A, b, *, ~, \)> |
Byte | <Decimal number: 0 ≤ N ≤ 255> |
HexByte | <Hex number: 0x00 ≤ N ≤ 0xFF> |
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-09-05