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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
920
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
1 <refentry id="basic09">
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
2 <refnamediv>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
3 <refname>BASIC09</refname>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
4 <refpurpose>Basic language package</refpurpose>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
5 </refnamediv>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
6
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
7 <refsynopsisdiv>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
8 <cmdsynopsis>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 975
diff changeset
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
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
11 </cmdsynopsis>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
12 </refsynopsisdiv>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
13
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
14 <refsect1><title>Description</title>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
15 <para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
16 The Auto-run feature allows BASIC09 to get the name of a file to load and
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
17 run from the same command line used to call BASIC09. The file loaded and run
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
18 can be either a SAVED file (in the data directory), or a PACKED file (in the
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
19 execution directory). The file may contain several procedures; the one
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
20 executed is the one with the same name as the file. Parameters may be
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
21 passed following the pathname specified.
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
22 </para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
23 <para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
24 Once one or more BASIC09 procedures are debugged to the programmer's
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
25 satisfaction, they can be "packed" or converted permanently to
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
26 bytecode form. Comments and names of local variables are discarded during
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
27 packing, so that in BASIC09,
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
28 comments and intelligible variable names are not considered
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
29 a burden to be avoided in the name of efficiency.
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
30 </para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
31 </refsect1>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
32 <refsect1><title>Examples</title>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
33 <screen>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
34 OS9: BASIC09
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
35 READY
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
36 B:bye
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
37
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
38 OS9: BASIC09 printreport("Past Due Accounts")
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
39
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
40 OS9: BASIC09 evaluate(COS(7.8814)/12.075,-22.5,129.055)
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
41 </screen>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
42 </refsect1>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
43 <refsect1><title>See Also</title>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
44 <para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
45 BASIC09 Programming Language Reference Manual
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
46 </para>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
47 </refsect1>
cfed0d7751f3 Added basic09, cc and runb to the user's guide
roug
parents:
diff changeset
48 </refentry>