CARDIAC › rust-cardiac › Message codes › RCE0036
RCE0036error
String.
error[RCE0036]: String isn't supported on CARDIAC, which has no text and no heap ({why})
A String in a program for CARDIAC.
A String lives on the heap, and CARDIAC has no heap (and no text). A string literal's bytes (b"...", or a &str literal's as_bytes()) compile, as an array of numbers.
Use numbers, or an array of them.
let word = b"HI";
out(word[0] as i16);
In a terminal: cargo cardiac help RCE0036.