Bug with 'die'
Raphael Crawford-Marks <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
Die fails if you call it with a string.
The Code:
@use Control.
Controller dieTestControl.
Control : dieTestControl {
+ variables:
dieReason (string).
count (int).
+ to init:
count = 0.
dieReason = "Completed 10 iterations!".
+ to iterate:
if count > 10:
die dieReason.
count++.
super iterate.
}
The Error:
Syntax Error: 'die' requires an error message string at line 16 of file "dieTest.tz"
parse error in file "dieTest.tz" at line 16 near "dieReason" at line 16 of file
"dieTest.tz"
--
Raphael Crawford-Marks
http://user-error.net
_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve