Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
ZX24 Persistant Variables

 
Post new topic   Reply to topic    Forum Index -> ZX-24
Author Message
mdown



Joined: 03 Feb 2006
Posts: 62
Location: Dallas, Texas

Posted: 15 July 2006, 20:52 PM    Post subject: ZX24 Persistant Variables Reply with quote

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:
Code:
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


Compiler:
Code:
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


-Mike
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 15 July 2006, 20:59 PM    Post subject: Reply with quote

Code:
dim RunLevel as PersistantInteger

It' just a minor problem with spelling - PersistentInteger.
Back to top
mdown



Joined: 03 Feb 2006
Posts: 62
Location: Dallas, Texas

Posted: 15 July 2006, 21:03 PM    Post subject: Reply with quote

Thats what happens when your sleepy.

-Mike
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-24 Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group