aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 

4.30 - [gsave] Built-In

Mnemonic aid: gsave for Global SAVE local variable to file

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

[gsave variableName fileName]

[global test some content]
[gsave 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  [gsave]  does nothing:

mod = macro(noshell=True)

Other built-ins used here:  [global] 

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