* INGRES Problem
@ 1989-11-08 7:43 liang
0 siblings, 0 replies; only message in thread
From: liang @ 1989-11-08 7:43 UTC (permalink / raw)
I used to program in ESQL on INGRES under VMS. Now I have to write
a program in EQUEL on INGRES. But I seems to have trouble about the
statement
## include filename.
For example:
=====================================================================
Let file datatype.qp to be a include file.
CONST name_len = 20;
TYPE nametype = PACKED ARRAY[1..name_len] OF CHAR;
====================================================================
##PROGRAMM TEST (INPUT, OUTPUT)
## INCLUDE 'datatype.qp'
## VAR
## lastname: nametype;
:
:
:
When I preprocess this program with eqp test.qp, I always got a error
message "nametype is undefined". But if I change my include file to
## CONST name_len = 20;
## TYPE
## nametype = PACKED ARRAY [1..name_len] OF CHAR.
the preprocessor eqp passes the program.
My question is whether there is a way that I won't have to change
my include file datatype.qp . If someone know it, please drop me a
e-mail.
Many thanks in advance
STEVE
===========================================================================
e-mail : liang@cs.uoregon.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1989-11-08 7:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-11-08 7:43 INGRES Problem liang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox