Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting all tags('TD')
Message
 
 
To
16/06/2003 18:48:46
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00800022
Message ID:
00800605
Views:
26
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform