Difference between revisions of "Exists(res)"

From SpybotWiki
Jump to: navigation, search
(added info box)
Line 1: Line 1:
{{DISPLAYTITLE:exists(res)}}{{AdvFileParam|exists[res]}}
+
{{AdvParamInfo
Checks if a resource with that name and of that type exists.
+
|SYNTAX = exists[res]
 +
|TITLESYNTAX = exists(res)
 +
|PREVIOUS = resexists
 +
|VARIANTS = exists[res]!
 +
|PEVERSION = ??? < 1.5.4.5
 +
}}Checks if a resource with that name and of that type exists.
  
 
==Usage==
 
==Usage==

Revision as of 19:06, 21 February 2008

exists[res]
Variants exists[res]
exists[res]!
Previously resexists
Group [[:Category:Advanced file parameters for {{{GROUP}}}|{{{GROUP}}}]]
Version advcheck.dll ??? < 1.5.4.5

[[Category:Advanced file parameters for {{{GROUP}}}]] Checks if a resource with that name and of that type exists.

Usage

exists[res]=<type(string)>|<name(string)>
exists[res]!=<type(string)>|<name(string)>

Examples

Description

Tests whether a resource of the specified type and name exists. This one is also available in a negated form to test whether a resource does not exist.

See also

Similar parameters

Similar commands