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

  1. private(+)?
  2.  
  3. op(500,yfx,+)?
  4.  
  5. A:list   + B:list     -> append(A,B).
  6. A:string + B:string   -> strcon(A,B).
  7. A:real   + B:real     -> A 'syntax#+' B.
  8.  
  9. write([a,b,c]+[d,e,f]),nl?
  10.  
  11. write("abc"+"def"),nl?
  12.  
  13. write(3+4),nl?
  14.  
  15.