Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

def sayit
puts "There, I said it!"
end

  • Uncheck Enable Multiline.
  • Click Evaluate Execute. (Note: Don't press Enter. Use the Evaluate buttonExecutebutton.) The Output Panel should echo all the lines of the function, followed by "nil".
  • UncheckĀ Enable Multiline.
  • Type "sayit" in the Input Panel, and hit Enter or press Evaluate. The Output Panel should produce "There, I said it," followed by "nil".

...

To set a single variable using the Input Panel, disable Multiline entry, and simply enter the variable's definition, and press Enter or click Evaluate.
a = 5
press Enter
To set a series of variables, enable Multiline entry and enter the variables, then disable Multiline entry and click Evaluate.
a = 6
b = 4
c = 5
puts a
puts a*b
puts b+c Disable Multiline and

click EvaluateExecuter.

Clearing the Output Panel

...