Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Should I check existence of Global variable

Re: Should I check existence of Global variable

From: <chiappa_at_my-deja.com>
Date: Mon, 18 Dec 2000 10:21:56 GMT
Message-ID: <91kog1$bnn$1@nnrp1.deja.com>

Very easy : use the default_value built-in, it check if the global exists, this way :

....

   default_value(:global.my_global_var, 'X'); -- If not exists, create

[]s

     Chiappa

In article <91jrt6$n1r$1_at_nnrp1.deja.com>,   asifabbas_at_my-deja.com wrote:
> Hello,
>
> I want to check whether Global variable already used or not. Because I
> developer 6 if Global variable is not already used and I tried to
 check
> its value, a error message is displayed. And without this check I
 cannot
> continue to developed that part of software.
>
> Asif Abbas.
>
> Sent via Deja.com
> http://www.deja.com/
>

Sent via Deja.com
http://www.deja.com/ Received on Mon Dec 18 2000 - 04:21:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US