aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.27 - [load] Built-In

Mnemonic aid: load for LOAD local variable from file

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


[load variableName fileName]

[load 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  [load]  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