Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!h.cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!pelakh@babcock.cerc.wvu.wvnet.edu From: pelakh@babcock.cerc.wvu.wvnet.edu (Boris Pelakh) Newsgroups: comp.databases Subject: Re: Re^2: dBASE IV - is this for real? Message-ID: <172@cerc.wvu.wvnet.edu.edu> Date: 12 Jul 89 18:33:54 GMT References: <8178@bsu-cs.bsu.edu> Sender: news@cerc.wvu.wvnet.edu Lines: 30 From article <8178@bsu-cs.bsu.edu>, by mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus): > I have a question that maybe some dBase IV person can answer. Let's say that > I have the following chunk of dBase code: > > T="this is a test" > IF T="this is not a test" THEN > @10,10 say "Inside the if" > ENIF && Notice the misspelling > @11,10 SAY "Outside the if" > RETURN > > Can anyone tell me what dBase IV does with this? If it returns an error > message, I would switch instantly. The number of headaches would be instantly > reduced. There is only one good thing that dBase III+ forces you to do: > indent properly. If you don't do that, you're going to be spending a lot > of time trying to line up ENDs. As far as I am aware (after writing about 5000 lines of dBASE iV code), an error like this will be detected by the dBASE IV "compiler" (what ever you want to call it) before the program is run. ------------------------------------------------------------------------------ Boris Pelakh | "I swear by my life and my love of it pelakh@cerc.wvu.wvnet.edu | that I will never live for the sake of un027707@wvnvaxa.wvnvms.wvnet.edu | another man, nor ask another to live for --------------------------------- | mine ..." "Violence is the last resort of | John Galt, "Atlas Shrugged" the incompetent" S. Hardin | "Foundation" | ------------------------------------------------------------------------------