gooofy / aqb

A BASIC Compiler and IDE for Amiga Computers
MIT License
74 stars 7 forks source link

BYTE or UBYTE? #56

Closed blackborn66 closed 1 year ago

blackborn66 commented 1 year ago

PRINT and TRACE show different "text"

DIM BB AS BYTE = -10
DIM UB AS UBYTE = -10

TRACE BB; STR$(BB) REM -10 -10
PRINT BB; STR$(BB) REM 246-10
TRACE UB; STR$(UB) REM 246 246
PRINT UB; STR$(UB) REM 246 246

WHILE inkey$ = ""
    sleep
WEND