Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do While Seek()... Enddo
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01184819
Message ID:
01184830
Vues:
18
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform