[comp.sys.hp] Difference between ANSI GKS and HP GKS

peter@aeshq.UUCP (Peter Mielke) (12/07/89)

I seem to have come upon a strange difference between the ANSI GKS and
the HP GKS:

	In the ANSI GKS functional description for INTERPRET ITEM it states
	that it requires 3 arguments BUT in the include file

		/usr/include/fgks.f1.h

	i find:

		$alias giitm='giitm'(%val,%val,%val,%ref)

	What is or where do i look for the other parameter?
-- 
Peter Mielke                               {utgpu,mnetor}!geac!aeshq!peter
Environment Canada                         Atmospheric Environment Service
"You want to know what weather it is?  Look out your window!"

del@hpfcdq.HP.COM (David Larson) (12/12/89)

>	i find:
>
>		$alias giitm='giitm'(%val,%val,%val,%ref)
>
>	What is or where do i look for the other parameter?

You are correct that the ANSI GKS Functional Specification does describe
INTERPRET ITEM with 3 parameters (page 143).  However, one of those 
parameters is a data record.

In the ANSI GKS Fortran binding (X3.124.1) on page 60, the Fortran
binding for INTERPRET ITEM is given.  The bound version does in fact
have 4 parameters:
	
	INTEGER	TYPE	Item type
	INTEGER	IDRL	Item data record length
	INTEGER	LDR	Dimension of data record array
	CHARACTER*80 DATAREC(LDR)

Dave Larson