Post Reply 
a type bug
11-30-2015, 09:53 PM (This post was last modified: 11-30-2015 09:54 PM by ji3m.)
Post: #1
a type bug
In the cas window, 'type ("abc")' returns DOM_STRING which is 12

But in a program

EXPORT yup()
BEGIN
LOCAL a := "abcder",Z;
Z :=CAS("LEFT(a,3)");
{Z, CAS.type (Z), TYPE (Z)};
END;

in cas wibdow , 'a:= yup' gives {"abc", 6, 2}

The cas type returned is 6 which is DOM_IDENT. but its
clearly a string.

Nasty workaround checks TYPE also.

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
a type bug - ji3m - 11-30-2015 09:53 PM
RE: a type bug - Han - 11-30-2015, 10:01 PM
RE: a type bug - ji3m - 11-30-2015, 10:42 PM
RE: a type bug - Han - 12-01-2015, 12:01 AM
RE: a type bug - ji3m - 12-01-2015, 05:24 PM



User(s) browsing this thread: 1 Guest(s)