title: "PrintString" description: TRSE built-in method (from IDE help)
PrintString
Systems: C64, MEGA65, PLUS4, C128, VIC20, PET, X16
Parameters: s,b,b
Prints a zero-terminated string [ parameter 1 ] shifted with [ parameter 2] bytes with maximum length given in parameter 3. Example:
var
text: string = ("THIS IS A STRING");
begin
// Move to x,y = 5,5 at bank 0
moveto(5,5,hi(#screen_char_loc));
printstring(#text,1,3); // prints "HIS"
end.