Closed KimBruce closed 8 years ago
For some reason, I’m not finding lineup methods. I’m using the web compiler at http://web.cecs.pdx.edu/~grace/minigrace/exp/ Here is the program (not using objectdraw):
def x = [1,2] def y = x.at(1) print (y)
The error message is NoSuchMethod on line 2 of testLineup: no method 'at' on lineup [1, 2].
raised at lineup.at at line 2 of testLineup
called from execution environment.
1: def x = [1,2]
2: def y = x.at(1)
3: print (y)
Stack frames:
testLineup module
x = [1, 2] y = ‹undefined›
Similar issues with trying to call other lineup methods.
Must use #pragmaExtendedLineups in order to get anything beyond minimal methods.
For some reason, I’m not finding lineup methods. I’m using the web compiler at http://web.cecs.pdx.edu/~grace/minigrace/exp/ Here is the program (not using objectdraw):
def x = [1,2] def y = x.at(1) print (y)
The error message is NoSuchMethod on line 2 of testLineup: no method 'at' on lineup [1, 2].
raised at lineup.at at line 2 of testLineup
called from execution environment.
1: def x = [1,2]
2: def y = x.at(1)
3: print (y)
Stack frames:
testLineup module
Similar issues with trying to call other lineup methods.