Inhaltsverzeichnis

BC10InitBuf

B = Buffer

C = Calculation functions

The BC10InitBuf function executes the initialization of a ring buffer.
The function requires that you pass the name of the array that serves as a ring buffer and returns a value to the variable ErrCode in case there is an error.

IMPLEMENTATION

BC10InitBuf (Buffer, ErrCode L)

Parameters:

IN/OUTVARIABLE TYPEEXAMPLE NAMEDIM
IN ARRSYS Buffer B/W/L/S Array containing the Buffer
OUT GLOBAL ErrCode F Error Flag (see below)

Error

ErrCode variable
0 = No error
1 = Array dimension less than 3 elements

Example

INIZ:                 
     BC10InitBuf (Buffer, ErrCode)
MAIN:                 
	WAIT 1
	JUMP MAIN
END

Note