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

Re: SLEEP

From: Leon Wagner <leon_at_forth.com>
Date: Thu, 10 Aug 2006 14:09:50 -0700

Yes. Look at how it is already used in the system (a nice application of
the cross-reference tool!!):

WH SLEEP

Wordlist IMPORTED-FUNCTIONS
C:\ForthInc\SWIFTFORTH\SRC\IDE\WIN32\DLLFUNCTIONS.F
  189| Function: Sleep ( a -- x )
C:\ForthInc\SWIFTFORTH\SRC\IDE\WIN32\TASKING.F
  124| THEN 1 Sleep DROP ;
C:\ForthInc\SWIFTFORTH\SRC\IDE\WIN32\COUNTER.F
   55| PAUSE 1 Sleep DROP

> -----Original Message-----
> From: sftalk-bounce_at_forth.com
> [mailto:sftalk-bounce_at_forth.com] On Behalf Of Anil Rodrigues
> Sent: Thursday, August 10, 2006 13:49
> To: sftalk_at_forth.com
> Subject: [sftalk] Re: SLEEP
>
> Do I understand right, the returned value is junk just dump it?
>
> 10 sleep ok
> .s
> 258 <-Top ok
>
> Thanks, Anil
>
> -----Original Message-----
> From: Mike Ghan [mailto:MikeGhan_at_logix-controls.com]
> Sent: Thursday, August 10, 2006 4:17 PM
> To: sftalk_at_forth.com
> Subject: [sftalk] Re: SLEEP
>
>
> It returns nothing. IFAIR, when SwiftForth was first
> implemented, all API calls returned a value. Sometime later,
> the Window API interface was improved. Since Sleep (with a
> dummy return) was already publicly in use, it was not changed
> to reflect the API.
>
> Mike
>
>
> -----Original Message-----
> From: sftalk-bounce_at_forth.com
> [mailto:sftalk-bounce_at_forth.com] On Behalf Of Anil Rodrigues
> Sent: Thursday, August 10, 2006 12:00 PM
> To: sftalk_at_forth.com
> Subject: [sftalk] SLEEP
>
> What does the function SLEEP return?
>
> Function: Sleep ( a -- x )
>
> According to Borlands Windows API, it doesn't return anything?
>
> Thanks, Anil
> ----------------------------------------------------------------------
> ----------------------------------------------------------------------
> 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 Thu Aug 10 2006 - 14:10:31 PDT

This archive was generated by hypermail 2.2.0 : Wed Jan 07 2009 - 03:04:16 PST