getNoteData
- Last UpdatedFeb 01, 2023
- 1 minute read
This method is supposed to have access to a list of note definition records set by the method setNoteData described below. It takes an integer item index and returns a note definition record if the index is within the bounds of the note data list.
The records have the same basic layout, starting with six integer values followed by five floats and ended by a string. They are interpreted differently depending on the first value. Four different types exist, the reference symbol, the free symbol, the text in symbol, and the free text. Irrelevant values should be set to nil values (0, 0.0 and "").
In the example below classes have been defined to encapsulate the record contents only using relevant values for each type.