home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1234 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  57 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. X-Newsreader: UMSZer V2.22 public
  3. Mime-version: 1.0
  4. Content-Type: text/plain; charset=iso-8859-1
  5. Content-Transfer-encoding: 8BIT
  6. Path: news.tng.oche.de!tomate.tng.oche.de
  7. X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
  8. Subject: Arexx problem with vars
  9. Date: Mon, 15 Jan 96 13:46:17 GMT
  10. Message-ID: <68771100@0humpty.tomate.tng.oche.de>
  11. From: humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich)
  12.  
  13.  
  14.     Hi,
  15.  
  16. I used to do a
  17.  
  18. list.0 = list.0 + 1
  19.  
  20. This worked.
  21.  
  22. Now I have to seperate between two lists. So I did a
  23.  
  24. IF valuexyz = xyz THEN
  25.     x = L
  26. ELSE
  27.     x = R
  28.  
  29. x||list.0 = x||list.0 + 1
  30.  
  31. This results in an "Arithmetic Conversion Error". Why ??
  32.  
  33. I need the placeholder 'x||list' in a function, that may process a list.
  34.  
  35. It is (abstract)
  36.  
  37. bla = DoSomething(x||list)
  38.  
  39. for different lists, but do not want to write (in the script these are
  40. large procedures ;-)) :
  41.  
  42. IF valuexyz = xyz THEN
  43.     bla = DoSomething(Llist)
  44. ELSE
  45.     bla = DoSomething(Rlist)
  46.  
  47. Any ideas ? Thanks.
  48.  
  49.  
  50. -- 
  51. Ciao, Andreas
  52. Internet: humpty@tomate.tng.oche.de
  53. FIDO    : 2:244/1544.14
  54.  
  55. 0x2B | ~0x2B   -Hamlet
  56.  
  57.