Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interview question
Message
From
31/10/2014 08:57:40
 
 
To
31/10/2014 01:16:26
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:
01610263
Views:
93
Likes (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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform