$UseASA

From m204wiki
Revision as of 21:22, 22 November 2011 by DmeWiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

Prevent carriage control in USE output

Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.

This function fools Model 204 into not placing carriage control characters in USE dataset output.

The $UseASA function accepts no arguments and returns 0 if successful or an error code.

Syntax

<section begin="syntax" /> %RESULT = $UseASA <section end="syntax" />

$UseASA Function

%RESULT is set to the return code.

0 - Successful 4 - Dataset does not use control characters 8 - No USE dataset active

$UseASA return codes

For example, this code fragment prevents M204 from inserting carriage control characters:

%X = $UseASA

Products authorizing $UseASA