Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Tue Nov 21, 2017 3:57 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Aug 24, 2007 4:22 pm 
Offline

Joined: Thu Aug 09, 2007 4:44 pm
Posts: 67
I discovered the PersistentVariables object and created a list of variables to save. CMaybe I'm blind, but I can't seem to find how to actually get it to save or restore the variables at the click of a button. What code do I insert into another object (like a button) to adress the PersistentVariables object?



Thanks,



Aaron


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 27, 2007 7:23 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
To save you can use the function Save. To restore you can use the function Restore or set the autorestore property to true for restoration at start up.



Example Code:



Code:
func click()

    persistentvariables_1.Save()

endfunc




Code:
func click()

    persistentvariables_1.Restore()

endfunc

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group