TEXTARRAY

Syntax

TEXTARRAY bytearray

Explanation

TEXTARRAY converts the contents of a bytearray into a Logo word. The bytearray must only contain readable characters. The conversion stops when Logo detects an empty bite with a zero value.

Example

? MAKE "TEXT BYTEARRAY 20

? ASET :TEXT 0 72

? ASET :TEXT 1 69

? ASET :TEXT 2 76

? ASET :TEXT 3 76

? ASET :TEXT 4 79

? TEXTARRAY :TEXT

Result: HELLO

?