|
A function used to determine if
something is valid or found. For example, in
Perl the exists function could
be used with an array or a hash to determine if a value exists. In
the below example if the example value exists in the test array the
computer would print "Test exists..." to the computer screen. print "Test exists..." if exists $test{example};
Some programming languages or script languages also use exist,
which performs the same or similar function but under a different
name. For example the MS-DOS if command has the ability to use an
exist function. See our MS-DOS if command page if
you're looking for additional information and examples of how to
use the MS-DOS if command.
Also see: Exist,
If statement,
Programming definitions
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|