|
Post by ethereal on Sept 17, 2021 13:21:54 GMT
Hello,
I've been getting this error message whenever I compile:
/usr/bin/psycc.3.3.2:4759:in `block in
': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/bin/psycc.3.3.2:4478:in `each'
from /usr/bin/psycc.3.3.2:4478:in `
'
Do any of you know why this happens?
My full code is the following:
options
fullscreen
bitmaps
start1
start2
during
thanks
task waiting
keys space
show bitmap during
readkey @1 108000
clear 1
save RT
block Myblock
message start1 a
message start2
tasklist
waiting 1
end
message thanks
|
|
erynj
New Member
Posts: 9
|
Post by erynj on Sept 17, 2021 18:12:39 GMT
Hi there,
It may be one simple problem. In the line that you write, "readkey @1 108000", I don't think there should be an @ sign.
Just readkey 1 108000.
I believe @ is only used when referring to a table. Hope that helps!
|
|
|
Post by ethereal on Sept 17, 2021 23:36:28 GMT
Thank you so much, it works now!
|
|