programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Floating Point Within A Dialog

From: Gene LeFave <gene_at_tekdata.com>
Date: Tue, 03 May 2005 16:01:02 -0500

I'll bet you have to initialize the floating point stack. Not sure but try
adding /NDP in the callback.

Gene

> I am trying to validate a user-entered floating point string within a =
> Dialog using the flag returned by >FLOAT. This produces a floating =
> point error. =20
>
> I have tried feeding a static, valid, floating point string to >FLOAT =
> before exiting the Dialog without success. The same code executed in =
> the main application, outside the Dialog, produces valid results. I =
> assume it all has to do with floating point conversions within a =
> callback, but ...
>
> Does anyone know what is going on? I have a very clunky workararound, =
> but would prefer to validate before exiting the Dialog.
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Tue May 03 2005 - 14:06:27 PDT

This archive was generated by hypermail 2.2.0 : Wed Nov 19 2008 - 03:04:25 PST