is_location

Declaration

is_location (location: STRING): BOOLEAN

Description

Determines if location corresponds to a valid location in the location manager. Use is_location to determine whether the location is valid.

See also

set_location
Location manager

Example

script check_for_logo_movie is
  if is_location ('movies') then
    Result := is_file ('movies', 'logo.mov')
  end
end