spielwiese
Last change
on this file since 05dbb13 was
05dbb13,
checked in by Murray Heymann <heymann.murray@…>, 5 years ago
|
Fix some errors, alphabetise keyword list
|
-
Property mode set to
100644
|
File size:
375 bytes
|
Line | |
---|
1 | LIB "all.lib"; |
---|
2 | |
---|
3 | list l = names(); |
---|
4 | list k = reservedNameList(); |
---|
5 | int i; |
---|
6 | |
---|
7 | // combine lists, leaving out the first entry of l, which is "l" |
---|
8 | list combined = delete(l, 1) + k; |
---|
9 | |
---|
10 | // create file, overwrite if exists |
---|
11 | write(":w keywords.txt", combined[1]); |
---|
12 | |
---|
13 | |
---|
14 | // write remaining entries to file |
---|
15 | for (i = 2; i < size(combined) + 1; i++) { |
---|
16 | write(":a keywords.txt", combined[i]); |
---|
17 | } |
---|
18 | |
---|
19 | exit; |
---|
Note: See
TracBrowser
for help on using the repository browser.