Hello, Thank you for the follow up. # root[] .p [expr] < \[base] > .p command only takes expression. Declaration, loops and other block statements can not be given. In most cases, you do not need to use .p command. # root[] [statements] You can input almost any statements. You can input declaration, loops, etc... Exceptions are function definitions, class definitino with member function definitions, etc... Thank you Masaharu Goto >Hi, > >.p is for evaluating an expression only, so > >root[] x=1; y=2; > >will work (two C++ lines) > >but > >root[] .p x=1; y=2; > >won't work (evaluation "x=1; y=2;" means nothing) > >Cheer >On Thu, 16 Sep 1999, Suzanne Panacek wrote: > >> Hi, >> what is the difference between using .p and not using .p? >> >> For example: >> root [41] .p 3*4 >> (int)12 >> root [42] 3*4 >> (int)12
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET