[A-A-P-develop] :assign and scopes
Brought to you by:
vimboss
From: Richard B. <ri...@ta...> - 2004-01-05 16:43:30
|
Quick question - should ":assign _top.foo" work in a subrecipe? I have: ====main.aap==== :child tmp.aap :print $foo ======== ====tmp.aap==== :print "foo" | :assign _top.foo ======== aap returns: Aap: Error in recipe "/data/home/richard/stuff/aap_example/main.aap" line 2: Unknown variable: "foo" If tmp.aap contains :print "foo" | :assign tmp _top.foo = $tmp aap returns "foo" as expected. -- Richard |