This is a discussion on I4GL V7.30 and up - undocumented reserved words within the Informix forums, part of the Database Server Software category; --> Well, OK, it took the special breed of programmer we have here to find them and any fool should ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Well, OK, it took the special breed of programmer we have here to find them and any fool should have known not to use these words in 4gl BUT...... Compilation phase i4glc3 (the esql/c phase) dips out with a syntax error if you have a temp table with a column called 'ref', and also if you create a function in your 4gl called SELECT(). Yes it's true, someone wrote that. Furrfu. But the point remains that neither of them show up as reserved words in the manuals. And I do recall in SQL when they purged most of the reserved words at V4.10 you could create a statement that went: SELECT SELECT FROM FROM WHERE WHERE = NOT AND AND = OR OR NULL IS NOT NULL .... and so on. Malc |
| ||||
| Malc P wrote: > > SELECT SELECT FROM FROM WHERE WHERE = NOT AND AND = OR > OR NULL IS NOT NULL That is scary, truly scary. I've always thought it was WORNG that 4GL -> C does not add a special wart up the front of every single program entity which is mapped to C. But there ya go. |