Notes

From LabRPS Documentation
Revision as of 13:06, 8 August 2022 by LabRPS (talk | contribs) (Created page with "A note can simply be used to insert text (comments, notes, etc) into a project, but is really far more powerful than that. It can be used as a calculator, for executing single commands and for writing scripts. You can also change the text input method. Simple Composing Input Method is the standard method to enter text in QT applications. Xim is the X input method, it is the legacy system of the X window environment to support localized text input. The default choice is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A note can simply be used to insert text (comments, notes, etc) into a project, but is really far more powerful than that. It can be used as a calculator, for executing single commands and for writing scripts.

You can also change the text input method. Simple Composing Input Method is the standard method to enter text in QT applications. Xim is the X input method, it is the legacy system of the X window environment to support localized text input. The default choice is the second one, it allows to enter special characters and accents from your localized environment.

Note.png

The second use of notes is the calculator. The evaluation of mathematical expressions and execution of code is done via a note's context menu, the Scripting menu, or the convenient keyboard shortcuts. In the figure, it is shown that you just need to place the cursor on expression and use the Ctrl-Return command to evaluate the expression.

you can define variables and refer to them to build complex expressions, but you must evaluate each line with the Ctrl-Return command to fill the variable with its value. All variables are private to the note in which it is defined, and you can't refer to it in another note. With a right-click, you access the context menu which contains the list of all available mathematical functions.

For information on expression syntax, supported mathematical functions, and how to write scripts, see the scripting section.