MagicPlot Manual

Plotting and nonlinear fitting software

User Tools

Site Tools


expressions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
expressions [Sat Jan 16 17:02:23 2021]
Alexander
expressions [Sat Jan 16 17:25:32 2021]
Alexander
Line 124: Line 124:
   * ''(-3)^2'' returns ''9''.   * ''(-3)^2'' returns ''9''.
   * ''2^2^3'' is equal to ''2^(2^3)'', because ''^'' is right-associative operator. The result is ''256''.   * ''2^2^3'' is equal to ''2^(2^3)'', because ''^'' is right-associative operator. The result is ''256''.
 +
 +===== Comments in formulas =====
 +
 +You can insert comments in any formula using ''/*…*/'' notation.
 +
 +Press ''Ctrl+/'' on Windows/Linux or ''Cmd-/'' on Mac OS to comment selection. Comments can be multi-line. Note that the single line comments using a symbol at the line start are not supported because line breaks are not taken into account in MagicPlot formula syntax.
  
expressions.txt · Last modified: Sat Jan 16 17:25:32 2021 by Alexander