[store] is a simple context that stores variables permanently
numero = 1010Parameter | Description |
---|---|
show | (optional) "T" or "F". Default behavior is to hide the value when assigning to a variable. If we want the value to be shown at the same time it is assigned to a variable, we may set Show=T (There is no reason to ever use show=f, as this is default behavior.)Example:[store show=T]var1=Joe[/store] |
multi | (optional) "T" or "F". Allows to assign more than one text variable in a single context.Example:[store multi=T]var1=Joe&var2=Fred[/store] simultaneously assigns the two variables. (There is no need to use multi=f for single variables.) |
path | (optional) path of the database, if a user wants to use another database than the default one.Example:[store path=../../specific.db]var1=Joe[/store]Look for "specific.db" two level up |
parse | (optional) "T" or "F". Interpret o no the tags that would be in the data to be stored.Example:[store parse=T]var1=Today is [date][/store]would give var1 - Today is 01/16/2015var2 - FredExample: [store parse=F]var1=Today is [date][/store]would give var1 - Today is [date]var2 - FredThe defaut behavior being parse=F |
[recall var1] and get the tag replaced by the variable.[recall var1&path=../../specific.db] or [recall path=../../specific.db&var1]The data is usable anytime, anywhere: you can store data with one browser and someone else can recall it with another browser.
You can also use [convertwords] [/convertwords]
[convertwords path=../../specific.db]var2 says var1[/convertwords]Fred says Today is 04/17/2015 The process would use [store] and [recall] the name of the variable the variable itself
Parameter | Description |
---|---|
show | (optional) "T" or "F". Default behavior is to hide the value when assigning to a variable. If we want the value to be shown at the same time it is assigned to a variable, we may set Show=T (There is no reason to ever use show=f, as this is default behavior.) Example: [store show=T]var1=Joe[/store] |
multi | (optional) "T" or "F". Allows to assign more than one text variable in a single context. Example: [store multi=T]var1=Joe&var2=Fred[/store] simultaneously assigns the two variables. (There is no need to use multi=f for single variables.) |
path | (optional) path of the database, if a user wants to use another database than the default one. Example: [store path=../../specific.db]var1=Joe[/store] Look for "specific.db" two level up |
parse | (optional) "T" or "F". Interpret o no the tags that would be in the data to be stored. Example: [store parse=T]var1=Today is [date][/store] would give
Example: [store parse=F]var1=Today is [date][/store] would give
The defaut behavior being parse=F |
[recall var1] and get the tag replaced by the variable.
[recall var1&path=../../specific.db] or [recall path=../../specific.db&var1]
You can also use [convertwords] [/convertwords]
[convertwords path=../../specific.db]
var2 says var1
[/convertwords]
DOWNLOAD WEBDNA NOW!
Amazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA reference...
WebDNA ModulesA list of the currently available modules...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Tips and TricksA list of user-submitted tips ...
[HideIf Comparison]Hide This HTML[/HideIf]...
[browsername]Displays the browser name...
[DOS]Executes the DOS batch file commands contained in the context and displays the results...
[text]Text variables are fundamental building blocks of the WebDNA language...
[listfiles]When listing files...
[url][url]...