|
|
1.1 root 1: #print
2: Once you start using braces, there are a number of
3: mistakes that you can make. For example, you can
4: leave a brace out, or you can get them out of order
5: (Like } xxx { ), or you can get them in illegal places.
6: For all of these, neqn tells you "syntax error",
7: then tries to say what file and line numbers are
8: involved.
9: The line numbers are often not exact, but
10: they are very close. When you get such a message,
11: print a line or two before and after the line
12: numbers named in the syntax error message.
13:
14: The file "Example" contains a syntax error.
15: What line does neqn believe it begins on?
16: Type "answer N", where N is the line number.
17: #once #create Example
18: .LP
19: .EQ 3
20: e sup -x sup 2 + e sup -x sub i sup 2 + e sup{-x sub i}sup 2
21: .EN
22: .EQ 4
23: e sup{-{x sub i sup 2 + y sub i sup 2}over 2}
24: = e sup{- x over y}
25: .EN
26: .EQ 5
27: a over b = c over d = A over B times C over D
28: .EN
29: .EQ 8
30: B sub a sub 2 +
31: B sub a sup 2 +B{ sub a}sup 2 + (B sub a ) sup 2 + (B sup 2 ) sub a
32: +B sup 2 sup x
33: .EN
34: #copyin
35: #user
36: #uncopyin
37: #match 13
38: #log
39: #next
40: 5.1f 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.