ebSystem (constant)

Description Bit position of a file attribute indicating that a file is a system file.
Comments This constant is equal to 4.
Example This example dimensions an array and fills it with filenames with System attributes.
Sub Main()
  Dim s$()
  FileList s$,"*",ebSystem
  a% = SelectBox("System Files", "Choose one", s$)
  If a% >= 0 Then
    MsgBox "You selected file " & s(a%)
  Else
    MsgBox "No selection made."
  End If
End Sub
See Also Dir, Dir$ (functions); FileList (statement); SetAttr (statement); GetAttr (function); FileAttr (function).