Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!MAX.EE.LSU.EDU!mills From: mills@MAX.EE.LSU.EDU (John Mills) Newsgroups: comp.sys.apple2 Subject: BASIC problems Message-ID: <9106261942.AA06168@max.ee.lsu.edu> Date: 26 Jun 91 19:42:39 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 15 hi Amrit! First of all, this code SHOULD work if it was used correctly. The VAL() is a function and it returns a numeric value. It takes a string which holds a number and converts it (actually the left-most numbers) into a numeric value. If the string does not start with a number, it returns the value 0. Hope this helps! -- John M. =========================== Inet: mills@max.ee.lsu.edu Genie: J.Mills11 ===========================