Writing Strings to DAT
coryco2
Posts: 107
Is is possible to write more than one byte of data at a time in a DAT data block? I know I can do this:
to write "T" to the data item myStr, so is there any simple way to write more than a single byte to the data item at a time, such as
byte[@myStr]:="Test String"
to store "Test String" in the myStr data item?
PUB MemTest byte[@myStr]:="T" DAT myStr byte " ", 0
to write "T" to the data item myStr, so is there any simple way to write more than a single byte to the data item at a time, such as
byte[@myStr]:="Test String"
to store "Test String" in the myStr data item?
Comments
bytemove( @myStr, string("Test"), 4)