Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System sounds
Message
De
02/11/1998 10:06:25
 
 
À
30/10/1998 18:59:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00151382
Message ID:
00153488
Vues:
22
>>>Well, that was way to simple...
>>>on a PII 266 I only have to loop 35,000 times to space out the bells
>>>now I only have to make 3 variations to cover the customers 6 workstations
>>>2 PII 266, 3 200. and 1 166.
>>>Thanks I would have been there a few more days...
>>
>>?? chr(7)
>>t1= seconds() + m.wav_length && seconds length of wav file
>>do while seconds() < m.wav_length
>>enddo
>>* play next sound
>>* works on all machines
>
>
>Forgot to add, that in that loop, you can do lots of things, flash lights, doevents, run some queries...
>
>KT is right, you might wan't to consider some other approachs. My problem was fairly simple, just had to amuse the onlookers ( treasury officials in a $250,000 prize draw ) while I found a winner and make them think it was a complicated, big deal. :-) Horses for courses.

The other reason that I recommended using an API call as opposed to using
one of the VFP functions is that to the best of my knowledge there is no
native function that will get you resolution of better than 1 second except
for the timer (no flames please :)

Course, you could always use the timing loop "just for now and come back and
fix it later". yeah. right. :)

...kt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform