home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / lifeos2.zip / LIFE-1.02 / TESTS / IN / TERMSIZE.IN < prev    next >
Text File  |  1996-06-04  |  457b  |  33 lines

  1. A=term_size(p(a,b,c,d)) ?
  2.  
  3. A=term_size(B:[a,b|B]) ?
  4.  
  5. A=term_size(B = [a,b|B])?
  6.  
  7. A=term_size(X:s(Y:t(int:Z,s,Y,X,Y,X,s(X,Y,X,t,u,s(X,W:s(X,W))))))?
  8.  
  9. A=term_size(int(int))?
  10.  
  11. A=term_size(2(2))?
  12.  
  13. A=term_size(1(1(1(1))))?
  14.  
  15. A=term_size("a"("b"("c"("d"))))?
  16.  
  17. A=term_size(X:"a"(Y:"b"(Z:"c"(X,Y,Z,W,W))))?
  18.  
  19. f(X) -> X*X.
  20.  
  21. A=term_size(f(3))?
  22.  
  23. A=term_size(`f(3))?
  24.  
  25. A=term_size(`f)?
  26.  
  27. A=term_size(f)?
  28.  
  29. A=term_size(f(charley=>brown))?
  30.  
  31. F=f(donald=>duck), A=term_size(F)?
  32.  
  33.