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 !


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tamhas's picture

Yes, this was on the feature

Yes, this was on the feature list for 10.1C. Might also work for INT64 and INT, but I don't recall.