home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / BASIC / POWBASIC / LIBRARY1 / EXAMP2.ZIP / PB091390 < prev    next >
Text File  |  1990-09-13  |  6KB  |  168 lines

  1. all
  2. H#: 65354 S12/SPECTRA Publishing
  3.     12-Sep-90  18:48:42
  4. Sb: #65100-Peace and Quiet !
  5. Fm: John Watts 73760,751
  6. To: Paul Johnson 73577,646
  7.  
  8.  Thanks Paul, I'll start adding the space.  Do you, or does anyone, know of
  9.  the existance of some sorce code on a small editor that I might be able to
  10.  down load.  Like the editor in PB/TB ( same style ) or that could be
  11.  altered to match.  I spend all my editing time in PB, why should I learn
  12.  another set of commands when I want to write a letter.
  13.  
  14.                                                Thanks again
  15.                                                John
  16.  
  17.  
  18.  
  19.  
  20. Press <CR> for next or type CHOICES !
  21. H#: 65216 S12/SPECTRA Publishing
  22.     11-Sep-90  21:33:51
  23. Sb: #64617-#$Link & ^KP Questions
  24. Fm: Richard Kanarek 72371,111
  25. To: Barry Erick for Spectra 75300,214 (X)
  26.  
  27. Hello again!
  28. Regarding "bnk...", I have problems with my keyboard not typing
  29. what I want too! Sometimes it gets so bad that I have to use a
  30. spell checker! I guess they just don't make keyboards like they
  31. used to! :-)
  32. Regarding the no (int 21h, fun. 09h) printing without one or more
  33. blank lines at the end of the pb file...
  34.  
  35. Eeeek! Its a BUG!
  36.  
  37. Yes, I tried a program similar to the one I uploaded previously at work
  38. (i.e. on a geniune IBM PS/2 50z) and when it was compiled to memory
  39. (I never did try an exe file)...
  40. a) With one or more blank lines at the end of the *.bas file everything
  41. went smothly*.
  42. b) Without the blank line the assembler program never printed.
  43. *By `smothly' I mean it printed the text it was suposed to. As you
  44. already know, it doesn't print the text at the right spot on the
  45. first try, but thats a seperate issue.
  46.  
  47. Any comments from Spectra R&D???
  48.  
  49. On a seperate seperate issue, I was able to get the little test
  50. program up and running with minimum difficulty, as a result of the
  51. advice I've been receiving here! (I hope I'm not the only one)
  52. Thanks again!
  53.  
  54. P.S. Mr. Zale: I just read one of your posts about you adding better
  55. $LINK error messages to 2.10- Great idea!
  56.  
  57. There is 1 Reply.
  58.  
  59. Press <CR> for next or type CHOICES !
  60. H#: 65233 S12/SPECTRA Publishing
  61.     12-Sep-90  03:59:43
  62. Sb: #65216-$Link & ^KP Questions
  63. Fm: Barry Erick for Spectra 75300,214
  64. To: Richard Kanarek 72371,111 (X)
  65.  
  66. I ormally do not end with a blank line, or even a carriage return. Quite often,
  67. however, I will $Link in OBJ code at the end, rather then the beginning, of the
  68. file with an end before it so the debugger won't go off into la-la land by
  69. tracing into the obj code. Of course, when 2.10 comes out and you are doing
  70. this through an external debugger, it won't be a problem. Don't read this as
  71. the internal debugger will be gone; it is still there and better than ever.
  72.  --- Barry
  73.  
  74.  
  75.  
  76.  
  77. Press <CR> for next or type CHOICES !
  78. H#: 65141 S12/SPECTRA Publishing
  79.     11-Sep-90  13:03:35
  80. Sb: #65101-Structures
  81. Fm: Mason Landstreet 71220,1547
  82. To: Bob Zale: PowerBASIC R&D 76304,1303 (X)
  83.  
  84. Thanks Bob. I was just curious.
  85.  
  86. Mason
  87.  
  88. Press <CR> for next or type CHOICES !
  89. H#: 65130 S12/SPECTRA Publishing
  90.     11-Sep-90  10:48:58
  91. Sb: Wishes and a Buglet
  92. Fm: Bill Evans 70160,436
  93. To: Bill Harrison 71170,673 (X)
  94.  
  95. Bill:
  96.  
  97. I have used PBINST to define the following:
  98.        Ctrl Left Arrow = begin block
  99.         "   Right  "   = end    "
  100.         "   Down   "   = copy   "
  101.         "   Up     "   = move   " I think it is reasonbly intuitive.
  102.  
  103.        Bill
  104.  
  105.  
  106.  
  107. Press <CR> for next or type CHOICES !
  108. H#: 65332 S12/SPECTRA Publishing
  109.     12-Sep-90  16:55:21
  110. Sb: #POWER BASIC
  111. Fm: BRAD A ANDERSON 75216,614
  112. To: ALL
  113.  
  114. I have a couple of questions that I hope someone has the answers. I was trying
  115. to use ARRAY SORT on a 2 dimension array and found myself getting nowhere fast.
  116. I have an array of names and addresses eg. nm$(x,y) is it possible to use ARRAY
  117. SORT to sort the entire array based on any given field. For example can I sort
  118. the array based on city, state etc. If so, what am I missing. If you compile
  119. programs to chain programs, if you compile the main program as $FLOAT PROCEDURE
  120. you can then compile some of the chain files as PROCEDURE and some as EMULATE
  121. and all is ok but if you compile the main file as EMULATE you can't....any idea
  122. why this won't work? Also is it possible to pass a constant to an OBJ file. I
  123. have several programs (ASM) that I've written but when I call them I have to
  124. set a variable and then call. For example. X=1:call sample(x) ---- works ok
  125. call sample(1) -------- doesn't work Any idea why this is ?
  126.  
  127. There is 1 Reply.
  128.  
  129. Press <CR> for next or type CHOICES !
  130. H#: 65408 S12/SPECTRA Publishing
  131.     13-Sep-90  03:57:45
  132. Sb: #65332-POWER BASIC
  133. Fm: Barry Erick for Spectra 75300,214
  134. To: BRAD A ANDERSON 75216,614
  135.  
  136. I will attack the passing the constant first. It is possible to pass the
  137. constant to the .obj file, but is not recommended. This is because the passing
  138. methods can change from version to version, and it is best to pass the
  139. variable. However, you shouldbe able to pass this if you have declared all
  140. things as integers:
  141.   Defint a-z
  142.    Call sample(1) ' or
  143.    Call sample(1%)
  144.  
  145.  Most likely, your problem will go away if you make the 1 an integer with call
  146. smaple(1%).
  147.  
  148.    -- Barry
  149.  
  150.  
  151.  
  152.  
  153.  
  154. Press <CR> for next or type CHOICES !
  155. HPC Vendor B ForumHSections Menu
  156.  
  157. Section names (#subjs/# msgs)
  158.  1 Quarterdeck  (53/117)
  159.  3 Korenthal Assocs.  (1/2)
  160.  4 Personics Corp.  (12/24)
  161.  5 Quicksoft  (2/4)
  162.  6 TurboPower Software  (26/71)
  163.  7 ChipSoft, Inc.  (2/2)
  164.  8 DacEasy  (3/4)
  165. 10 J.P. Software  (23/71)
  166. 11 PDC Prolog  (5/8)
  167. 12 SPECTRA Publishing  (5/7)
  168. HEnter choice(s) or ALL !