QB / QB64 Discussion Forum      Other Subforums, Links and Downloads
 

 Return to Index  

What do you mean by compiled?

October 19 2007 at 9:41 PM
Clippy  (Login burger2227)
R


Response to I always use QuickBasic 4.5 compiled >>>

 

When I MAKE the code QB4.5 does that automatically in the IDE. How do you write your programs? You have to create them before they are compiled! What is a # in an interpreted QB? Hope it's not an insult LOL.

As for figuring if you need Single or Double, use a string input and check the length of the string. Also make sure they are all number characters using MID$ and ASC(stringnumber). You could use an INKEY$ entry and not allow non-numerical key entries.

Then convert with VAL and use the proper functions for the number of digits in your program's entry. If they exceed the limit, make the user start over.
If it is not a big deal, then get a number entry and an error perhaps.

Ted


    
This message has been edited by burger2227 on Oct 19, 2007 9:54 PM


 
 Respond to this message   
Responses

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement  

Newbies usually go to www.qbasic.com and click on The QBasic Forum
Forum regulars have their own ways, which include The QBasic Community Forums