I just discovered, in V7.6, that we can call a script from one procedure (ProcA) that actually exists in a separate procedure (ProcB). I was trying this instead of using libraries.
A normal / wizard built call is normally along the lines of (in ProcA):
(%ScriptEval(JScript.NET,,%Procedure.Name,%MapName,"ProcB.Client.Can_Start_AML", )
Calling a remote (ProcB) function from ProcA appears to work well
(%ScriptEval(JScript.NET,,"ProcB","ProcB","ProcB.Client.Can_Start_AML", )
(I have not tried this in V9 to see if it would work there -- been busy trying to get this other application out.)
I see this works in V7, but is it "wise" to try this approach, or is it wiser to make the Can_Start_AML into a library used in both procedures?