Ordering questions.


R. Clayton (rclayton@monmouth.edu)
(no date)


If there is an error in Unit Definition (in unit name or unit equation),
suppose the error is in unit equation part, then is it ok to print "Unit
equation is invalid, in the Unit Definition" or we have to say why it is
invalid?

  You have to print an error message; it would be nice if it was informative,
  but it doesn't have to be.

Can we solve the statements in any order or in the order they are input?

  If there exists a statement order that produces results without error, you
  have to solve the statements in that order. For example, the evaluating the
  input

    a : m
    b : m
    c : m
    c = a + b
    a = 1m
    b = 1m

  in the order given results in an error. Evaluating the assignment to c last
  causes no error. Note that there are more than one possible ordering you
  could use; any one is ok, as long as it doesn't cause an error.

  



This archive was generated by hypermail 2.0b3 on Fri May 09 2003 - 15:30:05 EDT