Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner needs help
Message
From
20/01/2006 08:39:56
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01088449
Message ID:
01088858
Views:
18
yes, vfp has one of the most easy language to learn and to teach.
You can start with simple loops and get growing with time, you must need to know the fundamentals, so need a book that told you about it.
example of how easy is xbase vfp primary language
1.make a clock, to make a clock we need to make a loop that show the clock on screen. you can make it by this way:
***comments: the clock
**
clear &&clear the screen
do while .T. &&loop
?time()
inkey(1)
if lastkey()=27 &&if ESC key is pressed, end clock
exit
endif
enddo
**end
2. show the clock in one certain position on screen:
***comments: the clock
**
clear &&clear the screen
do while .T. &&loop
@10,10 say time()
inkey(1)
if lastkey()=27 &&if ESC key is pressed, end clock
exit
endif
enddo
**end
Hope this keep your interest in VFP and make your students like VFP too.
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform