VER

VER

Top  Previous  Next

Action

Returns the AVR-DOS version

 

 

Syntax

result = VER()

 

 

Remarks

Result

A numeric variable that is assigned with the AVR-DOS version. The version number is a byte and the first release is version 1.

 

When you have a problem, MCS can ask you for the AVR-DOS version number. The VER() function can be used to return the version number then.

 

 

 

See also

INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE , GET , PUT , FILEDATE , FILETIME , FILEDATETIME , DIR , WRITE , INPUT

 

noticeThe VERSION() function is something different. It is intended to include compile time info into the program.

 

 

ASM

Calls

_AVRDOSVer

 

 

Input

-

Output

R16 loaded with value

 

 

Example

Print Ver()