[Info-ingres] When is an empty string an integer?
Paul White
paul.white at shift7solutions.com.au
Thu May 12 04:54:50 UTC 2016
I'm happy with the current behaviour in OpenROAD 6.2.
on click field1 =
{
i = integer(varchar('',1));
if i = 0 then
message 'zero'; /* This lines works */
else
message 'something else';
endif;
}
-----Original Message-----
From: info-ingres-bounces at lists.planetingres.org
[mailto:info-ingres-bounces at lists.planetingres.org] On Behalf Of Chris Clark
Sent: Thursday, 12 May 2016 4:41 AM
To: Ingres and related product discussion forum
Subject: Re: [Info-ingres] When is an empty string an integer?
> Yes, I'm sure it is. The relevant CVal routine in the CL does nothing if
it sees no digits, and returns OK. I'm sure it's been that way since
forever.
I think so too. Certainly Ingres 6.2 has this behavior.
Chris
_______________________________________________
Info-ingres mailing list
Info-ingres at lists.planetingres.org
http://lists.planetingres.org/mailman/listinfo/info-ingres
More information about the Info-ingres
mailing list