Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do...[Statements] while [boolean] as in C#'.Net
Message
From
23/02/2007 12:21:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/02/2007 12:18:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01198353
Message ID:
01198366
Views:
10
>>No, there is no such loop in VFP, but instead of duplicating code you could do:
>>
>>lbLoop = .t.
>>DO WHILE lbLoop
>>   ... Your Code  here
>>   lbLoop = (something)
>>ENDDO
>>
>>That is the exactly as in C++, C# - DO WHILE() construction.
>>Because in the beginning lbLoop is .t. you will enter in the loop, after that at the end of the loop you must change the value of that variable to match your condition.
>
>Very good tips everyone. I like the suggestion above, and, I do need to get into the habit of scan..endscan for operations such as the mondo-huge-data import that I was talking about earlier. Thank You!

BTW Rick,
Why don't you directly do the work from within C#? You might also utilize multiple threads processing parts of it and furthermore use SqlBulkCopy class.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform