Thanks for all your responses.

Sophie

-----Message d'origine-----
De : Uffe Kousgaard [mailto:[EMAIL PROTECTED]]
Envoy� : 6 d�cembre, 2001 10:24
� : Mapinfo-L
Objet : Re: MI-L Mapbasic : a pause in the program


Hi Sophie

You should only use this loop-approach for short and infrequent pauses,
since they will make CPU usage go to 100% and block other programs from
executing properly. You should instead use the sleep function in one of
the
windows DLL's. I can't remember how to define / use it, but someone on
the
list probably can.

Regards
Uffe

----- Original Message -----
From: "Sophie Coubes" <[EMAIL PROTECTED]>
To: "'MapInfo-L (E-mail) ' (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 4:14 PM
Subject: RE: MI-L Mapbasic : a pause in the program


Thanks Matt, that works!! It's fine.

Sophie Coub�s

>  -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Envoy� : 6 d�cembre, 2001 09:44
> � : Sophie Coubes
> Objet : RE: MI-L Mapbasic : a pause in the program
>
> Sophie,
>
> I've managed this in the past by introducing an empty loop,
> which repeats until a second has passed.
> As follows:
>
> Set variable to be current time
> Do until current time = variable + 1
> Loop
>
> Hope this helps,
>
> Matt.
>
> -----Original Message-----
> From: Sophie Coubes [SMTP:[EMAIL PROTECTED]]
> Sent: 06 December 2001 14:30
> To: 'MapInfo-L (E-mail) ' (E-mail)
> Subject: MI-L Mapbasic : a pause in the program
>
> Hi all,
>
> Is it possible to make a pause in a mapbasic program, of
> one second for
> example?
>
>
> Best regards,
>
> Sophie Coub�s
> ____________________________
>
> Sophie Coub�[EMAIL PROTECTED]
> GIS Consultant
>
> KOREM
> GEObroadcasting your information
> ____________________________
>
> 680, boulevard Charest Est
> Qu�bec, Qu�bec
> G1K 3J4
> Tel.: (418) 647-1555
> Fax: (418) 647-1666
> 1-888-440-1MAP
> www.korem.com
> ____________________________
>
> Best New MapInfo Partner 2000 - North America
> Best MapInfo Partner 2001 - Canada
> ____________________________
>
>
>
>
> ______________________________________________________________________
> _
> List hosting provided by Directions Magazine |
> www.directionsmag.com |
> To unsubscribe, send e-mail to
> [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.





_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to