home *** CD-ROM | disk | FTP | other *** search
/ Chip: Hang es video / CHIP_ZENESZERKESZTO_2005.ISO / audio_1 / softstep / softstep3.msi / Data1.cab / TestCom.ufn < prev    next >
Text File  |  2002-08-03  |  2KB  |  137 lines

  1. 4
  2. 0
  3. 0
  4. 0
  5. FOO="dumb"
  6. MSGTXT=""
  7. OUTNUM="0"
  8. TEMP=""
  9. 0. 
  10. 1. Test Com Out = letnum(outnum,in2),~txtlabel(outnum),~out(sendcom(in1,outnum))
  11. 2. Test COM In = getcom(foo,in1),~txtlabel(foo),~out(TxtNum(foo))~~~
  12. 3. 
  13. 4. Test Com On/Off = Switch(Rising(in2, in1), me+1,0),~Switch(Falling(in2,in1 + 5), me+2, 0)~~
  14. 5. Test Com On/Off = V0.(opencom(In1)),~LetNum(temp, In1),~Switch(V0, me+2, me+4)  ; get message text~LetStr(foo, "COM", temp, msgtxt),~TxtLabel(foo),~out(V0)   ; sends 1 for success, 0 for error~~
  15. 6. Test Com On/Off = V0.(CloseCom(in1)),~LetNum(temp, In1),~Switch(V0, me+2, me+3)  ; get message text~LetStr(foo, "COM", temp, msgtxt),~TxtLabel(foo)~out(V0)   ; sends 1 for success, 0 for error~
  16. 7. Set MsgTxt = LetStr(MsgTxt, " Open")
  17. 8. Set MsgTxt = LetStr(MsgTxt, " Closed")
  18. 9. Set MsgTxt = LetStr(MsgTxt, " Error")
  19. 10. 
  20. 11. 
  21. 12. 
  22. 13. 
  23. 14. 
  24. 15. 
  25. 16. 
  26. 17. 
  27. 18. 
  28. 19. 
  29. 20. 
  30. 21. 
  31. 22. 
  32. 23. 
  33. 24. 
  34. 25. 
  35. 26. 
  36. 27. 
  37. 28. 
  38. 29. 
  39. 30. 
  40. 31. 
  41. 32. 
  42. 33. 
  43. 34. 
  44. 35. 
  45. 36. 
  46. 37. 
  47. 38. 
  48. 39. 
  49. 40. 
  50. 41. 
  51. 42. 
  52. 43. 
  53. 44. 
  54. 45. 
  55. 46. 
  56. 47. 
  57. 48. 
  58. 49. 
  59. 50. 
  60. 51. 
  61. 52. 
  62. 53. 
  63. 54. 
  64. 55. 
  65. 56. 
  66. 57. 
  67. 58. 
  68. 59. 
  69. 60. 
  70. 61. 
  71. 62. 
  72. 63. 
  73. 64. 
  74. 65. 
  75. 66. 
  76. 67. 
  77. 68. 
  78. 69. 
  79. 70. 
  80. 71. 
  81. 72. 
  82. 73. 
  83. 74. 
  84. 75. 
  85. 76. 
  86. 77. 
  87. 78. 
  88. 79. 
  89. 80. 
  90. 81. 
  91. 82. 
  92. 83. 
  93. 84. 
  94. 85. 
  95. 86. 
  96. 87. 
  97. 88. 
  98. 89. 
  99. 90. 
  100. 91. 
  101. 92. 
  102. 93. 
  103. 94. 
  104. 95. 
  105. 96. 
  106. 97. 
  107. 98. 
  108. 99. 
  109. 100. 
  110. 101. 
  111. 102. 
  112. 103. 
  113. 104. 
  114. 105. 
  115. 106. 
  116. 107. 
  117. 108. 
  118. 109. 
  119. 110. 
  120. 111. 
  121. 112. 
  122. 113. 
  123. 114. 
  124. 115. 
  125. 116. 
  126. 117. 
  127. 118. 
  128. 119. 
  129. 120. 
  130. 121. 
  131. 122. 
  132. 123. 
  133. 124. 
  134. 125. 
  135. 126. 
  136. 127.
  137.