PreviousasLowercase Up

ByteArray Method asParameter

Returns the value of this string as a null-terminated string.


Check that the buffer lnkString is long enough to hold the value of this instance before sending the "asParameter" message. If the buffer is not long enough, "asParameter" overwrites other memory, causing either data corruption or a protection violation.

You can check the size of this instance by sending it the message "sizeinbytes" - but allow one extra byte for the null byte (x"00) appended to the data by this method.

See method sizeinbytes.

Returning Parameter
lnkstring PIC X