home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Action 2
/
CD_Action_2.iso
/
train
/
ogrodnik.trn
< prev
next >
Wrap
Text File
|
1995-11-07
|
2KB
|
74 lines
100 VAR ' ' = 3
101 VAR ' ' = 1
102 VAR ' ' = 2
103 VAR 'x' = 3
104 VAR 'y' = 4
105 VAR 'z' = 5
106 VAR 'Wagon 6' = 60
107 VAR 'Wagon 7' = 40
108 VAR 'Wagon 8' = 8
109 VAR 'Wagon 9' = 9
110 VAR 'Wagon 10' = 10
111 VAR 'Wagon 11' = 11
112 VAR 'Wagon 12' = 12
113 VAR 'Wagon 13' = 13
114 VAR 'Wagon 14' = 14
115 VAR 'Wagon 15' = 15
116 VAR 'Wagon 16' = 16
117 VAR 'Wagon 17' = 17
118 VAR 'Wagon 18' = 18
119 VAR 'Wagon 19' = 19
120 VAR 'Wagon 20' = 20
121 VAR 'Wagon 21' = 21
122 VAR 'Wagon 22' = 22
123 VAR 'Wagon 23' = 23
124 VAR 'Wagon 24' = 24
125 VAR 'Wagon 25' = 25
126 VAR 'Wagon 26' = 26
127 VAR 'Wagon 27' = 27
128 VAR 'Wagon 28' = 28
129 VAR 'Wagon 29' = 29
130 VAR 'Wagon 30' = 30
131 VAR 'Wagon 31' = 31
132 VAR 'Wagon 32' = 32
133 VAR 'Wagon 33' = 33
134 VAR 'Wagon 34' = 34
135 VAR 'Wagon 35' = 35
136 VAR 'Wagon 36' = 36
137 VAR 'Wagon 37' = 37
138 VAR 'Wagon 38' = 38
139 VAR 'Wagon 39' = 39
140 VAR 'Wagon 40' = 40
141 VAR 'Wagon 41' = 41
142 VAR 'Wagon 42' = 42
143 VAR 'Wagon 43' = 43
144 VAR 'Wagon 44' = 44
145 VAR 'Wagon 45' = 45
146 VAR 'Wagon 46' = 46
147 VAR 'Wagon 47' = 47
148 VAR 'Wagon 48' = 48
149 VAR 'Wagon 49' = 49
150 VAR 'Wagon 50' = 50
200 LET 'x':=' '{464,80}
300 IF ((' '+(' '*'x'){448,80}){432,112}{432,144}>'Wagon 6'){448,144}{448,160}{224,160} THEN 2000{218}
400 LET 'y':=('x'+' '{464,64}){464,96}{464,112}
500 IF ((' '{400,64}+(('y'*' '){448,80}+'x'){432,96}){400,144}>'Wagon 6'){432,144}{432,160}{224,160} THEN 1800{196}
600 LET 'z':=(('Wagon 7'-'y'){416,112}-'x'){400,96}{400,128}
700 IF ('z'{432,128}{432,112}<'y'){448,112}{448,96}{224,96} THEN 900{166}
800 LET 'z':=('y'+' '){448,112}{448,128}
900 IF ((('x'+'y'){464,112}+'z'){432,128}{432,144}>'Wagon 6'){448,144}{448,160}{224,160} THEN 1600{171}
1000 IF (('z'*'z'{464,144}){448,128}<>(('x'*'x'{480,96}){448,80}+('y'{464,96}*'y'){448,112}){416,96}){368,112}{224,112} THEN 1400{151}
1100 PRINT "x="
1101 PRINT 'x'
1200 PRINT "y="
1201 PRINT 'y'
1300 PRINT "z="
1301 PRINT 'z'
1400 LET 'z':=('z'+' '){432,128}
1500 GOTO 900{63}
1600 LET 'y':=('y'+' '){448,112}
1700 GOTO 500{40}
1800 LET 'x':=(' '{448,64}{448,96}+'x'){464,96}
1900 GOTO 300{21}
2000 STOP