Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do While Seek()... Enddo
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01184819
Message ID:
01184830
Views:
17
>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;
}
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform