Andrew Stirling wrote:
> Hi
> I'm trying to do
> =newfunction('hi',mynum) in temp.prg
>
> I realise I could 'set procedure to temp additive' but I do not want to
> do this.
>
>
If the function doesn't return anything, you can
DO newfunction IN temp.prg WITH "hi", mynum
If it *does* return something, I suppose you could pass another variable
by reference an have it update that.
cReturn = ""
DO newfunction IN temp.prg WTIH "hi", mynum, @cReturn
Then update cReturn within newfunction. What's wrong with set procedure
anyway?
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.