83Plus:Software:usb8x/BASIC Interface/Version: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
 
m typo
 
Line 19: Line 19:
The version command is only available on usb8x version 0.10 or higher.  On earlier versions an Argument Error will be generated if you attempt to call Version or any other entry point that isn't present.  On versions 0.10 and higher, non-existant entry points return an EPIndex error in the output list instead.
The version command is only available on usb8x version 0.10 or higher.  On earlier versions an Argument Error will be generated if you attempt to call Version or any other entry point that isn't present.  On versions 0.10 and higher, non-existant entry points return an EPIndex error in the output list instead.


== Examples ==
== Example ==
Display usb8x version:
Display usb8x version:
  <nowiki>{6
  <nowiki>{6
ExecLib
ExecLib
Disp Ans(2)+.01Ans(3</nowiki>
Disp Ans(2)+.01Ans(3</nowiki>

Latest revision as of 21:39, 16 July 2006

Synopsis

Name: Version

Function Number: 6

Minimum usb8x version: 0.10

Gets the usb8x version.

Inputs

None

Outputs

  • 1: Error code
  • 2: Major version
  • 3: Minor version

Notes

The version command is only available on usb8x version 0.10 or higher. On earlier versions an Argument Error will be generated if you attempt to call Version or any other entry point that isn't present. On versions 0.10 and higher, non-existant entry points return an EPIndex error in the output list instead.

Example

Display usb8x version:

{6
ExecLib
Disp Ans(2)+.01Ans(3