I detect that it is possible to use constants of invalid objects.
example:
n_customer inv_cst
INTEGER li_tax
li_tax = inv_cost.cii_tax
inv_cost = CREATE n_customer
inv_cost.of_helloWorld ( )
...
OR
...
li_tax = n_customer.cii_tax
...
Is THIS a feature or a bug?
--
kemnerAT_NOSPAMsf-datentechnikDOTde
"Constants are also efficient. Because the value is established during
compilation, the compiled code uses the value itself, rather than referring
to a variable that holds the value."
That's why you don't have to create an instance of the object to access
them.
"Benjamin Kemner" <lo...@my-signature.de> wrote in message
news:4891cf52$1@forums-1-dub...
thx ;)
Bruce Armstrong [TeamSybase] schrieb:
--
kemnerAT_NOSPAMsf-datentechnikDOTde
li_tax = n_customer.cii_tax
Arnd