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

  1. Path: godzilla.zeta.org.au!abruno
  2. From: abruno@godzilla.zeta.org.au (Andrew Bruno)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Help with AREXX problem.
  5. Date: 5 Jan 1996 11:48:29 GMT
  6. Organization: Kralizec Dialup Unix
  7. Message-ID: <4cj36d$v5v@gidora.kralizec.net.au>
  8. NNTP-Posting-Host: godzilla.zeta.org.au
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Help! 
  12. Here is two little scripts I wrote for a program/H/W device called 
  13. airlink that I
  14. have.
  15.  
  16. Below is a list of a test script I put together to see where I could 
  17. position the
  18. transmitter.....
  19.  
  20. IT WORKS!
  21.  
  22. /* Sanyo test script for AirLink */
  23. loop:
  24. j = 0
  25. do while j < 1000
  26.     j = j+1
  27. end
  28. say 'beep'    /* this should be a &h07, but the editor doesn't like 
  29. that */
  30. address national
  31. 'output ir<power>'
  32. signal loop
  33. /* the end */
  34.  
  35.  
  36. Now I wanted to write a program so I can execute functions from other 
  37. programs,
  38. and wrote this as a "macro" kind of thing.....
  39.  
  40.  
  41. /*   Arexx script for use with Scala and Airlink.   */
  42.  
  43. options results
  44. PARSE ARG blah1" "blah2
  45.  
  46. say blah1
  47. say blah2
  48.  
  49. address blah1
  50. 'output ir<'blah2'>'
  51.  
  52. exit
  53.  
  54. /*  the end  */
  55.  
  56.  
  57. I think you can see what I am wanting to do here....  It is rather simple.
  58.  
  59. IT DOESN'T WORK!
  60.  
  61. Yes, the host environment is there.
  62.  
  63. I can even run the top script, stop it and run the lower one and it 
  64. doesn't work.
  65.  
  66. The lines say blah1 and say blah2 are only so I could check it was 
  67. being accepted
  68. correctly.
  69.  
  70.  
  71. Any ideas?
  72.  
  73. Andrew
  74.  
  75. (p.s.  As I am not always here to read the replies, could you reply 
  76. direct to me?)
  77.  
  78. TIA
  79.  
  80.