On 12/3/2012 7:38 PM, Wjhonson wrote:
> I've not encountered this is my career previously, but now I'm seeing a 
> system written almost entirely with the use of indirect calls in Universe 
> BASIC.
> 
> That is
> SOURCE = "*SOME.PROGRAM"
> ...
> CALL @SOURCE(INPUTS)
> 
> Is there some advantage to the use of indirect calls that a system would be 
> written entirely in this fashion?

In Prime Information, the reference would be resolved the first time
that the routine was called, and it would be cached.  Thereafter, calls
to the routine would be faster.

The other reason would be to allow varying programs to be assigned to
the @var reference.

-- 
Allen Egerton; aeger...@pobox.com

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to