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

>Date: Fri, 16 Apr 1999 13:34:23 -0500
>From: Michael Kemper <mikek_at_metretek.com>
>
>I'm using version 1.50.4 of SwiftForth and I've noticed some peculiar
>behavior with regards to Floating Point operations within a callback
>function. For example...if I take the clicks.f demo program, add a
>"requires fpmath" to the beginning, then add an innocent "3.5e0 fdrop"
>within one of the mouse click call back handlers, when I run the program
>and click the button I get a "Serious error - callback threw -9998". If I
>twiddle with it too much I get a blue screen (NT4.0 sp 3). Am I doing
>something wrong?
Mike,
The problem is that the floating point subsystem is not automatically
initialized during the callback for speed reasons. An example of this
can be found in the GIBBS demo program.
More information if you need it.
Rick
.
Received on Fri Apr 16 1999 - 12:02:00 PDT
This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:26 PST