History |
Type (server files)
Minimum version: 3.1
Purpose
Checks the type of a file on the FirstClass server.
Can be used with an already open file or with a specified path or index.
Syntax
ServerFile.Type [(Path) |, Index]
Example
Dim sf as ServerFile
If (sf.Type("FCAS Config|About this folder"=fcDocument) Then
Debug "This one is a document"
End If
sf.OpenFile("FCAS Config|About this potato")
If (sf.Type=fcDocument) Then
Debug "Yep, still a document"
End If
| ||||||