This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
load_data [2024/02/06 01:56] – justin | load_data [2025/08/22 14:41] (current) – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Load Data====== | ======Load Data====== | ||
---- | ---- | ||
- | (WIP) | + | Loads custom data from a file that was previously saved using the [[Save Data]] function. If the data was saved with a password, it must be provided when loading it. The function returns the value that was stored in the file, which can then be stored into a variable or property. |
+ | |||
+ | For more information on using data files, check out [[https:// | ||
====Signature: | ====Signature: | ||
Line 11: | Line 13: | ||
|filename| |[[String]]|Yes| | |filename| |[[String]]|Yes| | ||
|password| |[[String]]|No| | |password| |[[String]]|No| | ||
+ | |||
+ | ^Return Value^Description^Type^ | ||
+ | |Data|Returns the data that was stored in the file.|Varies| | ||
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | load_data(); | + | |
</ | </ | ||
// | // |