1 03/11/76 compile, com
2
3 Function: The compile command compiles the current program into object
4 code by the BASIC or FORTRAN compiler. The resultant object program
5 becomes the current file and can be executed immediately using the run
6 command or can be saved for subsequent execution. The current file
7 must be saved before compilation.
8
9
10 The current name is changed, as follows, with respect to the source
11 program name. If the source program name has a language suffix e.g.
12 prog.basic, the current name after compilation becomes the source name
13 with the suffix removed e.g. prog. If no suffix was used for the
14 source program e.g. prog, the current name becomes "object." If
15 errors are detected during compilation, error messages are issued by
16 the compiler and the source program is retained as the current file.
17
18
19 Syntax: compile system_name
20
21
22 where system_name is basic, dbasic, or fortran.
23
24
25 If no argument is supplied, the current system is the value assumed.
26 For information on determining the current system, see "Current System"
27 in Section III of the M^H__^Hu_^Hl_^Ht_^Hi_^Hc_^Hs D^H_F^H_A^H_S^H_T^H_ S^H__^Hu_^Hb_^Hs_^Hy_^Hs_^Ht_^He_^Hm U^H__^Hs_^He_^Hr_^Hs'^H_ G^H__^Hu_^Hi_^Hd_^He Order No. AT59.
28
29
30 Example:
31
32 ! rename test.basic
33 ready 1100
34
35
36 ! compile
37 compile: current segment must be saved
38 ready 1100
39
40
41 ! save
42 ready 1100
43
44
45 ! compile
46 ready 1100
47
48
49 ! tty
50 name = test, system = basic, user = Smith, line = tty112