Script started on Mon Sep 15 14:27:25 2003 lnx1% 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% maple |\^/| Maple 6 (IBM INTEL LINUX) ._|\| |/|_. Copyright (c) 2000 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=112428, alloc=131048, time=0.01 lnx1% exit exit Script done on Mon Sep 15 14:27:46 2003