Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting all tags('TD')
Message
 
 
À
16/06/2003 18:48:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00800022
Message ID:
00800605
Vues:
27
Hi Bill,

The result should be the same when you use regular FOR loop or FOR EACH loop. I don't know why FOR EACH loop doesn't work for you. You may try
loTags = loDoc.ALL.tags('TD')
FOR EACH loTD IN loTags 
...
It's a matter of personal preference which one to use.

>Hi Sergey,
>I couldn't get that to work, but I did get this:
>
>loTags = loDoc.ALL.tags('TD')
>FOR ln = 0 TO loTags.LENGTH - 1
>  loTD = loTags.ITEM(ln)
>  ....
>ENDFOR
>
>Am I missing something?
>
>
>>Try
FOR EACH loTD IN loDoc.All.Tags('TD')
>>...
>>ENDFOR
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform