Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pre-DevCon Midnight Madness
Message
De
26/05/1999 14:34:30
 
 
À
26/05/1999 14:26:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Divers
Thread ID:
00222607
Message ID:
00223099
Vues:
26
>>>>>>>I'll help Nick, George. I'm a dark beer drinker myself (well, that and tequila).
>>>>>>>
>>>>>>Hi Bonnie,
>>>>>>
>>>>>>Just have one for me, guys. I'll be thinking about ya.:-)
>>>>>
>>>>>.... or two, or three, or .... :-)
>>>>
>>>>One tequila, two tequila, three tequila, floor! ;)
>>>
>>>Ah, Fred, you floor me. Or is that =FLOOR(lnTequilas)< g >.
>>
>>No, the following code example should be correct, assuming you've previously instantiated the Fred object:
>>
>>
DO WHILE Fred.drinks.count < 3
>>   oJustOneMore = NEWOBJECT('Tequila.shot')
>>   Fred.drinks.add(oJustOneMore)
>>   oJustOneMore = NULL
>>ENDDO
>>SEEK floor
>>
>
>Sorry, but it's been my experience with Tequila.Shot there is no such thing as oJustOneMore ! ;)

Sure there is - the shot object doesn't instantiate if the content of the server's tequila.bottles.item("open").shots.count reaches 0, or the Fred object's cash and credit properties are empty...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform