ZX24 Persistant Variables
Posted: 15 July 2006, 13:52 PM
I am trying to use persistant variables for the first time and defined 3 variables as specified in the manual, however the zbasic compiler barfs on the definitions. Whats wrong?
Code:
Compiler:
-Mike
Code:
Code: Select all
Option Explicit
option signon off
option targetcpu zx24
option pin26 zxOutputHigh 'PhonePwr
option pin25 zxOutputLow 'StatLed
option pin9 zxInputPullup 'GSMRxPin
option pin5 zxInputPullup 'GPSRxPin
'option pin8 zxOutputHigh 'DTR
'NVRAM VARS
dim RunLevel as PersistantInteger
dim AlarmLevel as PersistantInteger
dim CallHomeInt as PersistantInteger
Code: Select all
STU v2_7_9 ZX.bas:12: Error: "PersistantInteger" is not a known type, structure or enumeration
STU v2_7_9 ZX.bas:13: Error: "PersistantInteger" is not a known type, structure or enumeration
STU v2_7_9 ZX.bas:14: Error: "PersistantInteger" is not a known type, structure or enumeration
3 errors.
>Exit code: 1