Re: XForms: fl_get_clock()

Rob Fletcher (rpf1@york.ac.uk)
Thu, 5 Feb 1998 16:52:22 +0000 (GMT)

# To subscribers of the xforms list from Rob Fletcher <rpf1@york.ac.uk> :

On Thu, 5 Feb 1998, Steve Lamont wrote:

> # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>
> > I am currently working on some log program. In my forms, I create
> > an "clock" object called "DigitalClock". When I try to get the time
> > from this object by calling the "fl_get_clock()" function, it kept
> > giving me the "bus dump" error. The command I execute is as follow:
>
> > fl_get_clock(DataScreen->DigitalClock, hh, mm, ss)
>
> Are `hh', `mm', and `ss' pointers to int? If not, you would get a bus
> error or the like. fl_get_clock() would normally be called as
>
> int hh;
> int mm;
> int ss;
>
> [...]
>
> fl_get_clock( obj, &hh, &mm, &ss );

you got it ... of course!

fl_get_clock(FL_OBJECT *obj, int *h, int *m, int *s );
Rob.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/