Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do While Seek()... Enddo
Message
From
11/01/2007 18:31:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/01/2007 17:57:34
John Baird
Coatesville, Pennsylvania, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01184819
Message ID:
01184848
Views:
16
I think you meant:

int i = 0;

Cetin

>or:
>
>
>        int i = 1;
>        do	
>	{
>		i++;
>	}
>        while (SEEK(i, "testTbl", "testInx"))
>
>	return i;
>
>
>
>>>Is there an simple elegant way to do the following in C#?
>>>
>>>
>>>i=1
>>>DO WHILE SEEK(i, 'testTbl', 'testInx')
>>>    i = i + 1
>>>ENDDO
>>>
>>>RETURN i
>>>
>>>
>>>TIA
>>
>>
>>private int fubar()
>>{
>>	int i = 1;
>>	while (SEEK(i, "testTbl", "testInx"))
>>	{
>>		i++;
>>	}
>>	return i;
>>}
>>
Ç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