On-Rev Function in One File Called by Another

J. Landman Gay jacque at hyperactivesw.com
Tue Sep 8 13:45:00 EDT 2009


Gregory Lypny wrote:
> Hello everyone,
> 
> Wondering if anyone has an example of one iRev file calling a function 
> in another iRev file.  The idea is to build up a little library of 
> portable functions.

If you mean iRev scripts (not stacks) I'd use the new "include" keyword. 
You can attach other iRev files with that, and they function sort of 
like "scripts in use", to coin a term. Sarah has some good examples of 
this at her site, for example, this one:

<http://troz.net/onrev/samples/showscript.irev?showscript=test.irev>

Check out her other scripts too.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list