CREATECOOKIE
Create a browser cookie for local storage.
Note: cookies are created and updated on a page load is complete.
Example
REM Using a variable
DIM test$=[]
LET test$["data"]="test"
CREATECOOKIE("kb_test", test$)
DEF cookie$=READCOOKIE("kb_test", "data")
PRINT cookie$
REM Without the brackets
CREATECOOKIE "kb_test", test$
REM Creating a cookie with simple data
CREATECOOKIE "kb_test", "test"