aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 

4.28 - [gload] Built-In

Mnemonic aid: gload for Global LOAD variable from file

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

[gload variableName fileName]

[gload test forvariable.txt]
[v test]

This content came from a text file.
This content came from a text file.

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  [gload]  does nothing:

mod = macro(noshell=True)

Other built-ins used here:  [v] 

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