1This is file nor.men--Draw An Nor Gate
2
3--------------------
4 1. Draw A Nor Gate
5 2. NOR X1 Y1 X2 Y2
6 3.
7 4. X Coordinate for the Middle Back Point:
8 4. @CE 1 0 33 50 ?
9 5. Y Coordinate for the Middle Back Point:
10 5. @CE 2 0 33 50 ?
11 6. X Coordinate for the Middle Front Point:
12 6. @CE 3 0 33 50 ?
13 7. Y Coordinate for the Middle Front Point:
14 7. @CE 4 0 33 50 ?
15 8.
16 9. Line Type:
17 9. @CE 5 0 42 50 * gui-line
1810. Line Color:
1910. @CE 6 0 42 50 * gui-colo
2011. Line Thickness:
2111. @CE 7 0 42 50 * gui-thic
2212.
2313. Coordinate System to Use:
2414. @CE 8 1 1 50 absolute 0 to 100 screen units
2515. @CE 8 2 1 50 absolute data units of last plot
2616. @CE 8 3 1 50 relative (to first point) 0 to 100 screen units
2717. @CE 8 4 1 50 relative (to first point) data units of last plot
2818.
2919.
3020. Draw the Nor Gate?:
31--------------------
32GR FE
33LINE _5
34LINE COLOR _6
35LINE THICKNESS _7
36LET STRING ZZZZSTR = NOR
37@IF 8 1 LET STRING ZZZZSTR = NOR
38@IF 8 2 LET STRING ZZZZSTR = NOR DATA
39@IF 8 3 LET STRING ZZZZSTR = NOR RELATIVE
40@IF 8 4 LET STRING ZZZZSTR = NOR DATA RELATIVE
41^ZZZZSTR  _1 _2 _3 _4
42--------------------
43WEB HELP NOR
44--------------------
45