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

  1. all
  2. H#: 63920 S12/SPECTRA Publishing
  3.     04-Sep-90  16:55:31
  4. Sb: #63780-#Peace and Quiet !
  5. Fm: JOHN E. SHIREY 75676,223
  6. To: Barry Erick for Spectra 75300,214 (X)
  7.  
  8. Barry:
  9.      Perhaps it would be better to wait for version 2.10. How soon will it be
  10. released?
  11.                             -----J.Shirey
  12.  
  13. There is 1 Reply.
  14.  
  15. Press <CR> for next or type CHOICES !
  16. H#: 63966 S12/SPECTRA Publishing
  17.     04-Sep-90  22:18:54
  18. Sb: #63920-Peace and Quiet !
  19. Fm: Barry Erick for Spectra 75300,214
  20. To: JOHN E. SHIREY 75676,223
  21.  
  22.  Hmm, I would guess pretty soon! Really should be within a few weeks at the
  23. most. Bob can say more, or tell me to quiet down.
  24.  -- Barry
  25.  
  26.  
  27.  
  28. Press <CR> for next or type CHOICES !
  29. H#: 63838 S12/SPECTRA Publishing
  30.     04-Sep-90  09:06:33
  31. Sb: #63702-#Peace and Quiet !
  32. Fm: Mason Landstreet 71220,1547
  33. To: Bob Zale: PowerBASIC R&D 76304,1303 (X)
  34.  
  35. Bob,
  36.  
  37. Since I do use graphics and I do have a library built that I $INCLUDE in many
  38. of my apps I can't seem to get much relief of the memory crunch without taking
  39. each program and figuring out just which pieces of the library are needed. I
  40. geuss 'C' has just spoiled me from that standpoint. I do use Power basic for
  41. little quick and dirty stuff but I just can't takethe time to disect my library
  42. or play memeory games.
  43.  
  44. The following are a few of PB2.10 thoughts:
  45.   1. A paging compiler.
  46.   2. Use only necessary routines out of "standard" object libraries.
  47.   3. Compatibility with other language libraries.
  48.   4. Desqview API interface.
  49.   5. Windows 3.0 interface.
  50.   6. OS/2 (and PM) interface.
  51.  
  52. Thanks .............................................. Mason
  53.  
  54.  
  55.  
  56. There is 1 Reply.
  57.  
  58. Press <CR> for next or type CHOICES !
  59. H#: 63840 S12/SPECTRA Publishing
  60.     04-Sep-90  09:56:01
  61. Sb: #63838-#Peace and Quiet !
  62. Fm: Barry Erick for Spectra 75300,214
  63. To: Mason Landstreet 71220,1547 (X)
  64.  
  65. mason,
  66.  Any wishes will have to wait for something other than 2.10, since that is
  67. soooo close to becoming real. I do hope that a an optional obj lib can be made,
  68. and can be used. Most of what you state I agree with.
  69.      --- Barry
  70.  
  71.  
  72.  
  73.  
  74. There is 1 Reply.
  75.  
  76. Press <CR> for next or type CHOICES !
  77. H#: 63936 S12/SPECTRA Publishing
  78.     04-Sep-90  18:03:05
  79. Sb: #63840-#Peace and Quiet !
  80. Fm: Richard Thompson 73200,3071
  81. To: Barry Erick for Spectra 75300,214 (X)
  82.  
  83. Hi Barry,
  84.  
  85.      I don't have a problem but I would like to ask a question.  I've seen so
  86. many books on how to learn basic.  Can you make a recommendation on which one
  87. would be most closely related to Power Basic?  I've seen a number of them for
  88. GW-Basic and a few for just Basic.
  89.  
  90.      I am a real novice at basic programming so I'll need something that starts
  91. out on the ground floor.  I've fooled around a little with GW-Basic but wanted
  92. more flexibility.  Your program was recommended to me by my dealer but I need a
  93. good How To book to get me going.
  94.  
  95.                                                  Thanks,
  96.                                                   Rich
  97.  
  98.  
  99.  
  100. There is 1 Reply.
  101.  
  102. Press <CR> for next or type CHOICES !
  103. H#: 63967 S12/SPECTRA Publishing
  104.     04-Sep-90  22:19:03
  105. Sb: #63936-Peace and Quiet !
  106. Fm: Barry Erick for Spectra 75300,214
  107. To: Richard Thompson 73200,3071
  108.  
  109. I don't think there is a book on PowerBASIC, however the manuals with
  110. PowerBASIC are fantastic. You may be able to find a book on Turbo Basic
  111. (Computes! USING TurboBasic, or Borland/Osborne 's Using Turbo Basic, or one of
  112. three others) since PB is a upgrade from TB. This means most of the TB stuff
  113. will work in PB, except for the string maipulations in inline. You won't see
  114. anything on OBJ code interfacing in those, however, or any of the new PB stuff.
  115. While the PB manuals do not teach BASIC, they are a great reference material,
  116. and the user guide does have examples for each item.
  117.      -- Barry
  118.  
  119.  
  120.  
  121.  
  122. Press <CR> for next or type CHOICES !
  123. H#: 63909 S12/SPECTRA Publishing
  124.     04-Sep-90  16:17:51
  125. Sb: #63808-#$Link & ^KP Questions
  126. Fm: Richard Kanarek 72371,111
  127. To: Barry Erick for Spectra 75300,214 (X)
  128.  
  129. First, as always, thanks for the reply! Though I haven't tried it yet,
  130. I have every confidence that you advice will cure the data problem.
  131. Regarding the error message, I think that something might be missing
  132. from your post. What I read was: " you'll see this error message in the
  133. next version of PB, and you'll be happy to be using td without the error
  134. message you saw." If I'll be seeing the error message in the next version
  135. how can I be "happy to be using td WITHOUT the error message..."?
  136. Regarding the print problem:
  137. When I press the print screen keys the cursor fly's across the screen as
  138. if the computer is going to print out something but instead of printing
  139. the cursor returns to the top of the screen and stays there- forever!
  140. When trying to use ^KP PB says that its "Printing..." and thats all it
  141. ever says (or does) until I turn my computer on and off! Also, after I
  142. run PB I don't believe I can ever print anything again! (I can remember
  143. tring (and failing) to use the printer after using PB but I can't say
  144. off hand if I had actually left PB or if I was in its shell.) My computer
  145. is a Heath/Zenith 148 using a parallel printer (epson).
  146. Thanks again for the quick reply!
  147. Cordially, Richard Kanarek
  148.  
  149. There are 2 Replies.
  150.  
  151. Press <CR> for next or type CHOICES !
  152. H#: 63910 S12/SPECTRA Publishing
  153.     04-Sep-90  16:23:44
  154. Sb: #63909-$Link & ^KP Questions
  155. Fm: Richard Kanarek 72371,111
  156. To: Richard Kanarek 72371,111 (X)
  157.  
  158. [Continued from last message]
  159. P.S. In case your intrested, the computer isn't being run with any TSR's-
  160. in fact, frequently PB is the first program of any kind to be run on
  161. my computer after it is booted.
  162.  
  163. Press <CR> for next or type CHOICES !
  164. H#: 63968 S12/SPECTRA Publishing
  165.     04-Sep-90  22:19:13
  166. Sb: #63909-$Link & ^KP Questions
  167. Fm: Barry Erick for Spectra 75300,214
  168. To: Richard Kanarek 72371,111
  169.  
  170. Richard,
  171.  The heath/Zenith... I do know that machine does not have a standard internal
  172. hardware printer port, but the bios should be doing the print screen. I do not
  173. know if ^Kp uses direct hardware writing, or the bios. However, the print
  174. screen should not be in trouble. If PB stole anypart of the printer dirver, I
  175. do not think that would get in the way of a print screen. Bob would have better
  176. insight on this.  I'd also be interested in his thoughts since it would be more
  177. insight into PB.
  178.  About td, well , if you had the error message, you would not ned td, but if
  179. you had anything you neede to look at in the obj code, you could easily trace
  180. thru it and PB's source code with PB.
  181.  -- Barry
  182.  
  183.  
  184.  
  185.  
  186. Press <CR> for next or type CHOICES !
  187. H#: 63963 S12/SPECTRA Publishing
  188.     04-Sep-90  21:17:59
  189. Sb: #63808-#$Link & ^KP Questions
  190. Fm: Richard Kanarek 72371,111
  191. To: Barry Erick for Spectra 75300,214 (X)
  192.  
  193. Hello again! Remember me? :-)
  194. Perhaps when I said that I was sure that your advice would work I was
  195. being slightly too confident! Eliminating the DSEG and putting everything
  196. in CSEG resulted in error 507 (Invalid $Link file). Not being
  197. prepaired to try and guess which of the 1800 lines PB doesn't like
  198. $linking I decided to experiment on a smaller test. Although it $links
  199. okay, it doesn't run properly! Perhpas if you (anyone) can help me
  200. figure out how to fix the little puppy (below) I can figure out how
  201. to fix the big dog on my own (I can dream, can't I?).
  202. See (m)any mistakes?!?
  203. PB file: (This complies okay (it doesn't even crash when run!)
  204.         Unfortunatly none of the text which `asmbinfo' is suposed to
  205.         display is displayed!
  206. cls
  207. declare sub asmbinfo()
  208. ? "testing..."
  209. call asmbinfo
  210. beep
  211. end
  212. $link "a:gp.obj"
  213. Assembly Language file:
  214. .8086
  215. jumps
  216. LOCALS
  217. NOWARN RES
  218. CSEG segment BYTE
  219. ASSUME CS:CSEG,DS:CSEG
  220. gen_info        db        "File: ","$" ;I never was able to find "File"
  221.                                      ; in memory (using TD)!
  222. asmbinfo proc FAR
  223. public asmbinfo
  224. push ax
  225. push bx
  226. push cx
  227. push dx
  228. push bp ;Thanks for the reminder!
  229. push ds
  230. pushf
  231. mov ax,CSEG
  232. mov ds,ax
  233. mov dx,OFFSET [gen_info]
  234. mov ax,0900h
  235. int 21h
  236. popf
  237. pop ds
  238. pop bp
  239. pop dx
  240. pop cx
  241. pop bx
  242. pop ax
  243. retf
  244. asmbinfo endp
  245. ;------Asmbinfo [End]----------------------
  246.         CSEG ends
  247.         end
  248.  
  249.  
  250. There is 1 Reply.
  251.  
  252. Press <CR> for next or type CHOICES !
  253. H#: 63969 S12/SPECTRA Publishing
  254.     04-Sep-90  22:19:29
  255. Sb: #63963-$Link & ^KP Questions
  256. Fm: Barry Erick for Spectra 75300,214
  257. To: Richard Kanarek 72371,111
  258.  
  259. here is what I did to make it work:
  260.  Note: That DS is NOT assumed. It is left as is
  261.  
  262.  
  263.  $debug map on
  264.  armupdate:
  265.    on timer(1) gosub update
  266.    timer on
  267.  armhelp:
  268.   key 15,chr$(&H08,&H23)
  269.   on key(15) gosub Hlp
  270.   key(15) on
  271.   declare sub Asmbinfo()
  272.  mainscreen:
  273.   cls
  274.   ? "Several lines of print"
  275.   call asmbinfo
  276.  end
  277.   hlp:
  278.    ? "So you need help"
  279.    return
  280.  update:
  281.    beep
  282.    return
  283.    end
  284.    $link "rtest.obj"
  285.  
  286. ; test for cis prog from richard kanarek 72371,111
  287.  
  288.  .8086
  289.  jumps
  290.  locals
  291.  nowarn res
  292.  cseg  segment byte
  293.  assume cs:cseg
  294.   asmbinfo proc far
  295.   public asmbinfo
  296.         push bp
  297.         push ds
  298.         push ax
  299.         push bx
  300.         push cx
  301.         push dx
  302.         pushf
  303.         mov ax,cseg
  304.         mov ds,ax
  305.         mov dx,offset [gen_info]
  306.         mov ax,0900h
  307.         int 21h
  308.         popf
  309.         pop dx
  310.         pop cx
  311.         pop bx
  312.         pop ax
  313.         pop ds
  314.         pop bp
  315.         retf
  316.         asmbinfo endp
  317.         cr equ 13
  318.         lf equ 10
  319.         gen_info   db  'File: ',??filename,'Date: ',??date,'Time : ',??time
  320.         db  cr,lf,"(so I'll know what ver is linked into any"
  321.         db  '*.EXE program this s linked into.)',cr,lf,"$",0
  322.        ends
  323.        end
  324.  
  325.  
  326.  
  327.  
  328. Press <CR> for next or type CHOICES !
  329. H#: 63952 S12/SPECTRA Publishing
  330.     04-Sep-90  19:41:19
  331. Sb: Wishes and a Buglet
  332. Fm: Bill Harrison 71170,673
  333. To: Bob Zale 76304,1303 (X)
  334.  
  335. Wishes: 1) A better way to print a program than marking the whole file and then
  336. hitting Ctrl K-P or at least an optional
  337.            Form Feed added at the end so multiples can be printed
  338.               without having to manually form feed.
  339.         2) Keystroke Macro capability (record and playback).  I could do 1 with
  340. this by assigning Ctrl PGup Ctrl K-B Ctrl PGdn
  341.            Ctrl K-K Ctrl K-P to something like AltP.
  342.         3) Date Functions 
  343.            a) given a date return Weekday
  344.            b) given a date return number of days since 1/1/80
  345.            c) given a number return the date based on 1/1/80
  346.  
  347. Buglet:  Help says that as an alternate to Ctrl K-B, F7 can be used
  348.          to mark the start of a block and instead of Ctrl K-K, F8 can    be
  349. used to mark the end.  Both perform the same function as F9(Compile and Run the
  350. program).  This is really annoying
  351.          because I can never remember which is which when marking.
  352.          But I can remember F7 to start and F8 to end marking.    
  353.  
  354. Press <CR> for next or type CHOICES !
  355. HPC Vendor B ForumHSections Menu
  356.  
  357. Section names (#subjs/# msgs)
  358.  1 Quarterdeck  (46/81)
  359.  3 Korenthal Assocs.  (6/13)
  360.  4 Personics Corp.  (9/12)
  361.  5 Quicksoft  (7/9)
  362.  6 TurboPower Software  (21/45)
  363.  7 ChipSoft, Inc.  (1/1)
  364.  8 DacEasy  (3/4)
  365.  9 Vestronix  (1/1)
  366. 10 J.P. Software  (9/16)
  367. 11 PDC Prolog  (3/4)
  368. 12 SPECTRA Publishing  (3/12)
  369. HEnter choice(s) or ALL !