DotBASIC Plus Command Summary |
||
Do-Loop |
||
Do |
.do |
Start Do-Loop |
Loop Until |
.un (boolean) |
Loop Until = True |
Loop While |
.wh (boolean) |
Loop While = True |
Disk Access |
||
BLOAD |
.bl,f$,d,loc |
|
BLOAD w/0 |
.bl0,f$,d,loc |
|
BSAVE |
.bs,f$,d,begin,end(+1) |
|
Disk Command |
.disk,com$,d |
|
Get Directory |
.dir,"$:*",d,loc,#filenames |
|
Menu |
||
Auto Menu w/out Shadow |
.menub,x,y,u,h,hk$,it$ |
|
Auto Menu w/Shadow |
.menua,x,y,u,h,hk$,it$ |
|
Multi-Column Menu |
.mcmenu,nc,x,w,y,h,uc,hc,hk$ |
|
Multi-Select Menu |
.msmenu,x,y,w,h,b,i,u,hi,s,w,l,t$,b$ |
|
Normal Menu |
.menu,x,y,w,i,u,h,hk$ |
|
Print Multi-Selection |
.psel,x,y,index |
|
Scroll Number Info |
.scnume,cur,tot,sel |
|
Scrolling Menu |
.scmenu,x,y,w,h,b,i,u,hi,lc,t$,b$ |
|
Select Index |
.sel,index |
|
Screen Effects |
||
Are You Sure? |
.ru,u,h,rev,yncolor,ynrev,string |
|
Box -- Fancy |
.fancy,x1,x2,y1,y2,s1,s2,c1,c2 |
|
Box – Regular |
.box,x,y,w,h,sc,co |
|
Color Background |
.bg,co |
|
Color Border |
.br,co |
|
Color Text |
.tx,co |
|
Event |
.event ,keystring |
|
Event Define Roll Text |
.drtext,#,"literal string" |
|
Event Def Roll Text Edstar |
.edrtext,loc |
|
Event Print Roll Text |
.prtext,index |
|
Event Region Affect |
.areg,region#,sc,co |
|
Event Region Define |
.dreg,region#,x,y,w,h |
|
Event Rollover |
.rolovr |
|
Event Set Rollover |
.setrol,region,u,h |
|
Print At |
.p@,x,y,string |
|
Print Center |
.pc,y,string |
|
Screen FTS Display |
.fts,page |
|
Screen Restore |
.restr,page |
|
Screen Stash |
.stash,page |
|
Swap Characters |
.chrswp,seek,replace,co |
|
Swap Colors |
.colswp,seek,replace |
|
Text Box Center Word Wrap |
.textc,y,w,string |
|
Text Box w/Word Wrap |
.text,x,y,w,string |
|
Text Cut |
.cut,x,y,w,h,loc |
|
Text Paste |
.paste,x,y,w,h,loc |
|
Yes/No |
.yn,x,y,u,h,rev |
|
Mouse |
||
Ask Mouse |
.ma |
|
Cage Mouse |
.cagem.x,y,w,h |
|
IRQ Restore |
.qr |
|
IRQ Suspend |
.qs |
|
Key/Mouse Wait |
.keymw |
|
Let Go |
.lg |
|
Put Mouse |
.putm,x,y |
|
Memory Management |
||
Copy Character |
.cpychr,start,end+1,dest |
|
Copy I/O Intact |
.cpyio,start,end+1,dest |
|
Copy Memory |
.cpymem,start,end+1,dest |
|
Swap Memory |
.swpmem,start,end+1,dest |
|
Virtual Array/Strings |
||
Instring Put |
.pinstr,chr$,target$,position |
|
Instring Search |
.instr,search$,target$,beginnum |
|
Rack Memory |
.rk,loc |
|
Rack Print Indexed Filename |
.prfile,x,y,index |
|
Rack Print Indexed Item |
.pri,x,y,index |
|
Rack Retrieve Index Item |
.ri,index |
|
Re-Rack |
.rrk,len |
|
Sort Directory |
.dirsrt |
|
Sort Racked Data Alpha |
.alph,from |
|
String Memory Put |
.savstr,string |
|
String Memory Set |
.setstr,loc |
|
Screen Objects |
||
Cut |
.cutsob,x,y,w,h |
|
Delete |
.delsob |
|
Location Link |
.lnksob,loc |
|
Location Set |
.setsob,loc |
|
Paste |
.pstsob,index,x,y |
|
Bitmap Graphics |
||
Graf Access Commands |
.graf |
|
Graf Clip |
.gclip,x1,x2,y1,y2 |
|
Graf Fill |
.gfill,x,y,pen |
|
Graf Offset |
.gr00,xoff,yoff |
|
Graf Pen Color |
.gpen,p0,p1,p2,p3 |
|
Graf Pixel Line |
.gline,x,y,pen |
|
Graf Pixel Plot |
.gplot,x,y,pen |
|
Graf Screen Mode |
.gmode,mode |
|
Screen Print |
.scprnt,x,y,string |
|
Screen Print Setup |
.script,160,128,font |
|
SHP Display |
.bmpscr,1/0 on/off |
|
SHP Load |
.bmp,"file.shp",d,160,128,156 |
|
Input/Output |
||
Input |
.inp,x,y,txcol,csrcol,len,def$ |
|
Input Enhanced |
.inplus,x,y,t,c,len,st,out$,def$ |
|
Message Line |
.msg,co,string |
|
SID |
||
SID Player On |
.sid,loc |
|
SID Player Off |
.sidoff |
|
Sprite |
||
Font to Sprite |
.f2spr,sceencode,sprimage# |
|
Sprite Effects |
.sprfx,s#,xex,yex,pri,mc |
|
Sprite Move |
.sprmv,s#,x,y,mode |
|
Sprite On |
.sprite,s#,0/1,i#,co,x,y |
|
Miscellaneous |
||
Pause |
.pause,jiffies |
|
Random Index |
.rdmi,begin (0-127),plus (0-128) |
|
Wait for Keypress |
.wkey |
|