Google
 

Trailing-Edge - PDP-10 Archives - bb-j939f-bm - bliss/flddb.r36
There are 4 other files named flddb.r36 in the archive. Click here to see a list.
!
!			  COPYRIGHT (c) 1977, 1978 BY
!	      DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
!
! THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
! ONLY  IN  ACCORDANCE  WITH  THE  TERMS  OF  SUCH  LICENSE AND WITH THE
! INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR  ANY  OTHER
! COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
! OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
! TRANSFERRED.
!
! THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE  WITHOUT  NOTICE
! AND  SHOULD  NOT  BE  CONSTRUED  AS  A COMMITMENT BY DIGITAL EQUIPMENT
! CORPORATION.
!
! DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR  RELIABILITY  OF  ITS
! SOFTWARE ON EQUIPMENT WHICH IS NOT SUPPLIED BY DIGITAL.
!

KEYWORDMACRO FLDDB$(TYP=0,FLGS=0,DATA=0,HLPM,DEFM,LST=0)=


    VECTOR
	[
	%IF %NULL(DEFM)
	%THEN
	    %IF %NULL(HLPM)
	    %THEN
		2
	    %ELSE
		3
	    %FI
	%ELSE
	    4
	%FI
	]


    INITIAL
	(

	FLD(TYP, CM_FNC) +
	FLGS +
	LST +
	%IF %NULL(HLPM) %THEN 0 %ELSE CM_HPP %FI +
	%IF %NULL(DEFM) %THEN 0 %ELSE CM_DPP %FI

	, DATA

	%IF NOT %NULL(HLPM)
	%THEN
	    , CH$PTR(UPLIT(%ASCIZ HLPM))
	    %IF NOT %NULL(DEFM)
	    %THEN
		, CH$PTR(UPLIT(%ASCIZ DEFM))
	    %FI
	%ELSE
	    %IF NOT %NULL(DEFM)
	    %THEN
		, 0 , CH$PTR(UPLIT(%ASCIZ DEFM))
	    %FI
	%FI
	)
    %;