Talk:OSWRCH

From BeebWiki

Jump to: navigation, search

Formatting query

Does anybody know the WikiMedia formatting to get the list of BASIC commands in columns, like:

COLOUR n        sends VDU 17,n 
GCOL a,n        sends VDU 18,a,n 
COLOUR l,p      sends VDU 19,l,p,0,0,0 
COLOUR l,r,g,b  sends VDU 19,l,16,r,g,b if l>=0 
COLOUR l,r,g,b  sends VDU 19,l,24,r,g,b if l<0 
MODE n          sends VDU 22,n 

...but not as a code insert.

JGH


Still using a list but looking something like this? Jon Ripley 19:00, 19 December 2008 (UTC)
  • FILL BY x,ysends PLOT 129,x,y
  • LINE x1,y1,x2,y2sends MOVE x1,y1:DRAW x2,y2
  • RECTANGLE x,y,wsends MOVE x,y:PLOT 13,x+w,y:PLOT 13,x+w,y+w:PLOT x,y+w:PLOT 13,x,y
  • RECTANGLE x,y,w,hsends MOVE x,y:PLOT 13,x+w,y:PLOT 13,x+w,y+h:PLOT x,y+h:PLOT 13,x,y
  • RECTANGLE FILL x,y,wsends MOVE x,y:PLOT 101,x+w,y+w
  • RECTANGLE FILL x,y,w,hsends MOVE x,y:PLOT 101,x+w,y+h