read_property

Declaration

read_property (section, key: STRING): STRING

Description

Reads property key from section from the project file. You can use this function to store properties that go with the project, not any individual user. These properties can also be edited outside of your project before the user runs it, so are an ideal way of making global preferences.

See Also

write_property
preferences functions

Example

script startup is
  full_screen := read_property ('general', 'full_screen')
  play_intro_movie := read_property ('general', 'intro_movie')
end