Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: Connect C++ Iterating TextStyles

$
0
0

[quote user="Jesper Stahl Madsen"]

for (; iter!=end; iter++);  
{
   DgnTextStyleP tsP = (*iter);
   WString sName = tsP->GetName();
}

[/quote]

Even if it did compile, it will not do what you expect at run-time.

The semi-colon in red means that the for loop has no content: all it does is attempt to increment the iterator.

The content of the braces {} is executed exactly once: it's not controlled by the loop.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>