Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
FileTools[Status] - obtain status information about a file
Calling Sequence
Status(file)
Parameters
file
-
filename or the file descriptor of an open file
Description
The Status command returns information about file in the form of a list. The list is of length six.
- The first four elements are boolean valued.
- The first three indicate if the user has read, write, and execute permission for file.
- The fourth element indicates if file is a directory.
- The fifth element is the modification time of file in seconds since the epoch.
- The final element is the file size in bytes.
Each piece of information can also be found using one of the following functions: IsReadable, IsWritable, IsExecutable, IsDirectory, ModificationTime, or File. Calling file Status once is usually more efficient than calling more than one of these functions.
If the file does not exist or an invalid file descriptor is passed, an exception is raised.
Examples
See Also
file_types, FileTools, FileTools[Exists], FileTools[IsDirectory], FileTools[IsExecutable], FileTools[IsReadable], FileTools[IsWritable], FileTools[ModificationTime], FileTools[Remove], FileTools[Size], FileTools[Text][Close], FileTools[Text][WriteString], IO_errors
Download Help Document