New topic: 

Loop to end of string.

<http://forums.realsoftware.com/viewtopic.php?t=34221>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        waveuponwave          Post subject: Loop to end of 
string.Posted: Thu Jun 10, 2010 5:29 pm                                 
Joined: Fri Jan 29, 2010 12:39 pm
Posts: 289
Location: Virginia U.S.A.                I have a Do loop and I want it to stop 
after it has read through an entire string. How do I tell the do loop to stop? 
Below is a messy bit of code as an example of what I am trying to do. Thanks.

Code:Do
  strConfig = strTest 

  For intPos = 1 To Len(strConfig)
  'Reading string 
  Next intPos
  
  If FoundStuff Then
   'Do things with it
  End If

  Loop Until Len(strConfig)?      
_________________
RB2010r2 Pro on Win 7
I promise to help if I ever learn how to help myself.  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to