John W Ful Fri Jan 18 2008 at 9:42 pm A lil Help? running the exe. simple?
When I use Quick Basic 4.5 to Compile my program:
My program will exit before the last "PRINT" command which is the answer...
EXAMPLE PROGRAM I USED:
'*** Program Area to Feet ***
'*** This program prompts the user to enter ***
'*** the length and width of a room and converts ***
'*** that information to square feet. ***
PRINT "This program converts length and width to area in square feet."
INPUT "Enter the length of the room: ", Lengt
INPUT "Enter the width of the room: ", Widt
LET Area = Lengt * Widt
PRINT "The area of the room is:"; Area; "Square Feet."
Before my program reaches the
(PRINT "The area of the room is:"; Area; "Square Feet.")
command it exits the program...
I can enter information "Length" and "Witdth" and it works fine untill it has to show the answer...
I think this should be a simple fix?? Do I need to add some code like.. In MS-DOS I would add the code "PAUSE" or something...
Feel free to compile it yourselves and see what you can get it to do...