Re: 4gl update syntax error
Posted in 1991
> declare c1 cursor for select * from stu_logins One thing that comes to mind is the lack of "for update" in the cursor declaration. It may be that you just didn't include it in your mail. This probably isn't causing the compiler errors, though. I've occasionally had problems with reserved words in I4GL, but not in exactly the way you describe. In my case, it's usually where a word is not reserved in one module, but *is* in another. For example, I have created a table using an ISQL script, compiled a 4GL program and a form, all OK. Then I go to execute the program, and an input or construct statement spits up because the screen processor doesn't like some token or word I've used. I think I4GL may try to guard against this, because I've also seen it reject words that were more screen or ISQL oriented. However, I've found that neither the compilers, nor the reserved word lists in the manual appendices are quite complete in this area. This isn't any specific advice, but I hope it helps. I'd like to know what ultimately works for you. Walt. -- Walt Hultgren Internet: walt@rmy.emory.edu Emory University, Atlanta, GA, USA BITNET: walt@emory.bitnet Voice: +1 404 727 0648 UUCP: {...,rutgers,gatech}!emory!rmy!walt