dmsc Posted April 30, 2020 Share Posted April 30, 2020 Hi! 4 hours ago, Savetz said: Has anyone come up with a definitive list of abbreviations for TBXL-specific commands? I spent some time testing today. I think this is all of them. From my parser: https://github.com/dmsc/tbxl-parser/blob/master/peg/statements.txt Second column is full statement, third column is the minimal abbreviation, the list is sorted by token number. Here, the same list sorted alphabetically: # # %GET %G. %PUT %. *B *B *F *. *L *L -- -- -MOVE -. ? ? BGET BG. BLOAD BL. BPUT BP. BRUN BR. BYE B. CIRCLE CI. CLOAD CLOA. CLOSE CL. CLR CLR CLS CLS COLOR C. COM COM CONT CON. CSAVE CS. DATA D. DEG DE. DEL DEL DELETE DEL. DIM DI. DIR DIR DO DO DOS DO. DPOKE DP. DRAWTO DR. DSOUND DS. DUMP DU. ELSE EL. END END ENDIF END. ENDPROC ENDP. ENTER E. EXEC EXE. EXIT EX. FCOLOR FC. FILLTO FI. FOR F. GET GE. GO TO G. GO# GO# GOSUB GOS. GOTO G. GRAPHICS GR. IF IF INPUT I. LET LE. LIST L. LOAD LO. LOCATE LOC. LOCK LOCK LOOP LOO. LPRINT LP. MOVE M. NEW NEW NEXT N. NOTE NO. ON ON OPEN O. PAINT PAI. PAUSE PA. PLOT PL. POINT P. POKE POK. POP POP POSITION POS. PRINT PR. PROC PRO. PUT PU. RAD RA. READ REA. REM . RENAME REN. RENUM RENU. REPEAT REP. RESTORE RES. RETURN RET. RUN RU. SAVE S. SETCOLOR SE. SOUND SO. STATUS ST. STOP STO. TEXT TE. TIME$= TI. TRACE TRAC. TRAP T. UNLOCK UNL. UNTIL U. WEND WE. WHILE W. XIO X. Missing from your list were at least "*F", "#", "TIME$=". Have Fun! 2 1 Quote Link to comment Share on other sites More sharing options...
luckybuck Posted May 1, 2020 Share Posted May 1, 2020 Thanks dmsc, yes, TIME$ is very important. Will add it. Thank you! ? Did count 99... OMG... That's a lot... Quote Link to comment Share on other sites More sharing options...
dmsc Posted May 1, 2020 Share Posted May 1, 2020 Hi! 23 minutes ago, luckybuck said: Thanks dmsc, yes, TIME$ is very important. Will add it. Thank you! ? Did count 99... OMG... That's a lot... Indeed, and of those, 45 are unique to TurboBasic XL: # # %GET %G. %PUT %. *B *B *F *. *L *L -- -- -MOVE -. BGET BG. BLOAD BL. BPUT BP. BRUN BR. CIRCLE CI. CLS CLS DEL DEL DELETE DEL. DIR DIR DO DO DPOKE DP. DSOUND DS. DUMP DU. ELSE EL. ENDIF END. ENDPROC ENDP. EXEC EXE. EXIT EX. FCOLOR FC. FILLTO FI. GO# GO# LOCK LOCK LOOP LOO. MOVE M. PAINT PAI. PAUSE PA. PROC PRO. RENAME REN. RENUM RENU. REPEAT REP. TEXT TE. TIME$= TI. TRACE TRAC. UNLOCK UNL. UNTIL U. WEND WE. WHILE W. Have Fun! 1 Quote Link to comment Share on other sites More sharing options...
+MrFish Posted December 18, 2020 Author Share Posted December 18, 2020 Small correction: the Quick Reference section mistakenly stated that the RAND (value) function produced an integer from zero to value. It should be zero to value-1. Turbo-BASIC XL - Expanded Documentation.pdf 4 Quote Link to comment Share on other sites More sharing options...
luckybuck Posted December 18, 2020 Share Posted December 18, 2020 Thank you so much MrFish, yeah, there is much math still to do on A8... 1 1 Quote Link to comment Share on other sites More sharing options...
+MrFish Posted December 20, 2020 Author Share Posted December 20, 2020 (edited) OK, this time I found an error in the Fetzer language definitions portion (the Quick Reference portion is from a Polish site, not Fetzer). He mistakenly has the DSOUND command described as such: DSOUND FORMAT: DSOUND n,f,d,v DSOUND This command pairs channels for increased frequency range. n=channels (0-3). f=frequency range (0-255). d=distortion (0-15) 10 and 14 produce pure tones. v=volume (0-15). 0 is silent 15 is the loudest. DSOUND turns all sound OFF. It's been corrected (and amended) thus: This command pairs channels for increased frequency range and resolution. n=channels (0 or 1). f=frequency range (0-65535). d=distortion (0-15) 10 and 14 produce pure tones. v=volume (0-15). 0 is silent 15 is the loudest. DSOUND turns all sound OFF. Turbo-BASIC XL - Expanded Documentation.pdf Edited December 20, 2020 by MrFish 4 1 Quote Link to comment Share on other sites More sharing options...
luckybuck Posted December 20, 2020 Share Posted December 20, 2020 Thank you so much MrFish! Greatly appreaciated you help. ? 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.