156 of 307
ZBasic System Library 146 ZX Microcontroller Family MakeString Type Function returning String Invocation MakeString(address, length) Parameter Method Type Description address ByVal int16 The address of bytes with which to populate the string. length ByVal int8/16 The number of characters to place in the string. Discussion This function populates a string with an arbitrary byte stream. It is most useful for composing or modifying strings but may have other uses as well. Example Dim ba(1 to 10) as Byte Dim i as Integer Dim s as String For i = LBound(ba) to UBound(ba) ba(i) = &H60 + CByte(i) Next i s = MakeString(MemAddress(ba), SizeOf(ba)) Compatibility This function is not available in BasicX compatibility mode.