Page 1 of 1

Data.A "No error !"

Posted: Fri May 14, 2021 7:54 pm
by Olli
An other undocumented way to store datas (especially, when we want to store and read hexa big endian byte datas) :

Code: Select all

DataSection

Dta:
Data.A "1122334455667788"

EndDataSection

For *I = ?Dta To ?Dta + 15 Step 2
  Debug PeekS(*I, 2, #PB_Ascii)
Next
Less compact, unicode version :

Code: Select all

DataSection

Dta:
Data.U "1122334455667788"

EndDataSection

For *I = ?Dta To ?Dta + 31 Step 4
  Debug PeekS(*I, 2)
Next