Trailing-Edge
-
PDP-10 Archives
-
BB-X117B-SB_1986
-
10,7/tkb36/filsw.req
There are 2 other files named filsw.req in the archive. Click here to see a list.
!COPYRIGHT (c) DIGITAL EQUIPMENT CORPORATION 1980,1981,1982,1986. ALL RIGHTS RESERVED.
!
!
!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) !
!