Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interview question
Message
De
31/10/2014 08:57:40
 
 
À
31/10/2014 01:16:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01610246
Message ID:
01610263
Vues:
91
J'aime (1)
>
>a = 1
>b = 2
>c = 10
>DO WHILE a <= c
>    a = a + 1
>ENDDO
>? a
>
>
>What is a?
>

Depends on the environment. Are any tables open? If so, could be a field value (though naming a field 'a' would be a very poor choice). In fact, if that's the case, you could have an infinite loop. Or c could be a field and thus the loop have a different termination.

>Is this a trick question?

No, unless you consider not using mdot a trick.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform