>>>>>>>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
>
>It's not like you to forget something
>DO WHILE Fred.drinks.count < 3
> oJustOneMore = NEWOBJECT('Tequila.shot')
> Fred.drinks.add(oJustOneMore)
> oJustOneMore = NULL
>ENDDO
>BROWSE BUUIICKK
>SEEK floor
>
>
Sorry about the oversight; after 3 tequilas, BROWSE doesn't work any more for me.
I also neglected to check to make sure that a table was selected...
>Jeff