Script started on Tue Sep 21 15:48:45 2004 lnx1 1> pwd /home/phys410/maple lnx1 2> cat tladd ############################################################ # Tests # ladd # laddnew ############################################################ read ladd; l1 := [1,2,3,4]; ############################################################ # Note the use of the 'printf' procedure, and the '%a' # format specification. ############################################################ printf("ladd(...) is %a \n", ladd(l1)); printf("laddnew(...) is %a \n", laddnew(l1)); lnx1 3> maple |\^/| Maple 8 (IBM INTEL LINUX) ._|\| |/|_. Copyright (c) 2002 by Waterloo Maple Inc. \ MAPLE / All rights reserved. Maple is a registered trademark of <____ ____> Waterloo Maple Inc. | Type ? for help. > read tladd; l1 := [1, 2, 3, 4] ladd(...) is 10 laddnew(...) is 10 > quit; bytes used=142088, alloc=196572, time=0.05 lnx1 4> exit exit Script done on Tue Sep 21 15:49:03 2004