2009/5/13 Romeo <[email protected]>: > is there a proper way to use includes? > %include "/path/to/script.liq"
This is the proper way. But the order matters: what is defined in the including script before the %include is not visible from the included script. In other words, an %include is like in C, it's rigorously equivalent to copy-pasting the content of a file in place of the %include directive. Here's an example: dbae...@snow tmp $ cat a.liq x = 1 dbae...@snow tmp $ cat b.liq %include "a.liq" print(x) dbae...@snow tmp $ liquidsoap b.liq 1 No output defined, nothing to do. Hope that helps, -- David ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
