Just added to BASIC Anywhere Machine:
- SetLocalStorageItem(key, value)
- GetLocalStorageItem(key)
Sample BASIC program:
SetLocalStorageItem ("salutation", "howdy, buddy")Print GetLocalStorageItem ("salutation")SetLocalStorageItem (1, 5)Print GetLocalStorageItem (1)
The parameters are type-agnostic. Although atypical for a BASIC programming language, BASIC Anywhere Machine's BASIC implementation (a customised version of wwwBASIC) is running on javascript.
No comments:
Post a Comment