Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
BBC BASIC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Sample code== {{sxhl|2=bbcbasic|1= REM Acorn Archimedes version ON ERROR : ON ERROR OFF : PRINT REPORT$; " at line ";ERL : END MODE MODE : REM clears the screen PROC_triangle(700,700,500,200,500,900,"F") END DEF PROC_triangle(x1%,y1%,x2%,y2%,x3%,y3%,fill$) LOCAL triangle_fill_plot_code% triangle_fill_plot_code% = &55 MOVE x1%,y1% DRAW x2%,y2% IF fill$="F" THEN PLOT triangle_fill_plot_code%,x3%,y3% ELSE DRAW x3%,y3% : DRAW x1%,y1% ENDIF ENDPROC : REM of PROC_triangle() }}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)