-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
I didn't realise that KEY was a reserved KEYword (pun intended) so I had a KEY$=INKEY$ in the code which resulted in a hard crash.
PC-BASIC 15.08.3
(C) Copyright 2013--2015 Rob Hagemans.
60300 Bytes free
Ok
KEY$="Me so stupid..."
2016-01-08 12:22:37.473 pcbasic[29835:1095836] 12:22:37.473 WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
ERROR: Unhandled exception
Traceback (most recent call last):
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.__main__", line 169, in start_basic
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.run", line 46, in start
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.run", line 60, in run_once
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.statements", line 170, in parse_statement
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.statements", line 2255, in exec_key
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.statements", line 2260, in exec_key_define
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.expressions", line 111, in parse_expression
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.expressions", line 119, in parse_operators
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.expressions", line 920, in value_operator
File "/Users/rob/pc-basic/packaging/osx/build/installer/out00-PYZ.pyz/pcbasic.vartypes", line 306, in equals
TypeError: 'NoneType' object is not subscriptable
'```
Metadata
Metadata
Assignees
Labels
No labels