aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.29 - [save] Built-In

Mnemonic aid: save for SAVE local variable to file

See also:  [gload] ,  [global] ,  [graw] ,  [gsave] ,  [gv] ,  [load] ,  [local] ,  [lv] ,  [page] ,  [raw]  and  [v] 


[save variableName fileName]

[local test some content]
[save test fromvariable.txt]

As access to the filesystem can present a significant security risk, there is a means to disable this capability when instantiating the class. If noshell=True then  [save]  does nothing:

mod = macro(noshell=True)

Other built-ins used here:  [local] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7