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

Re: Floating Point Within A Dialog

From: Rick VanNorman <rick_at_neverslow.com>
Date: Tue, 3 May 2005 13:59:49 -0700

>FLOAT uses the floating package, and all references to the
fp package in response to callback actions need to be preceeded
by a /NDP to initialize the fp package.

rick

On May 3, 2005, at 12:59 PM, Bob Nash wrote:

> 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:02:30 PDT

This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:19 PST