Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interview question
Message
De
01/11/2014 06:59:23
 
 
À
31/10/2014 08:57:40
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:
01610319
Vues:
79
>>
>>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

The question was on paper. No Computer in the room.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform