| 1 |
# Purpose: things wrong with loops |
| 2 |
|
| 3 |
data_model |
| 4 |
|
| 5 |
_d1 char |
| 6 |
_d2 'model file' |
| 7 |
_d3 "with various types of field" |
| 8 |
_d4 # Comment |
| 9 |
; all conforming to valid STAR syntax |
| 10 |
rules |
| 11 |
; |
| 12 |
|
| 13 |
loop_ # This one is OK |
| 14 |
|
| 15 |
_d5 |
| 16 |
_d6 |
| 17 |
_d7 |
| 18 |
_d8 |
| 19 |
|
| 20 |
A B C D |
| 21 |
E F G H # Comment |
| 22 |
I J K L |
| 23 |
|
| 24 |
loop_ _a1 _a2 _a3 0 1 2 3 4 5 6 7 8 9 # Too many values |
| 25 |
|
| 26 |
# No loop header |
| 27 |
_b5 _b6 _b7 _b8 |
| 28 |
A B C D E F G H I J K L |
| 29 |
|
| 30 |
# Too many loop keywords |
| 31 |
loop_ loop_ _c5 _c6 _c7 _c8 |
| 32 |
A B C D E F G H I J K L |
| 33 |
|
| 34 |
# Perhaps a formatting mistake - the effect is of a single degenerate |
| 35 |
# loop, followed by a single data item (_d10 5) and hanging values |
| 36 |
loop_ _d9 0 1 2 3 4 |
| 37 |
_d10 5 6 7 8 9 |
| 38 |
|
| 39 |
loop_ A B C D # Missing datanames in loop header |
| 40 |
|
| 41 |
loop_ _d11 _d12 _d13 _d14 # No values |