-
Notifications
You must be signed in to change notification settings - Fork 87
file store
Chris Petersen edited this page Oct 16, 2014
·
1 revision
file->store loads store values from a file.
Parameter | Description |
---|---|
name | Store name |
fname | File name to load the store data from |
Example 1: Make a store, add some values, save it to file, overwrite and display some values then reload the saved store values from file
> (define store (make-store "mystore"))
> (store-set! store "Color" "Blue")
> (store->file store "./mystore.scm" "Color")
> (store-ref store "Color")
"Blue"
> (store-set! store "Color" "Red")
> (store-ref store "Color")
"Red"
> (file->store store "./mystore.scm")
> (store-ref store "Color")
"Blue"
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip