home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / tcl / 1738 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.1 KB

  1. Path: sparky!uunet!ukma!darwin.sura.net!jvnc.net!netnews.upenn.edu!bohr.physics.upenn.edu!raines
  2. From: raines@bohr.physics.upenn.edu (Paul Raines)
  3. Newsgroups: comp.lang.tcl
  4. Subject: diff btw pish and wish
  5. Message-ID: <96286@netnews.upenn.edu>
  6. Date: 5 Nov 92 16:09:41 GMT
  7. Sender: news@netnews.upenn.edu
  8. Lines: 17
  9. Nntp-Posting-Host: bohr.physics.upenn.edu
  10.  
  11. After getting tcl and tk a couple of days ago and playing
  12. with wish, I found out about the new graph widgets and 
  13. compiled pish.  I assumed pish was a superset of wish and
  14. that I could get rid of wish and run the wish scripts with
  15. pish.  However, I discovered one major difference in the way
  16. wish and pish handle command line arguments.  Wish seems to
  17. totally ignore the calling program name so the the argv[0]
  18. is the first argument.  Pish seems to do it the C way with
  19. argv[0] the program name and argv[1] the first argument.
  20.  
  21. Is this true or am I missing something?   Is there any other
  22. differences I should know about before replace wish with pish?
  23.  
  24. -- 
  25. Paul Raines    raines@purcell.physics.upenn.edu    215-898-8832
  26. Dept. of Physics
  27. University of Pennsylvania
  28.