Error getting tags :
error 404Error getting tags :
error 404 there is no | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
there is no
Basics
Expander triangle
Type
Operator
Syntax
there is no {object | file filePath | folder folderPath | process procName}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Process
Summary
Evaluates to false if the specified object, file, or folder, or process exists, true otherwise.
Examples

there is no group "Cranky"
if there is no player 1 then create player
put (there is not a folder "Temp") into safeToCreate

Additional Comments
Expander triangle

Use the there is no operator to make sure an object or file does not yet exist before creating it, or that a program is not already running before launching it.

Parameters:

The object is any object reference.

The filePath specifies the name and location of a file you want to check. If you specify a name but not a location, Revolution looks for the file in the defaultFolder.

The folderPath specifies the name and location of a folder you want to check. If you specify a name but not a location, Revolution looks for the folder in the defaultFolder.

The procName is the name of any process that Revolution started.

Comments:

The there is no operator is the logical inverse of the there is a operator. When one is true, the other is false.

Note: The there is nooperator is implemented internally as a function, and therefore has lower precedence than other operators.

User Comments
Expander triangle