Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Home / ESQL / reserved
Name Modified Size InfoDownloads / Week
Parent folder
fgldata.c 2020-05-11 6.7 kB
readme.txt 2020-05-11 1.2 kB
Totals: 2 Items   8.0 kB 0
From: johnl@informix.com (Jonathan Leffler)
Newsgroups: comp.databases.informix
Subject: Reserved words list
Date: 21 Aug 1996 17:08:05 -0400
X-Informix-List-ID: <list.11110>

>From: luismi@cot.es
>Date: Wed, 21 Aug 1996 21:07:49 -0700
>X-Informix-List-Id: <list.11108>
>
>	Does anyone have a text file with the 4GL reserved words?

There are actually very few, if any, truly reserved words in I4GL.
For example:

FUNCTION main(let)

	DEFINE let DECIMAL(3), decimal CHAR(9), date INTEGER, integer DATE

	LET let = 3
	LET decimal = "9"
	LET date = 2
	LET integer = mdy(3,2,1998)

END FUNCTION


This code compiles quite happily under both the c-code and the p-code
compiler, even producing an executable (which fails with a core dump when
run).  The C compiler has a fit if the code misuses C keywords (eg int,
for, sizeof), so you can argue that they are reserved in the c-code
version.

However, ignoring that, then here is a list of keywords which can be used
somewhere in I4GL with special significance.  It has been updated to
include almost all the keywords I can find in the Informix Guide to SQL
Version 7.2, so it also contains keywords which I4GL does not handle...

Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
Source: readme.txt, updated 2020-05-11