Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interview question
Message
From
01/11/2014 06:59:23
 
 
To
31/10/2014 08:57:40
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01610246
Message ID:
01610319
Views:
80
>>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform