$UseASA: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
Line 2: Line 2:
<span class="pageSubtitle">Prevent carriage control in USE output</span>
<span class="pageSubtitle">Prevent carriage control in USE output</span>


<p class="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.</p>
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.</p>


This function fools <var class="product">Model&nbsp;204</var> into not placing carriage control characters in USE dataset output.  
This function fools <var class="product">Model&nbsp;204</var> into not placing carriage control characters in USE dataset output.  

Latest revision as of 23:27, 20 September 2018

Prevent carriage control in USE output

Note: Many $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

%result = $UseASA

%result is set to a return code.

Return codes

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

Example

This code fragment prevents Model 204 from inserting carriage-control characters:

%x = $UseASA

Products authorizing $UseASA