RiX walkthrough · 1
Start with exact numbers
Fractions stay fractions, names persist, and every example runs directly in this lesson.
A workspace that remembers
The editor is one persistent RiX context. Run a line once, then use its name in the next cell. RiX keeps arithmetic exact, so no rounding is introduced just because you divided two integers.
The result is the mixed rational number 2 3/8, not a floating-point approximation. Change portion to another fraction and run the cell again.
Name an idea
Lowercase names are values in your workspace. Uppercase names are callables. Here is a small function with a name worth reusing.
Every time you run a cell, its final value appears in the trail below the editor. The variables panel gives you a compact view of the names that have accumulated.
One distinction that matters
Use := when you want a fresh value. The plain equals sign, =, lets two names share a cell. That is particularly useful when you are deliberately updating a shared value with ~=.
The final result is 6, because x and y share the same cell. The reference panel in the workspace has more on assignment modes when you are ready.