dollar INDEX

$ _ _ _ DOLLAR _ _ _ _ _ _ _ _ _ _ _ _ command

The dollar sign is a statement delimiter, indicating results are not to be printed when used in interactive mode.

examples:



(x+1)**2$ 

The workspace is set to x^2 + 2x + 1 but nothing shows on the screen




ws; 

   2
  X   + 2*X + 1

Entering a Return without a semicolon or dollar sign results in a prompt on the following line. A semicolon or dollar sign can be added at this point to execute the statement. In interactive mode, a statement that ends with a dollar sign $ and a Return is executed, but the results not printed.

Inside a group statement <<...>> or a begin...end block, a semicolon or dollar sign separates individual REDUCE statements. Since results are not printed from a block without a specific return

statement, there is no difference between using the semicolon or dollar sign.

In a group statement, the last value produced is the value returned by the group statement. Thus, if a semicolon or dollar sign is placed between the last statement and the ending brackets, the group statement returns the value 0 or nil, rather than the value of the last statement.