Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/basic09.refentry @ 2524:50b13fe0ceac
Fixed up comments... still needs better commenting though
author | boisy |
---|---|
date | Fri, 09 Apr 2010 14:56:40 +0000 |
parents | 4dae346c4969 |
children |
rev | line source |
---|---|
920 | 1 <refentry id="basic09"> |
2 <refnamediv> | |
3 <refname>BASIC09</refname> | |
4 <refpurpose>Basic language package</refpurpose> | |
5 </refnamediv> | |
6 | |
7 <refsynopsisdiv> | |
8 <cmdsynopsis> | |
1093 | 9 <command>basic09</command> |
975
c565a4700689
The entitity replstart was replaced with <replaceable>
roug
parents:
920
diff
changeset
|
10 <arg choice="opt"><replaceable>filename</replaceable></arg> |
920 | 11 </cmdsynopsis> |
12 </refsynopsisdiv> | |
13 | |
14 <refsect1><title>Description</title> | |
15 <para> | |
16 The Auto-run feature allows BASIC09 to get the name of a file to load and | |
17 run from the same command line used to call BASIC09. The file loaded and run | |
18 can be either a SAVED file (in the data directory), or a PACKED file (in the | |
19 execution directory). The file may contain several procedures; the one | |
20 executed is the one with the same name as the file. Parameters may be | |
21 passed following the pathname specified. | |
22 </para> | |
23 <para> | |
24 Once one or more BASIC09 procedures are debugged to the programmer's | |
25 satisfaction, they can be "packed" or converted permanently to | |
26 bytecode form. Comments and names of local variables are discarded during | |
27 packing, so that in BASIC09, | |
28 comments and intelligible variable names are not considered | |
29 a burden to be avoided in the name of efficiency. | |
30 </para> | |
31 </refsect1> | |
32 <refsect1><title>Examples</title> | |
33 <screen> | |
34 OS9: BASIC09 | |
35 READY | |
36 B:bye | |
37 | |
38 OS9: BASIC09 printreport("Past Due Accounts") | |
39 | |
40 OS9: BASIC09 evaluate(COS(7.8814)/12.075,-22.5,129.055) | |
41 </screen> | |
42 </refsect1> | |
43 <refsect1><title>See Also</title> | |
44 <para> | |
45 BASIC09 Programming Language Reference Manual | |
46 </para> | |
47 </refsect1> | |
48 </refentry> |