![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Thanks Gene and Rick. I did try initializing the floating point stack =
in the callback (no luck) but didn't mention it. Although the the FP =
package includes an /NDP in an "onenvload:" statement it didn't occur to =
me that the callback also needed it.
-----Original Message-----
From: Gene LeFave [mailto:gene_at_tekdata.com]
Sent: Tuesday, May 03, 2005 2:01 PM
To: sftalk_at_forth.com
Subject: [sftalk] Re: Floating Point Within A Dialog
I'll bet you have to initialize the floating point stack. Not sure but =
try=20
adding /NDP in the callback.
Gene
> I am trying to validate a user-entered floating point string within a =
=3D
> Dialog using the flag returned by >FLOAT. This produces a floating =
=3D
> point error. =3D20
>=20
> I have tried feeding a static, valid, floating point string to >FLOAT =
=3D
> before exiting the Dialog without success. The same code executed in =
=3D
> the main application, outside the Dialog, produces valid results. I =
=3D
> assume it all has to do with floating point conversions within a =3D
> callback, but ...
>=20
> Does anyone know what is going on? I have a very clunky workararound, =
=3D
> 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=20
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>=20
>=20
----------------------------------------------------------------------
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=20
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:50:45 PDT
This archive was generated by hypermail 2.2.0 : Thu Dec 04 2008 - 03:04:19 PST