Possible Parser Issue
Gary Highberger <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <CAAWCt5zZWAQGJ=TKpeKbTRZEtmeW--taxv8ZFuw3rES6wzyH_A@mail.gmail.com> |
Hello, In lines 10-14 below I think the parser is taking the decimal point to be a period. If I add a period after the decimal point I get a compile error. No biggie. Just letting everyone know. 1 Object subclass: PIDCntlr [ 2 | pgain igain dgain acc oldErr myName| 3 PIDCntlr class >> new: name [ 4 | r | 5 r := super new . 6 r init: name . 7 ^r. 8 ] 9 init: name [ 10 pgain := 0. 11 igain := 0. 12 dgain :=0. 13 acc := 0. 14 oldErr := 0. 15 myName := name . 16 ] 17 wru [ 18 ^myName 19 ] 20 ]