home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / hypercar / 3354 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.5 KB  |  44 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!kronos.arc.nasa.gov!joshr
  3. From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
  4. Subject: HC 2.1 "sort" command
  5. Message-ID: <1992Sep3.224521.5605@kronos.arc.nasa.gov>
  6. Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov)
  7. Nntp-Posting-Host: kronos-arclan.arc.nasa.gov
  8. Organization: NASA/ARC Information Sciences Division
  9. Distribution: comp.sys.mac.hypercard
  10. Date: Thu, 3 Sep 1992 22:45:21 GMT
  11. Lines: 31
  12.  
  13. Hey, macnetters:
  14.  
  15. I have a simple question I hope you can help me to answer.
  16.  
  17. Suppose I have a script with the following line:
  18.  
  19. put "name 2" & return & "name 5" & return & "name 21" & return &
  20.    "name 1" & return into abc
  21.  
  22. and I want to sort the lines in that var by the number which is the last word
  23. of each line.
  24.  
  25. We have tried just about everything we can think of, (short of an XCMD ;-> )
  26. and cannot get hypercard to do this sort for us.  BTW, HC 2.1, sys 7,
  27. mac IIcx.
  28.  
  29. We have tried everything outlined in clarus's HC2.1 book and kamin's
  30. HC2.0 book, and either it tells us it doesn't understand arguments
  31. to sort or appears not to sort, after pausing briefly.
  32.  
  33. Before you rush off and send in your "hey, you dummy" response, give
  34. it a try on YOUR system.
  35.  
  36. We look forward to being set straight.
  37.  
  38. joshr@kronos.arc.nasa.gov
  39. -- 
  40. ----------------------------------
  41. #include <std/disclaimer.h>     Josh Rabinowitz, Mac TCL programmer
  42. joshr@kronos.arc.nasa.gov
  43. "Me lost my cookie at the disco." -- Cookie Monster
  44.