Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Passing Arrays into User-Defined methods in Oracle Power Objects 2.0

1 view
Skip to first unread message

Bob Gill

unread,
Jan 10, 1997, 3:00:00 AM1/10/97
to

Has anyone been successful in passing a Globally
defined dynamic array from one User-defined method
(UDM) into another UDM for processing?

In my example, in say UDM1, I have:-

REDIM gArr(500) ' previously defined in
' App Declaration
udmCommon(gArr())

This somehow causes OPO Designer to crash. If
anyone has a solution to a similar requirement,
I'd be grateful if you could post the answer to
me.

By the way, is an assignment of one Array to
another supported. If so, is the syntax something
like this:

vArr2() = vArr1()

Thanks for any reply in advance.

Regards
Bob Gill
email: bg...@wire.net.au

Kári Poulsen

unread,
Jan 10, 1997, 3:00:00 AM1/10/97
to

Bob Gill <bg...@wire.net.au> wrote in article
<32D5BB...@wire.net.au>...

> Has anyone been successful in passing a Globally
> defined dynamic array from one User-defined method
> (UDM) into another UDM for processing?
>
> In my example, in say UDM1, I have:-
>
> REDIM gArr(500) ' previously defined in
> ' App Declaration
> udmCommon(gArr())

In my experience arrays are not very well supported in OPO. Try to use
dynamic recortsets instead. BTW: if you're using a global array, you might
as well just pass the index??

regards
Kári Poulsen


0 new messages