Difference between revisions of "$bvar"

From Scriptwiki
Jump to: navigation, search
m
(No difference)

Revision as of 12:20, 17 October 2006

The $bvar identifier is used to read a binary file

$bvar(&binvar,N,M)

This returns M ascii values starting at byte N from &binvar. If N+M is larger then the size of &binvar, it will return ascii values starting at byte N to the last byte.

You can use N = 0 to return the size of &binvar.

Properties: text, word, nword, long, nlong $bvar(&binvar,N,M).text returns M ascii values, starting at N as plain text.