In this article I would like to share with you a sample program that add the sum of three numbers being given by our user using Microsoft Visual Foxpro as our programming language. The code is very short and easy to understand. I am using Visual Foxpro 5.0 in this sample program. Thank you.
My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.
Sample Program Output
Program Listing
Ok Button Command1 Click
thisform.text4.value= round(val(thisform.text1.value)+val(thisform.text2.value)+val(thisform.text3.value),0)
Clear Button Command2 Click
thisform.text1.value=""
thisform.text2.value=""
thisform.text3.value=""
thisform.text4.value=""
thisform.text1.setfocus
Quit Button Command2 Click
Quit
No comments:
Post a Comment