home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d916 / mathplot.lha / MathPlot / Macros / test5.rexx < prev    next >
OS/2 REXX Batch file  |  1993-10-04  |  875b  |  45 lines

  1. /* Test of requeststring and requestnumber etc. */
  2. address "MPlot_ARexx"
  3.  
  4. options results
  5.  
  6. requeststring
  7. say rc rc2 result
  8.  
  9. requeststring 'prompt "Just a little Test"'
  10. say rc rc2 result
  11.  
  12. requeststring 'default "This is a DEFAULT-text"'
  13. say rc rc2 result
  14.  
  15. requestnumber
  16. say rc rc2 result
  17.  
  18. requestnumber 'default "524"'
  19. say rc rc2 result
  20.  
  21. requestnumber 'prompt "Enter a number"'
  22. say rc rc2 result
  23.  
  24. requestnumber 'default "45645" prompt "A big question"'
  25. say rc rc2 result
  26.  
  27. /* This will return an ERROR */
  28. /*
  29. say "There should be an error"
  30. requestresponse
  31. say rc rc2 result
  32. */
  33.  
  34. requestresponse 'title "This is the Title" prompt "I*Nask*Nyou*Nsomething" button "OK|CANCEL"'
  35. say rc rc2 result
  36.  
  37. requestresponse 'prompt "A test" button "ok"'
  38. say rc rc2 result
  39.  
  40. requestresponse 'prompt "A test"'
  41. say rc rc2 result
  42.  
  43. requestnotify 'prompt "This it the text"'
  44. /* There is not result */
  45.