explore.textmode.art

G64 output: print asc("abc") 65 ready. print len("abc") 3 ready. print val("- 1 2 3 . 2 3 4 e + 23") -1.23234e+25 ready. print chr$(147) {clear} ready. print str$(123.456) 123.456 ready.

Post on Mastodon

Posted by nGFX@oldbytes.space (opens in a new tab)

Caption

Another five #C64 #BASIC functions made it into #Genesis64 .They are: ASC, LEN, VAL, CHR$, and STR$.I also fixed - or rather removed - a good deal of type checks, as these are run while tokenizing, so there's no need to run them at runtime as well.CHR$ returns a #PETSCII character, it just gets converted to BasTex for the output.I included the usual boring screenshot as well.

Tags