:assign and scopes
Richard Boulton <[email protected]> Mon, 05 Jan 2004 16:42:21 +0000
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click