$UseASA: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
Line 29: Line 29:
<li>[[Sirius functions]]</li>
<li>[[Sirius functions]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Janus Open Client]]</li>
<li>[http://m204wiki.rocketsoftware.com/images/4/4a/JoclrNew.pdf Janus Open Client]</li>
<li>[[Janus Open Server]]</li>
<li>[[Janus Open Server]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Sockets]]</li>

Revision as of 23:55, 12 September 2013

Prevent carriage control in USE output

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

%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