I want to create a program that will permanatley store variables, no matter if the program was closed or not. How?
Use the "Database" library.
Add the library by clicking the \ $gears \ :: reporter other
button at the top of the editor, click "Libraries...", search for "Database" and click "Import". Easy as that!
EDIT: To use the blocks, go to the Variables category and scroll down until you can't. You'll see a few gray blocks that I think will help your task.
You can use the "Database" library to store variables into a user's browser if you want to save data for individual users. You may also check a variable as " transient" after right clicking it.
Thank you
No problem!
Looks like you're having a fun time with the new snapblocks::operators
!
when I receive [your message V] reply [Yeah, I am having a pretty...] :: looks /* FUN */ reply [time!] :: looks wait (1) secs reply (join [How did you guess] (join input list: (reshape (split [?] by [[letter] v]) to (JavaScript function \( $verticalEllipsis$addInput \) \{[`return Infinity`]\}) $delInput$verticalEllipsis$addInput))) :: looks
If you make a variable transient, its value will not be stored when the project is saved.
Save the project first, then check "transient". The variable is saved from the save before checking, but the value is not changed.
when i receive [any message V] ((username::variables))@delInput
if <(username::variables) = [rixthetyrunt]> then {
answer post [Hm, I just assumed.] and wait for response::sensing
}
if (response::sensing) then {
} /* too bored, finish later*/
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.