Macro: FILE$MODE$HELP

Module location: FMAC line 1150 (view source)

//  #CHECK !1.RECNUM _CVWLR#GU
  #IFSAME !2 READ_ONLY
        SET_ATTRIBUTE DF_FILE_ALIAS OF FILENUMBER TO DF_FILE_ALIAS_DEFAULT
        !A [] $0CB INDIRECT_FILE.RECNUM |CI91
  #ELSE
    #IFSAME !2 SINGLE_USER
      SET_ATTRIBUTE DF_FILE_ALIAS OF FILENUMBER TO DF_FILE_ALIAS_DEFAULT
      !A [] $0CB INDIRECT_FILE.RECNUM |CI7
  #ELSE
      #IFSAME !2 DEFAULT
        !A [] $0CB INDIRECT_FILE.RECNUM |CI0
        SET_ATTRIBUTE DF_FILE_ALIAS OF FILENUMBER TO DF_FILE_ALIAS_DEFAULT
      #ELSE
        #IFSAME !2 ALIAS
          !A [] $0CB INDIRECT_FILE.RECNUM |CI130
          SET_ATTRIBUTE DF_FILE_ALIAS OF FILENUMBER TO DF_FILE_IS_ALIAS
        #ELSE
          #IFSAME !2 MASTER_ALIAS
            !A [] $0CB INDIRECT_FILE.RECNUM |CI128
            SET_ATTRIBUTE DF_FILE_ALIAS OF FILENUMBER TO DF_FILE_IS_MASTER
          #ENDIF
        #ENDIF
      #ENDIF
    #ENDIF
  #ENDIF