Google
 

Trailing-Edge - PDP-10 Archives - BB-R595B-SM_11-9-85 - mcb/tkb36/filsw.req
There are 2 other files named filsw.req in the archive. Click here to see a list.
!                    COPYRIGHT (c) 1980, 1981, 1982
!                    DIGITAL EQUIPMENT CORPORATION
!                        Maynard, Massachusetts
!
!     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.


!
! DEFINE THE STORAGE BLOCK USED TO DESCRIBE A FILE SWITCH
!
!
! DEFINE MAX LENGTH OF A SWITCH NAME
!

LITERAL
    LEN_FSW_NAME = 7;

!
! DEFINE MAX LENGTH OF A TEXT ARGUMENT
!

LITERAL
    LEN_FSW_TEXT = 7;

!
!
SBLOCK (FILSW, 4)				!FILE SWITCHES
HEADER (FILSW)					!
ABLOCK (FSW_NAME, CH$ALLOCATION(LEN_FSW_NAME)*%BPVAL, 2)	!SWITCH NAME
ABLOCK (FSW_TEXT, CH$ALLOCATION(LEN_FSW_NAME)*%BPVAL, 2) !SWITCH TEXT ARG
ABLOCK (FSW_VAL, %BPVAL, 2)			!SWITCH VALUE
ABLOCK (FSW_TEXT_PRES, 1, 2)			! = 1 IF TEXT PRESENT
ABLOCK (FSW_VAL_PRES, 1, 0)			! = 1 IF VALUE PRESENT
EBLOCK (FILSW)					!
!