Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DISTOF FUNCTION

0 views
Skip to first unread message

CameronJM

unread,
Dec 16, 1998, 3:00:00 AM12/16/98
to
Does anyone know why when I use the distof function when a start_dialog is
active it always returns nil? I am looking for a method for converting
feet-in to inch in a DCL text box. for example a user enters 12'6" I need to
compute to 150.00, If I use (distof "12'6") it returns 150.00 however, if I
try to use the distof function with a action_tile it always returns nil.
Maybe someone know of a good way to convert a string without doing a
done_dialog or parsing it.

Thanks,

Jim Cameron
came...@rapistain.com


kamal boutora

unread,
Dec 17, 1998, 3:00:00 AM12/17/98
to
Hi,
it's a good idea to supply all the parameters when it is possible so
try (distof number units)
in your case:
(distof "15'6) 3)

hope that this will function.
--
kamal boutora


0 new messages