From: liang@cs.uoregon.edu
Subject: INGRES Problem
Date: 8 Nov 89 07:43:30 GMT [thread overview]
Message-ID: <8911080743.AA06602@spencer.cs.uoregon.edu> (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
reply other threads:[~1989-11-08 7:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox