11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Caché</strong> <strong>ObjectScript</strong> CommandsNote that READ a#1 and READ *a can both be used to input a single character. However thevalue stored in variable is different: a#1 stores the input character in variable a; *a stores theASCII numeric value for the input character in variable a; both store the input character inthe $ZB special variable. These two types of single-character input also differ in how theyhandle terminator characters and how they handle a timeout.stringA string literal that provides a prompt or message for user input with the terminal keyboard.Generally, a string argument is followed by a variable, so that the user input area follows thedisplayed literal.fAny of the following format control codes. When used with user input from the keyboard,these controls determine where a specified string or the user input area will appear on thescreen.! starts a new line. You may specify multiple exclamation points# starts a new page. On a terminal, it clears the current screen and starts at the top of the newscreen.?n positions at the nth column location, where n is a positive integer./keyword(parameters) A device control mnemonic. Performs a device-specific operation,such as positioning the cursor on a video terminal or rewinding a magnetic tape. The slashcharacter (/) is followed by a keyword, which is optionally followed by one or more parametersenclosed in parentheses. Multiple parameters are separated by commas. The keyword is anentrypoint label into the current device's mnemonic space routine.You can establish the default mnemonic space for a device type in either of the followingways:• Go to the System Management Portal, select System Configuration, select AdvancedSettings, on the pull-down Category list select IO. Select either MnemonicMagTape,MnemonicOther, MnemonicSeqFile, or MnemonicTerminal. For the desired device type,click “edit” to display and edit its mnemonic space setting.• Include the /mnemonic space parameter in the OPEN or USE command for the device.You can specify multiple format controls. For example: #!!!?20 means to start at the top ofa new page (or screen), go down three lines, and then position to column 20.118 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!