10.1C 10.1B longchar


Of char and longchars

Came across an interesting thing today. The following code works fine in 10.1C, but not in 10.1B:


FUNCTION Test RETURNS LOGICAL (p_Data AS LONGCHAR):
RETURN YES.
END FUNCTION.

MESSAGE Test("data") VIEW-AS ALERT-BOX INFORMATION.

looks as if 10.1C can mix and match char with longchar, something that I've always wanted to do since longchar became available.

Seems as if Progress are making changes to the language for the better. Now, if only they had a 4GL way to deal with sockets, instead of all this READ-RESPONSE-PROCEDURE and memory pointers etc !


Syndicate content