Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF (EN)

215 ENDPROC end procedure Purpose This indicates the end of a procedure definition. See the keyword DEF for more information. Examples 1000 DEF PROCdash(param) 1010 REM print dashes lots of times 1020 REM in fact "param" dashes in total 1025 REM 1030 LOCAL counter 1040 FOR counter=1 TO param 1050 PRINT"-"; 1060 NEXT counter 1070 ENDPROC 2010 DEF PROCtriangle(A,B,C,D,E,F) 2020 REM fill a triangle with colour 2050 MOVE A,B 2060 MOVE C,D 2070 PLOT 85,E,F 2100 ENDPROC Description Part of the DEF PROC...ENDPROC structure. Syntax ENDPROC DEF , FN , PROC , LOCAL Associated keywords