1 03/11/76 edit append, edit app
2
3 Function: The append request combines two or more files specified by
4 the user. Files are concatenated in the order specified without any
5 regard for their current line numbers. The resultant file becomes the
6 current file and is resequenced with line numbers beginning at 100 and
7 incremented by 10 to derive subsequent numbers. For BASIC programs if
8 the system name is basic or dbasic, internal references to changed
9 line numbers are also changed. This means that lines in one file
10 should not refer to line numbers in another file.
11
12
13 Syntax: edit append file1 file2 file3 ... fileN
14
15
16 where each filei is a file name; at least two files must be specified.
17
18
19 Example:
20
21 ! new newfile.basic
22 ready 1101
23
24
25 ! 10 read x
26 ! 20 if x=0 goto 10
27 ! 30 print x
28 ! save
29 ready 1101
30
31
32 ! new subr.basic
33 ready 1101
34
35
36 ! 10 read y
37 ! 20 if y=0 goto 10
38 ! 30 print y
39 ! 40 end
40 ! save
41 ready 1102
42
43
44 ! edit append newfile.basic subr.basic
45 ready 1102
46
47
48 ! lisn
49 100 read x
50 110 if x=0 goto 100
51 120 print x
52 130 read y
53 140 if y=0 goto 130
54 150 print y
55 160 end
56 ready 1102