Start Back Next End
  
ZBasic System Library
148
ZBasic Microcontrollers
GetProgMem
Type
Subroutine
Invocation
GetProgMem(addr, var, count)
Parameter
Method
Type
Description
addr
ByVal
Long
The Program Memory address from which to begin reading.
var
ByRef
any type
The variable in which to place the data read.
count
ByVal
int16
The number of bytes to read.
Discussion
This routine reads one or more bytes from Program Memory (where the user program is stored) and
places them in RAM beginning at the location of the specified variable.  Note that if a number of bytes is
specified that is larger than the given variable, adjacent memory will be overwritten, possibly with
detrimental results.
See Also
Previous page Top Next page