Unix Technical Forum

I4GL V7.30 and up - undocumented reserved words

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 ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:46 PM
Malc P
 
Posts: n/a
Default I4GL V7.30 and up - undocumented reserved words

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 07:48 PM
Andrew Hamm
 
Posts: n/a
Default Re: I4GL V7.30 and up - undocumented reserved words

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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com