getlab return values

4 views
Skip to first unread message

loo...@gmail.com

unread,
Aug 30, 2026, 10:11:05 AM (3 days ago) Aug 30
to dislin-users
Hi,

GETLAB returns for float "FLOA". In the manual is a reference to the function LABELS.
There is mentioned "FLOAT" ... so you would expect intuitively that the same keyword is returned. Probably also related to other values, but didn't test it.
Tested with GCL and own language wrapper.

Greetings
Otto

Helmut Michels

unread,
Aug 31, 2026, 4:16:48 AM (3 days ago) Aug 31
to dislin-users
Hi Otto,

all keywords in Dislin can be shortened to four characters. So, the keywords 'FLOAT' and 'FLOA' have the same meaning
in LABELS. For a better understanding the full keyword is often given in the Dislin manual. I have changed the returned
keyword in GETLAB from 'FLOAT' to 'FLOA' in version 11.6.1 to avoid a possible overflow if a user has just allocated 
4 characters for the keyword. The overflow could  happen  in the C programming language, or in some Dislin bindings. 
I didn't think anyone would notice the change.

With best regards,

Helmut
Reply all
Reply to author
Forward
0 new messages