Arsen, > I HAVE A EDIT BOXES FOR CALCULATE NUMBERS.FOR EXAMPLE > 7:2 AND ETC.
What calculation does 7:2 do? Do you mean 7+2 or 7/2? > SOMETIMES THE SECOND VALUE WILL BE 0 AND WHEN THE USER PUTS A 0 FOR > EXAMPLE 8+0 > GIVES A ERROR THAT 0 IS NOT A INTEGER OR NUMBER.ANY EXAMPLE FOR > CALCULATION > THAT CAN DO WITHOUT ERROR.FOR EXAMPLE IF THE SECOND VALUE IS 0 CAN > CALCULATE > NORMAL AS 8+0=8?? Normal edit boxes do not do any calculation, they just accept text. If you use an edit box to get text such as '8+0' than use StrToInt to convert it to a number, a calculation is *NOT* done. There are edit boxes that do calculations that you can download. Look for one of those. Rory Daulton [EMAIL PROTECTED] ------------------------------------------------------------------------------- [This e-mail scanned for viruses and spam by Nmax - "Your MAXimum Connection!"] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

