Pascal-String

Luna uses Pascal-String format as a standard (Variable, Structured element or Constant). A Pascal-String is made up of a leading lenght descriptor Byte and the data. This also allows you to store Binary data in a string.

Pascal-String structure
„hallo“ is saved to memory like this:

Memory →
0x05 0x68 0x61 0x6c 0x6c 0x6f
(length) h a l l o