home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / open / prog.lzh / PROG.CNF
Encoding:
Text File  |  1988-09-20  |  674.1 KB  |  18,014 lines

  1.  
  2.  
  3. P = pause/unpause, S = abort
  4.  
  5.    conf: PROGRAMMING LANGUAGES  #5187  05-25-88  17:08  (Read 116 times)
  6.    from: LEE THOMPSON
  7.      to: JON GRAY (Rcvd)
  8. subject: R: TURBO PASCAL  Reply to #5124
  9.  
  10. Jon,
  11.  
  12. Sorry I can't help you convert the code to TP4.  What I can do is suggest
  13. some new code specially written for TP4.  Two librarys for code that I have
  14. found to be excellent are 1) Turbo Professional v4.0 written by Turbo Power
  15. and 2) Boosters v4 by George F. Smith & Co.  I think you will find
  16. everything you got from your book plus some new things in these librarys.
  17.  
  18. I've seen ads for Turbo Pro 4 in a few magazines.  For Turbo Boosters you
  19. have to contact George.  Boosters started out as shareware.  In fact you
  20. can find original versions written for Turbo 3 in the Pc-Sig collection
  21. right here on this board.  Everything is now written in assembly and comes
  22. in a unit.
  23.  
  24. If you need address's for either place let me know.  I can come up with
  25. them.
  26.  
  27. -Lee
  28. ---------------
  29.  
  30.    conf: PROGRAMMING LANGUAGES  #5203  05-26-88  20:57  (Read 112 times)
  31.    from: JON GRAY
  32.      to: PAUL ZIMMERMAN (Rcvd)
  33. subject: R: R: TURBO PASCAL  Reply to #5179
  34.  
  35. Thanks Paul,  I was afraid of that.  I just thought I would find
  36. out before I went ahead and did the re-write.  I still don't
  37. understand why the assembler code would'nt work.  Or does
  38. that also rely on the workings of non-relocatable code ?
  39.   
  40. Thanks - J. Gray
  41.  
  42. >>>>>>>>>> Msg 5187 reply #1  >>>Last msg in reply thread.
  43. Returning to normal sequence.
  44.  
  45.    conf: PROGRAMMING LANGUAGES  #5188  05-25-88  23:08  (Read 101 times)
  46.    from: PHIL KATZ
  47.      to: PAUL ZIMMERMAN (Rcvd)
  48. subject: R: R: PATH LOADED  Reply to #5178
  49.  
  50. Paul,
  51.  
  52. A TSR can de-allocate it's COPY of the environment, but not the
  53. global environment.  Since PKSFX 3.5 uses the argv[0] parameter
  54. under DOS 3.x (which is read from the end of the environment)
  55. I have received a few scattered reports of PKSFX failing when
  56. older TSR's are loaded.  After tracking the problem down, I am
  57. relatively certain that these programs are fooling with what
  58. was "unallocated or reserved" memory under DOS 2.x, but is used
  59. in DOS 3.x for the drive/path stored after the environment.  I have
  60. written my own TSR's that free their copy of the environment with
  61. no problems.  The only other possibility is that these TSR's are
  62. taking over part of the EXEC loader or the memory allocation manager
  63. in DOS and not properly allocating or filling in the string after
  64. the environment.
  65.  
  66. >Phil>
  67. ---------------
  68.  
  69.    conf: PROGRAMMING LANGUAGES  #5197  05-26-88  19:42  (Read 96 times)
  70.    from: PAUL ZIMMERMAN
  71.      to: PHIL KATZ (Rcvd)
  72. subject: R: R: PATH LOADED  Reply to #5188
  73.  
  74. "Global Environment"??? You make it sound as if MS did something right...
  75. :-) Yes, I know that each program has it's own copy of the Env and that is
  76. the ONLY thing it can deallocate. But it is also the ONLY copy of the
  77. environment that will contain that program's EXEC string (once it is TSR'ed). So, if one is
  78. looking for the path a program is executed from that is the only copy that
  79. matters. (Unless the more exotic method you mention is used...) It is too
  80. bad that there is no documented (i.e. - SUPPORTED) method of accessing the
  81. "original" environment instead of a copy (of a copy of a copy.... ad
  82. nauseum).
  83.    I am puzzled how a TSR could mess with the environment of ANOTHER
  84. program, though. That would take extremely tricky (and purposeful)
  85. programming, methinks. Why would someone do that? I suspect your second
  86. possibility is much more likely the cause. (I am not an experienced TSR
  87. programmer, but I have heard that there are ways to "manage"TSR status by
  88. keeping a few DOS functions like EXEC under surveillance...)
  89.                                                            Paul
  90.  
  91. >>>>>>>>>> Msg 5188 reply #1
  92.  
  93.    conf: PROGRAMMING LANGUAGES  #5200  05-26-88  19:40  (Read 103 times)
  94.    from: JOE VINCENT
  95.      to: PAUL ZIMMERMAN (Rcvd)
  96. subject: R: R: PATH LOADED  Reply to #5178
  97.  
  98. Paul, since TSRs DO contain a copy of the environment, I load all of my
  99. TSRs in my AUTOEXEC *before* I do my PATH and SET commands.  IF you MUST
  100. load TSRs after your AUTOEXEC executes, it's a good idea to use
  101. MARK/RELEASE to put a MARK *below* your belatedly loaded TSR so that you
  102. can RELEASE the TSR later, when it's no longer needed.
  103.  
  104. >>>>>>>>>> Msg 5188 reply #2
  105.  
  106.    conf: PROGRAMMING LANGUAGES  #5216  05-27-88  19:45  (Read 103 times)
  107.    from: PAUL ZIMMERMAN
  108.      to: JOE VINCENT (Rcvd)
  109. subject: R: R: PATH LOADED  Reply to #5200
  110.  
  111. That is a good idea for handling the old or not very well designed TSRs. It
  112. might be best to even wipe out COMSPEC before loading them & then restore
  113. it afterwards. Then the ENV might be "zero" even if it wasn't
  114. deallocated.... But a good TSR can drop its environment with a few lines of
  115. code. Just get the Env pointer out of the PSP and feed it to the DOS
  116. deallocate function!
  117.                                                  Paul
  118.  
  119. >>>>>>>>>> Msg 5188 reply #3
  120.  
  121.    conf: PROGRAMMING LANGUAGES  #5224  05-28-88  10:13  (Read 108 times)
  122.    from: JOE VINCENT
  123.      to: PAUL ZIMMERMAN (Rcvd)
  124. subject: R: R: PATH LOADED  Reply to #5216
  125.  
  126. You're right, Paul, it's easy for a TSR to drop its environment.  The
  127. problem is that we don't write every TSR we use -- we're dependent on what
  128. the author has done.  Rather than attempt to figure out whether a given TSR
  129. drops its environment or not, I load them before I load my environment.
  130.  
  131. Interesting point about doing COMSPEC later on, as well.
  132.  
  133. >>>>>>>>>> Msg 5188 reply #4  >>>Last msg in reply thread.
  134. Returning to normal sequence.
  135.  
  136.    conf: PROGRAMMING LANGUAGES  #5189  05-25-88  23:17  (Read 115 times)
  137.    from: PHIL KATZ
  138.      to: TOM FELLER (Rcvd)
  139. subject: R: R: MICROSOFT BUGS MAS  Reply to #5180
  140.  
  141. Tom,
  142.  
  143. Have you seen the latest issue of Dr. Dobbs Journal??  They
  144. review a half dozen or so "optimizing" C compilers, and test
  145. several different types of optimizations and how well each
  146. compiler performed at each.
  147.  
  148. Not suprisingly, MSC 5.0 blew away Turbo C in nearly every test.
  149. Granted, if you like wimpy integrated environments, Turbo C
  150. is nicer to use than Quick C, but if you want a compiler that
  151. produces professional quality code, MSC is hard to beat.  Suprisingly,
  152. the only compiler that gave MSC any competition was WATCOM C.
  153.  
  154. Furthermore, no one writes bug free code.  The more complex the
  155. application, the odds of minor subtle bugs appearing increases
  156. exponentially.  What debugging tools do you have with Turbo C?
  157. PRINTF!!??  Come on!  Hopefully Borland will be able to come
  158. out with a debugger for Turbo C soon, and an OS/2 compiler for
  159. Turbo C, if they are to stay in the C business.
  160.  
  161. >Phil>
  162. ---------------
  163.  
  164.    conf: PROGRAMMING LANGUAGES  #5190  05-25-88  23:37  (Read 111 times)
  165.    from: GRANT ELLSWORTH
  166.      to: PHIL KATZ (Rcvd)
  167. subject: R: R: MICROSOFT BUGS MAS  Reply to #5189
  168.  
  169. Phil, see latest issue of Computer Languages - good comments there on
  170. WATCOM C.  Looks like a real good package for much less $$$ than MSC.
  171. And certainly functionally and performancewise, very competitive.
  172.  
  173. By the way, there is a way to use COdeview with TC (for the stubborn  and
  174. CHEEP, like me) - and that is MS ASM w/codeview and compiling TC with the
  175. ASM source output option.  I don't call it great - but it is quite usable.
  176.  
  177. BTW, are you now ready to kiss the good ol' .COM files good bye with only a
  178. minor tear?  Grant
  179.  
  180. >>>>>>>>>> Msg 5189 reply #1
  181.  
  182.    conf: PROGRAMMING LANGUAGES  #5191  05-25-88  23:47  (Read 106 times)
  183.    from: GRANT ELLSWORTH
  184.      to: CHARLES PERRIN (Rcvd)
  185. subject: R: R: MICROSOFT BUGS MAS  Reply to #5182
  186.  
  187. Charles, your point 2) on AT&T is a very apt description of UNIX - let's
  188. add "fumble fingers" to the noise - and sqAWK - you have the picture!. GE
  189.  
  190. >>>>>>>>>> Msg 5189 reply #2
  191.  
  192.    conf: PROGRAMMING LANGUAGES  #5192  05-26-88  00:38  (Read 110 times)
  193.    from: PHIL KATZ
  194.      to: GRANT ELLSWORTH (Rcvd)
  195. subject: R: R: MICROSOFT BUGS MAS  Reply to #5190
  196.  
  197. Grant,
  198.  
  199. When I saw that WATCOM C can pass parameters to subroutines in
  200. registers, I started to drool!  While I know very little about
  201. WATCOM C, it does look very, very interesting.
  202.  
  203. Anyway, I have come to learn to live with .EXE files.  The next
  204. version of PKARC/PKXARC will be .EXE files.  My only concern
  205. is that everyone who has older PKARC.COM and PKXARC.COM files
  206. will simply copy PKARC.EXE and PKXARC.EXE v3.6 files into the
  207. same directory.  When they type in PKARC, the .COM file will
  208. run and NOT the EXE.
  209.  
  210. I know that even if I put this in triple bold blinking 72 point
  211. size letters in the documentation, that someone will miss it
  212. and call me asking why PKARC 3.6 says PKARC 3.5 . . . .
  213.  
  214. >Phil>
  215.  
  216. >>>>>>>>>> Msg 5189 reply #3
  217.  
  218.    conf: PROGRAMMING LANGUAGES  #5194  05-26-88  05:17  (Read 109 times)
  219.    from: CHARLES PERRIN
  220.      to: GRANT ELLSWORTH (Rcvd)
  221. subject: R: R: MICROSOFT BUGS MAS  Reply to #5190
  222.  
  223. I wish WATCOM would bring out a FORTRAN compiler for the same price....
  224.  
  225. >>>>>>>>>> Msg 5189 reply #4
  226.  
  227.    conf: PROGRAMMING LANGUAGES  #5195  05-26-88  05:21  (Read 107 times)
  228.    from: CHARLES PERRIN
  229.      to: PHIL KATZ (Rcvd)
  230. subject: R: R: MICROSOFT BUGS MAS  Reply to #5192
  231.  
  232. Go down their PATH on a search and destroy mission.  (Put it into a
  233. customized version of PKX??A??.EXE which is your PKSFX code slightly
  234. modified.....)  Send out a message that "WARNING:  OBSOLETE PKWARE
  235. DETECTED!!!!!!" and if they don't delete it, they only have themselves
  236. to blame!!!!!
  237.  
  238. >>>>>>>>>> Msg 5189 reply #5
  239.  
  240.    conf: PROGRAMMING LANGUAGES  #5199  05-26-88  19:45  (Read 102 times)
  241.    from: PAUL ZIMMERMAN
  242.      to: TOM FELLER (Rcvd)
  243. subject: R: R: MICROSOFT BUGS MAS  Reply to #5180
  244.  
  245. I *like* that observation.... It is totally true, I think. You use a
  246. debugger to poke around in someone ELSE'S code, you use printing & breaks &
  247. drivers, etc. to debug your own stuff. Still, CodeView has its uses. Just
  248. think what you can learn about MS own compiler libraries with it...
  249.                                                                Paul
  250.  
  251. >>>>>>>>>> Msg 5189 reply #6
  252.  
  253.    conf: PROGRAMMING LANGUAGES  #5201  05-26-88  19:46  (Read 109 times)
  254.    from: JOE VINCENT
  255.      to: TOM FELLER (Rcvd)
  256. subject: R: R: MICROSOFT BUGS MAS  Reply to #5180
  257.  
  258. Tom, I put bugs in programs through errors rather than ignorance.  If you
  259. program in mixed language environments (e.g., writing portions of a program
  260. in MSC, QB 4.0 and Assembly) and never make a mistake subtle enough to
  261. require Codeview or another comparable debugger, I salute you.  I've been
  262. in the computer business for nearly 30 years and have seen many a cocky
  263. programmer crash and burn.  If you had been around when we still used
  264. coding pads, I'll bet you would have coded your programs in ink.
  265.  
  266. >>>>>>>>>> Msg 5189 reply #7
  267.  
  268.    conf: PROGRAMMING LANGUAGES  #5205  05-26-88  23:39  (Read 108 times)
  269.    from: TOM FELLER
  270.      to: PHIL KATZ (Rcvd)
  271. subject: R: R: MICROSOFT BUGS MAS  Reply to #5189
  272.  
  273. As far as the fastest code MSC usualy is faster than turboC.
  274. However, TurboC always produces a smaller EXE file and smaller
  275. run time code. With the current 640K limit the smaller code
  276. has a edge over a slightly faster code. If you look at the
  277. June issue of Dr. Dobb's you will see a Turbo C beat MSC
  278.  5.0 in compile time, object code size, execution size and
  279. link time and execute time!
  280. For a Heap sort the break down is:
  281.         TC 1.5       MSC 5.0
  282. Compile  4.7sec       16.3 sec
  283. + link   7.4sec       19.5sec
  284. run      10.5sec      15.5sec
  285. .OBJ     1119         1313
  286. .EXE     6392         7891
  287. So, TurboC was the winner!
  288. I also hear that Borland will have a debugger in months.
  289. I also contend that OS/2 will not become popular for
  290. another year or so. With the DRAM prices going up almost
  291. every day, the average user will never see OS/2.
  292. Many companies will also think twice before they spend
  293. lots of money for a operating system with almost no
  294. applications. Also most software houses will continue
  295. to support MS-DOS if they want to stay in business.
  296. Thus, until applications that are only available on
  297. OS/2 surpass the DOS applications, I see no reason
  298. to get it. As for the debugger that comes with QuickC
  299. , I hear it has bugs. A letter in DDJ said:
  300. "The Quick C debugger developed a case of frozen screen
  301. with funny looking symbols .. appearing at random".
  302. I wonder if Code View is any better.
  303. As for using Code View for every bug that pops up.
  304. I think it would be foolish to slow down your debugging
  305. process by doing so. I admit that for the more difficult
  306. bugs it may be usefull, if it avoids "funny looking symbols".
  307. Well thats it, I'm all talked out, any reply??
  308. Tom Feller
  309.  
  310. >>>>>>>>>> Msg 5189 reply #8
  311.  
  312.    conf: PROGRAMMING LANGUAGES  #5206  05-26-88  23:44  (Read 104 times)
  313.    from: PAT SHEA
  314.      to: JOE VINCENT (Rcvd)
  315. subject: R: R: MICROSOFT BUGS MAS  Reply to #5201
  316.  
  317. Joe...
  318. 'sorry to butt in on this, but I'm just glad to hear from/about someone of
  319. my vintage in this business.  I personally think that the best 'bugging
  320. environment that ever existed was the IBM 650... you could ALWAYS tell
  321. zactly where it was and what it was doin' and do retrofit on the fly from
  322. the console.  BTW... did you start in BCPL also ???
  323. pat shea
  324.  
  325. >>>>>>>>>> Msg 5189 reply #9
  326.  
  327.    conf: PROGRAMMING LANGUAGES  #5207  05-26-88  23:53  (Read 105 times)
  328.    from: TOM FELLER
  329.      to: JOE VINCENT (Rcvd)
  330. subject: R: R: MICROSOFT BUGS MAS  Reply to #5201
  331.  
  332. Why do you use QB 4.0?? I think Basic should be removed from the
  333. face of the earth. It is a recalcitrant language that contains
  334. GOTO statements. I would need a debugger if I had the ignorance
  335. to use basic. With the spaghetti code thats produced with that
  336. primitive language, its a wonder that you can follow it at all.
  337. Anyone who has worked in basic is in danger being brain dammaged.
  338. However, you can program in assembly, if you need to, and link
  339. it into TurboC. And you can also interface TurboC with
  340. Turbo Pascal and Turbo Prolog for AI applications. I would not
  341. program in Basic if that was the only language available.
  342. I would find another profession!
  343. So, why on earth do you use Basic? (yucch)
  344.  
  345. >>>>>>>>>> Msg 5189 reply #10
  346.  
  347.    conf: PROGRAMMING LANGUAGES  #5208  05-27-88  01:42  (Read 105 times)
  348.    from: CHARLES PERRIN
  349.      to: TOM FELLER (Rcvd)
  350. subject: R: R: MICROSOFT BUGS MAS  Reply to #5207
  351.  
  352. The "recalcitrant" language CONTAINS the GOTO statement but that
  353. does NOT mandate its use.  It generates quite good code (Quick Basic
  354. 4.0) and has the advantage of having a separate run-time module
  355. (thereby NOT cluttering the disk with huge .EXE files!).
  356. If you can recover from your arrogance, borrow a QB4 manual and
  357. note the functionality.  It does all the things a C compiler will
  358. do AFTER you get a few hundred $$$ of libraries to work the
  359. deficiencies of the C compiler....
  360.  
  361. >>>>>>>>>> Msg 5189 reply #11
  362.  
  363.    conf: PROGRAMMING LANGUAGES  #5210  05-27-88  02:34  (Read 119 times)
  364.    from: PHIL KATZ
  365.      to: TOM FELLER (Rcvd)
  366. subject: R: R: MICROSOFT BUGS MAS  Reply to #5205
  367.  
  368. Tom,
  369.  
  370. I own Turbo C, MSC, and even Lattice C.  I have compiled many
  371. programs, and MSC generates consistently smaller code.  MSC
  372. performs redundant code elimination, which Turbo C does not.
  373. Take for example, the following switch() statement:
  374.  
  375. switch (i) {
  376.   case 37:
  377.     corbinate();
  378.     printf("Hi Mom");
  379.     do_massive_calcs(x,y,z,20*g/3.14159,gmtime());
  380.     break;
  381.   case 119:
  382.     reformat_disk();
  383.     do_massive_calcs(x,y,z,20*g/3.14159,gmtime());
  384.     break;
  385.   case 666:
  386.     self_destruct();
  387.     break;
  388.   }
  389.  
  390. Turbo C will not optimize this code at all, even though the
  391. tail portions of the first two cases are identical.  MSC will
  392. generate one call to do_massive_calcs, and jump to this call
  393. in the second case.  This type of redundant code removal is
  394. not limited to switch() statements either.  I have seen MSC
  395. apply this in nested control structures such as while, do-while,
  396. and if-then-else statements as well.  While the above example is
  397. somewhat contrived, I have seen MSC apply this type of optimization
  398. on code where redundancy wasn't apparent at all in the source code.
  399.  
  400. Turbo C doesn't even come close to MSC's loop optimizations
  401. either.  I have seen MSC use not only enregister variables
  402. in SI and DI like Turbo does, but MSC also uses BX,CX and DX
  403. if possible.
  404.  
  405. When developing PKARC/PKXARC 3.6 I tried using both Turbo C
  406. and MSC.  Since the parts of PKxxxx that have to be FAST! are
  407. written in assembly anyway, what I was looking for was smallest
  408. possible code generated.  MSC 5.0 generated 5-15% smaller code
  409. than Turbo C in all cases.
  410.  
  411. I don't hate Turbo C or anything, and think for most applications
  412. it is a nice compiler.  However, Borland has a little ways to go
  413. before they create a complete, professional system.  On the other
  414. hand, Turbo C is ideal for hobbyists.  I guess it depends what
  415. you're doing.
  416.  
  417. >Phil>
  418.  
  419. >>>>>>>>>> Msg 5189 reply #12
  420.  
  421.    conf: PROGRAMMING LANGUAGES  #5211  05-27-88  18:55  (Read 106 times)
  422.    from: THOMAS ATKINSON
  423.      to: TOM FELLER (Rcvd)
  424. subject: R: R: MICROSOFT BUGS MAS  Reply to #5207
  425.  
  426. I remember reading in some mag that QB was going to be the job control
  427. language for OS/2.  That would be one heck of a batch language.  The mini
  428. computers i work on do have a control language that could be compared to
  429. basic easily...
  430.  
  431. >>>>>>>>>> Msg 5189 reply #13
  432.  
  433.    conf: PROGRAMMING LANGUAGES  #5213  05-27-88  19:11  (Read 104 times)
  434.    from: JOE VINCENT
  435.      to: PAT SHEA (Rcvd)
  436. subject: R: R: MICROSOFT BUGS MAS  Reply to #5206
  437.  
  438. Pat, I started out in 1960 on an IBM 650 using SOAP (Symbolic Optimum
  439. Assembly Program).  Actually, I was a little bit "pre-SOAP," since we
  440. "hand optimized" our first programs -- remember calculating how far the
  441. drum would rotate while executing an instruction of a particular type and
  442. then placing your next instruction at the point the drum read-write head
  443. would reach by then?
  444.  
  445. Today, I'm using MASM 5.1, MSC 5.1, QB 4.0 and Codeview for most of my
  446. non-daytime software work.  Also have TB, TC, True BASIC, Quick C and a
  447. host of other stuff plus shelfware.  Would I go back to the "good old
  448. days?"  Ha, ha, ha, ha, <snort> ha, ha, ha, ha!  You've got to be insane!
  449.  
  450. >>>>>>>>>> Msg 5189 reply #14
  451.  
  452.    conf: PROGRAMMING LANGUAGES  #5215  05-27-88  19:44  (Read 102 times)
  453.    from: TOM FELLER
  454.      to: PHIL KATZ (Rcvd)
  455. subject: R: R: MICROSOFT BUGS MAS  Reply to #5210
  456.  
  457. So why do all the benchmarks I see show TC to produce smaller
  458. code than MSC 5.0. Maybe in the small or tiny model MSC 5.0
  459. is smaller. But for large model programs I have seen MSC 5.0
  460. is always larger. Another problem with MSC is its new Hercules
  461. graphics support. I hear it requires a special TSR to run.
  462. TurboC requires so such "help".
  463. Now how about this new operating system from microsoft.
  464. The OS/2 developers kit comes with a plethora of manuals
  465. that would make any programmer cringe. I know, our company
  466. has it. We must have more than 25 manuals for the thing with
  467. new shipments comming regularly. I have heard that a program took
  468. 2 programmer years to convert to windows. And the presentation
  469. manager is even worse with its bit mapped graphics. Also there
  470. are no fewer than 200 known bugs to work around. I guess
  471. thats what Code View is for! Also micorsoft recommends using
  472. dedicated computer for OS/2. Is this to prevent the bugs from
  473. infecting other computers? You better have lots of hard disk
  474. space ready for this thing because it takes a wopping 20 Meg for
  475. the kit. Add EGA and 3 Meg of DRAM to the $3000.00 price of the
  476. kit and your talking some big bucks. So how about a PM version
  477. of pkarc, what do you say?
  478.  
  479. >>>>>>>>>> Msg 5189 reply #15
  480.  
  481.    conf: PROGRAMMING LANGUAGES  #5217  05-27-88  19:46  (Read 104 times)
  482.    from: TOM FELLER
  483.      to: THOMAS ATKINSON (Rcvd)
  484. subject: R: R: MICROSOFT BUGS MAS  Reply to #5211
  485.  
  486. Whats QB? Quarter Back?? For VAX??
  487.  
  488. >>>>>>>>>> Msg 5189 reply #16
  489.  
  490.    conf: PROGRAMMING LANGUAGES  #5219  05-27-88  20:00  (Read 107 times)
  491.    from: TOM FELLER
  492.      to: GRANT ELLSWORTH (Rcvd)
  493. subject: R: R: MICROSOFT BUGS MAS  Reply to #5191
  494.  
  495. Look at OS/2 and UNIX looks like a dream come true.
  496.  
  497. >>>>>>>>>> Msg 5189 reply #17
  498.  
  499.    conf: PROGRAMMING LANGUAGES  #5220  05-27-88  23:31  (Read 103 times)
  500.    from: CHARLES PERRIN
  501.      to: TOM FELLER (Rcvd)
  502. subject: R: R: MICROSOFT BUGS MAS  Reply to #5215
  503.  
  504. You are correct about the TSR.  On the other hand, load it once and forget
  505. it's there.  (That is what Microsoft, in its infinite wisdom, created
  506. AUTOEXEC.BAT for.....)
  507.  
  508. >>>>>>>>>> Msg 5189 reply #18
  509.  
  510.    conf: PROGRAMMING LANGUAGES  #5221  05-28-88  00:29  (Read 107 times)
  511.    from: PHIL KATZ
  512.      to: TOM FELLER (Rcvd)
  513. subject: R: R: MICROSOFT BUGS MAS  Reply to #5215
  514.  
  515. Tom,
  516.  
  517. What do I say!!
  518.  
  519. OS/2 - Just say NO!
  520.  
  521. >Phil>
  522.  
  523. >>>>>>>>>> Msg 5189 reply #19
  524.  
  525.    conf: PROGRAMMING LANGUAGES  #5223  05-28-88  10:07  (Read 108 times)
  526.    from: JOE VINCENT
  527.      to: TOM FELLER (Rcvd)
  528. subject: R: R: MICROSOFT BUGS MAS  Reply to #5207
  529.  
  530. Oh, swell; another best/worst language on earth discussion.  I know that
  531. the guys in this conference will be thrilled.  We haven't had such a
  532. discussion for, oh, two or three months, now.
  533.  
  534. A long time since we've had a dyed-in-the-wool language bigot here, too.
  535. My favorite-language-of-all-time-if-I-had-to-pick-one-for-the-rest-of-my-
  536. life?  PL/1.  Second choice would be "C".
  537.  
  538. Why program in QB 4.0 at all?  Two reasons: clients who insist on it and
  539. development of software which has to interface to QB 4.0.  To me, QB 4.0 is
  540. just another arrow in my quiver, not something to which I'm attached by
  541. either emotion or zealotry.
  542.  
  543. Based on your comments about QB 4.0, it's apparent that you don't know much
  544. about it.  It has procedures and functions which can be compiled into a
  545. module and placed into a library.  It has SELECT/CASE and all of the other
  546. structured stuff.  It doesn't use line numbers, although it tolerates them
  547. if they're there.  It's easy to write truly structured programs, devoid of
  548. those horrible GOTOs.
  549.  
  550. O.K., Tom, now open up and tell us how you REALLY feel.  <grin>
  551.  
  552. >>>>>>>>>> Msg 5189 reply #20
  553.  
  554.    conf: PROGRAMMING LANGUAGES  #5227  05-29-88  18:26  (Read 104 times)
  555.    from: PAT SHEA
  556.      to: JOE VINCENT (Rcvd)
  557. subject: R: R: MICROSOFT BUGS MAS  Reply to #5213
  558.  
  559. Joe.....
  560. 'guess I gotcha by a couple of yrs <not many>, but I started my hacking
  561. career @ the Univ of Rochester (NY state) in the mid '50s and I DO remember
  562. the drum timeing trick well when Ur trying to eak out that last little bit
  563. on optimizing.  Coincidentally, you and I both use the same bag of tools
  564. (MASM, MSC & QB).  An ex-wife from many yrs ago was a Bell Lab'er so I got
  565. into C and its parent languages very early in the 70's .... manybe even in
  566. the late sixties.
  567.    
  568. I rather enjoy all of the talk that I read relative to one language vs.
  569. another, etc.  As a sort of a grandfather in this business, my personal
  570. experience has been that I write an application in whatever I can get the
  571. damned thing runnin' in the fastest, just to see if my logic is sound and
  572. if in fact I CAN solve the problem.  Once I know that, I start to optimize
  573. and rewrite in whatever I have to to get the speed and code siz that I want
  574. or that the application needs.  That's what I like 'bout the MS family of
  575. languages.  Mixing and matching routines from different  lang's is a snap!
  576. Unfortunately, with there new 'dos-call' functions and the way that they
  577. have made inter-language calling so easy, they have sorta obsoleted a bag
  578. of tricks that it took me YEARS to figger out and build for myself.
  579.   
  580. best regards and keep hackin'
  581. pat shea
  582.  
  583. >>>>>>>>>> Msg 5189 reply #21
  584.  
  585.    conf: PROGRAMMING LANGUAGES  #5232  05-29-88  20:28  (Read 111 times)
  586.    from: TOM FELLER
  587.      to: JOE VINCENT (Rcvd)
  588. subject: R: R: MICROSOFT BUGS MAS  Reply to #5223
  589.  
  590. If a client insists on BASIC (why?) I may consider doing a
  591. small project for them. I guess the client is always right, even
  592. if they are wrong. Heck, I would even consider doing a small
  593. project in COBOL. As long as I did not have to program in BASIC
  594. or COBOL all the time, I would do it. I am happy to see that you
  595. prefer "C" to BASIC. And I will admit that the new BASIC compilers
  596. are almost-as-good-as "C". That's what I really think.
  597. >Tom Feller>
  598.  
  599. >>>>>>>>>> Msg 5189 reply #22
  600.  
  601.    conf: PROGRAMMING LANGUAGES  #5237  05-29-88  23:54  (Read 113 times)
  602.    from: GRANT ELLSWORTH
  603.      to: PHIL KATZ (Rcvd)
  604. subject: R: R: MICROSOFT BUGS MAS  Reply to #5192
  605.  
  606. Phil, there was a benchmark comparison of WATCOM C, MSC, TC, others
  607. in PC Tech Journal --- looks like WATCOM C. took more prizes than any of
  608. the others.  I know the Waterloo folks from their excellent mainframe
  609. products, the IBM G-Assembler (long the stnd sophisticated macro processor
  610. for the 370 mainframe - until IBM did the one thing they do well, and came
  611. out with the H assembler - a long time later), and their Fortran compiler,
  612. among others.  Their mainframe C benchmarks in the margin of the Lattice C
  613. conversion to 370 Mainframe (supported by SAS).  I think I'm going to take
  614. them up on their introductory offer ... 1st time I've been seriously
  615. tempted to jump off the Borland bandwagon.  Maybe you should divergke from
  616. MSC and try the same (remember, passes parameters thru registers!).  Grant
  617.  
  618. p/s - just in case I was ambiguous on the one thing IBM does well -
  619. technically, that is, - IBM does darn good assemblers.
  620.  
  621. >>>>>>>>>> Msg 5189 reply #23
  622.  
  623.    conf: PROGRAMMING LANGUAGES  #5238  05-29-88  23:57  (Read 113 times)
  624.    from: GRANT ELLSWORTH
  625.      to: TOM FELLER (Rcvd)
  626. subject: R: R: MICROSOFT BUGS MAS  Reply to #5219
  627.  
  628. Tom, OS/2 is an IBM game with us - out to put development of serious
  629. software exclusively in the hands of the established corporations - and MS
  630. is party to the crime - and unix is the other end of a nightmare! Grant
  631.  
  632. >>>>>>>>>> Msg 5189 reply #24
  633.  
  634.    conf: PROGRAMMING LANGUAGES  #5239  05-30-88  17:32  (Read 109 times)
  635.    from: JOE VINCENT
  636.      to: PAT SHEA (Rcvd)
  637. subject: R: R: MICROSOFT BUGS MAS  Reply to #5227
  638.  
  639. Pat, it's nice to find SOMEONE who has been in the computing field longer
  640. than I have.  I have to laugh when programmers consider themselves veterans
  641. because they've been in computing "from the beginning" when they really
  642. mean that they got in in 1982, when the first IBM PC was announced.  By
  643. 1982, we had already been through three generations of computers and were
  644. ready for another!
  645.  
  646. Yeah, "best" language discussions are as old as computing.  Like you, I
  647. still do Q & D programming in an easy language to prove a concept and then
  648. move on to a more elegant approach for the final product.
  649.  
  650. Best regards to you.  I'll stop hacking when they put me six feet under.
  651. It's still the most fun you can have with your clothes on.
  652.  
  653. >>>>>>>>>> Msg 5189 reply #25
  654.  
  655.    conf: PROGRAMMING LANGUAGES  #5241  05-30-88  18:07  (Read 112 times)
  656.    from: PAT SHEA
  657.      to: JOE VINCENT (Rcvd)
  658. subject: R: R: MICROSOFT BUGS MAS  Reply to #5239
  659.  
  660. Amen !!!
  661. pat s.
  662.  
  663. >>>>>>>>>> Msg 5189 reply #26
  664.  
  665.    conf: PROGRAMMING LANGUAGES  #5245  05-31-88  01:07  (Read 114 times)
  666.    from: PHIL KATZ
  667.      to: GRANT ELLSWORTH (Rcvd)
  668. subject: R: R: MICROSOFT BUGS MAS  Reply to #5237
  669.  
  670. Grant,
  671.  
  672. Yes, I read the review of WATCOM C in PC Tech Journal, and it
  673. looked VERY impressive.  It definitely might be worth looking
  674. into.
  675.  
  676. >Phil>
  677.  
  678. >>>>>>>>>> Msg 5189 reply #27
  679.  
  680.    conf: PROGRAMMING LANGUAGES  #5289  06-04-88  22:31  (Read 109 times)
  681.    from: EDWARD MARCH
  682.      to: PHIL KATZ (Rcvd)
  683. subject: R: R: MICROSOFT BUGS MAS  Reply to #5245
  684.  
  685. Well check out "computer language" june 1988 for a watcom c review
  686. actually the review compares turbo-c msc and watcom
  687. and come out OK for watcom but the winner is TURBO C
  688.  I agree, I had turboc for a year, and Id NEVER use MSC again !!!
  689.  
  690. Im look at editors BRIEF vs PI or VEDIT or PIZZA any sugestions ?
  691. Im leaning towards BRIEF or PI since PIZZA is too new and I wasnt
  692. impressed with the VEDIT demo disk !
  693.  but ive seen brief 1.33 in action last year...
  694. --ed--
  695.  
  696. >>>>>>>>>> Msg 5189 reply #28  >>>Last msg in reply thread.
  697. Returning to normal sequence.
  698.  
  699.    conf: PROGRAMMING LANGUAGES  #5193  05-26-88  03:55  (Read 97 times)
  700.    from: LARRY EDWARDS
  701.      to: ALL
  702. subject: MIX POWER-C
  703.  
  704. Has anyone tried the Mix Power-C compiler??  I gave up the old Mix-C
  705. compiler for Turbo-C, but really miss the Mix C-Trace debugger (it's
  706. terrific!).  Power-C sounds hot from what little the ads about it
  707. say.  How does it compare in functionality to Turbo-C?
  708. ---------------
  709.  
  710.    conf: PROGRAMMING LANGUAGES  #5196  05-26-88  10:44  (Read 96 times)
  711.    from: MARK GINSBERG
  712.      to: ALL
  713. subject: ACTIVE PC DRIVES
  714.  
  715. Hey gang, I'd appreciate some help with this.
  716.         How does a program running on a PC (or compatable) calculate a list
  717. of active drives?  Example, my machine has floppies A and B, a hard disk
  718. cut into sections D,E,F and a ram drive G.  If software I write is run on a
  719. less amply endowed machine, or a more amply endowed network, what is the
  720. intelligent way to figure out what the resources are?   Anyway, you catch
  721. my drift...
  722.                                    Mark
  723. ---------------
  724.  
  725.    conf: PROGRAMMING LANGUAGES  #5209  05-27-88  02:11  (Read 100 times)
  726.    from: PHIL KATZ
  727.      to: MARK GINSBERG (Rcvd)
  728. subject: R: ACTIVE PC DRIVES  Reply to #5196
  729.  
  730. Mark,
  731.  
  732. DOS function call 0EH returns the number of drives in the
  733. system.  This is the "select disk" call where you pass
  734. the drive you want to become the current drive in DL,
  735. where 0=A, 1=B etc.  On return, AL contains the highest
  736. drive in the system.  You can read the current drive with
  737. call 19H, which returns the current drive in AL.
  738.  
  739. >Phil>
  740.  
  741. >>>>>>>>>> Msg 5196 reply #1
  742.  
  743.    conf: PROGRAMMING LANGUAGES  #5247  05-31-88  17:28  (Read 102 times)
  744.    from: MARK GINSBERG
  745.      to: PHIL KATZ (Rcvd)
  746. subject: R: R: ACTIVE PC DRIVES  Reply to #5209
  747.  
  748. >Phil>
  749.    Yeah... By alternating between "select new drive" and "what is the
  750. current drive" dos calls, it is easy to pick up active drives even if there
  751. is a hole in the series. (ex. A through F, but not G)
  752.    Have you ever seen a system that gracefully handles the default
  753. directory on which you land as you change drives from within an
  754. application?   For instance, in a pull down menu situation, one option is
  755. change directories, another is, change drives.  Or should they be one
  756. option? or what?
  757.  
  758. >>>>>>>>>> Msg 5196 reply #2  >>>Last msg in reply thread.
  759. Returning to normal sequence.
  760.  
  761.    conf: PROGRAMMING LANGUAGES  #5198  05-26-88  19:36  (Read 98 times)
  762.    from: JOE VINCENT
  763.      to: TIM NESHAM (Rcvd)
  764. subject: R: R: MSC 5.1  Reply to #5174
  765.  
  766. Tim, another thing to watch with the new MS editor, M.EXE -- if you have
  767. the "backup" option set to "undel" (which is the default value), a copy of
  768. any file which is edited will be placed in a HIDDEN subdirectory!  This
  769. means that, if you're editing one or more large files, your disk space will
  770. disappear at a rapid rate and you won't be able to see why.  To reveal the
  771. hidden subdirectories, use a utility which is capable of "seeing" hidden
  772. files.  If you don't want this "feature," change the "backup" text switch
  773. to "none" or "bak".
  774.  
  775. If most users are like me, they'll fire up M.EXE to see what it will do
  776. without reading the documentation from cover to cover.  Since "undel" is
  777. the DEFAULT, there are probably quite a few new users of M who are
  778. wondering what has happened to their disk space.
  779. ---------------
  780.  
  781.    conf: PROGRAMMING LANGUAGES  #5202  05-26-88  20:31  (Read 101 times)
  782.    from: TIM NESHAM
  783.      to: JOE VINCENT (Rcvd)
  784. subject: R: R: MSC 5.1  Reply to #5198
  785.  
  786.    Joe,
  787.  
  788.   I haven't as yet been able to watch my disk space slide into the tar pit
  789. but I did notice that M left a file on my diskette after I defaulted to a:.
  790. It was a small directory for the editor. The documentation says that the
  791. editor will usually delete the files that are unecessary after the editing
  792. session. One gets the impression that Microsoft expects everyone to have
  793. unlimited resources. Megs and Megs of Ram and disk space.
  794.  
  795.    Tim
  796.  
  797. >>>>>>>>>> Msg 5198 reply #1
  798.  
  799.    conf: PROGRAMMING LANGUAGES  #5218  05-27-88  19:55  (Read 101 times)
  800.    from: TOM FELLER
  801.      to: TIM NESHAM (Rcvd)
  802. subject: R: R: MSC 5.1  Reply to #5202
  803.  
  804. I agree with your observation about microsoft expecting everyone to have
  805. unlimited resources. Just look at OS/2...
  806.  
  807. >>>>>>>>>> Msg 5198 reply #2
  808.  
  809.    conf: PROGRAMMING LANGUAGES  #5222  05-28-88  08:26  (Read 101 times)
  810.    from: TIM NESHAM
  811.      to: TOM FELLER (Rcvd)
  812. subject: R: R: MSC 5.1  Reply to #5218
  813.  
  814.     Tom,
  815.  
  816.    I feel there may be a more subtle agenda behind the OS/2 machinations.
  817.  The average home-programmer would not, could not afford OS/2. I mean, I
  818. finally get the computer that satisfies my programming appetite (386) with
  819. 1.5 meg of RAM and 40 meg of disk space and along comes OS/2 laughing at my
  820. configuration as some sort of dwarf. The chance to do stuff that may ruin
  821. the OS/2 environment is reduced by the fact that the virus makers wouldn't
  822. afford the OS/2 stuff. The OS/2 world moves into a new level of arrogance
  823. as in the case of some programmer getting experience at 'home'. Then the
  824. inevitable question arrives - "do you know OS/2"? Oops, no job. I should
  825. have gone out a dumped 10,000 bucks to 'know' OS/2.
  826.    COBOL is the same way. A COBOL compiler costs a glob of money. You say
  827. BASIC is retarded. COBOL takes it a step further. The MIS people are
  828. screaming for COBOL programmers with 2 or more years experience on a
  829. particular system. What if your experience is in 'C' or Assembler? Sorry,
  830. it isn't COBOL. Give me a break. When are they going to learn that the
  831. particular language and system is simply a different set of rules. All that
  832. a programmer needs to know is the particular syntax. I'll take anyone who
  833. DOES NOT know COBOL but understands how to program versus someone who knows
  834. COBOL but doesn't understand programming, anyday!
  835.  
  836.       Tim Nesham
  837.  
  838. >>>>>>>>>> Msg 5198 reply #3  >>>Last msg in reply thread.
  839. Returning to normal sequence.
  840.  
  841.    conf: PROGRAMMING LANGUAGES  #5214  05-27-88  19:38  (Read 103 times)
  842.    from: PAUL ZIMMERMAN
  843.      to: JON GRAY (Rcvd)
  844. subject: R: R: TURBO PASCAL  Reply to #5203
  845.  
  846. As I say, if the assembler code relies on modifying the run-time library it
  847. cannot possibly succeed with an utterly different code structure. A great
  848. many inline goodies for TP 3 would tinker with "magic" locations in the 10k
  849. of code that was ALWAYS cloned off with any .com file..
  850. There are also differences in the implementation of many "standard"
  851. functions so that even if they are present in a compiled program the old
  852. machine language just doesn't coordinate any more. I have discovered that
  853. the old way to install ISR's just won't work with TP4. The chain back to
  854. the original interrupt must be arranged in a completely different way.
  855. (Fortunately supplied by Borland in a Turbo Technix article about making a
  856. keyboard ISR...) With optimization comes total unpredictability of the
  857. locations & order of the compiler supplied functions.
  858. ---------------
  859.  
  860.    conf: PROGRAMMING LANGUAGES  #5225  05-28-88  17:22  (Read 102 times)
  861.    from: JOE KNAPP
  862.      to: ALL
  863. subject: MS MOUSE INTERRUPTS
  864.  
  865. Does anyone know if there is an interrupt which I can use to check the
  866. current Microsoft Mouse cursor range?  I know how to set the range, but
  867. I can't find any way to simply return the current settings.
  868.  
  869. RE: QB4 discussions, I tried to use QB4 several times now but ran into
  870. serious limitations on code size for individual modules.  If you have a
  871. main program much larger than 60K, QB4 will choke on it.  With QB3 I could
  872. have modules as large as 130K before running into this problem.  I don't
  873. understand why these programs can't compile, since the resulting executable
  874. program would easily fit into the code segment.  Is everyone using QB4
  875. aware that there is a "bug fix" available now called "Version 4.00b" ???
  876. You can order it from Microsoft for free if you already own the "broken"
  877. version.
  878.  
  879. Anyone out there working with any music/speech digitizing boards or
  880. software?  I am looking for a way to store short bits of music in fair
  881. quality on a hard disk and recall them in an ordered sequence.
  882.  
  883. Joe Knapp
  884. A-Ware Software
  885. 414-784-2723
  886. ---------------
  887.  
  888.    conf: PROGRAMMING LANGUAGES  #5226  05-29-88  10:41  (Read 99 times)
  889.    from: ANDY WHITCROFT
  890.      to: MARK TELLIER (LEADER) (Rcvd)
  891. subject: PROGRAMMER'S EDITORS
  892.  
  893. Dear Mark et. al.,
  894.      I need the collective advice of the staff of programmers out there.
  895. This is because I need a program editor, mine are serverily lacking in nice
  896. programming features. I want to know what you use, and more importantly,
  897. WHY you use it. We all know that editor are a bit like programming
  898. language bais's. What I would like the editor to be capible of is as
  899. follows: Macro language, windows for working with multiple files or
  900. differant parts of the same file, settable color, capible of copping with
  901. unlimited code size (no 64k limit), easy to remember commands (perferibly
  902. no menus poping up every time I want to do something, fast response, online
  903. help, and not outragously expensive!
  904.                                          Andy.
  905. ---------------
  906.  
  907.    conf: PROGRAMMING LANGUAGES  #5229  05-29-88  18:56  (Read 102 times)
  908.    from: MARK TELLIER (LEADER)
  909.      to: ANDY WHITCROFT (Rcvd)
  910. subject: R: PROGRAMMER'S EDITORS  Reply to #5226
  911.  
  912. Andy,
  913.  
  914. I personally use a editor by the name of VEDIT PLUS.  I believe its cost is
  915. in the $200.00 range (I need to check recent literature to be sure).  I
  916. like it mostly because it resembles the EDT editor I really like on VAX/VMS
  917. systems.
  918.  
  919. I have briefly looked at QEDIT, and was somewhat impressed.  I have never
  920. used it in a real application.
  921.  
  922. I have also followed a few conversations on this BBS relating to EMACS.
  923. Almost all have given this editor high ratings.  Again, no personal
  924. experience.
  925.  
  926. Like you say in your message, this topic should provoke plenty of response.
  927. I'd like to hear some other opinions myself.
  928.  
  929. - mwt -
  930.  
  931. >>>>>>>>>> Msg 5226 reply #1
  932.  
  933.    conf: PROGRAMMING LANGUAGES  #5230  05-29-88  20:14  (Read 100 times)
  934.    from: TOM FELLER
  935.      to: MARK TELLIER (LEADER) (Rcvd)
  936. subject: R: R: PROGRAMMER'S EDITO  Reply to #5229
  937.  
  938. I also use VEDIT PLUS at work and I think its great.
  939. You can create windows and text buffers like mad!
  940. In fact sometimes I suprise myself when I decide
  941. to get out, and I find all the files I looked at
  942. or updated. I also like the macros that enable
  943. it to do almost any thing you could want.
  944. We somtimes use the macros to do data conversions
  945. for customers and the speed is great. It also has
  946. a DOS shell, of course. While editing a file
  947. if you want to edit another file in a window
  948. all you have to do is <ALT>-N and then enter the
  949. file name, thats it! VEDIT creates a window using the
  950. bottom half of the screen. You can also go through
  951. a longer procedure if you want to define the size
  952. and location of the window.
  953. >Tom Feller>
  954.  
  955. >>>>>>>>>> Msg 5226 reply #2
  956.  
  957.    conf: PROGRAMMING LANGUAGES  #5234  05-29-88  21:42  (Read 100 times)
  958.    from: ANDY WHITCROFT
  959.      to: MARK TELLIER (LEADER) (Rcvd)
  960. subject: R: R: PROGRAMMER'S EDITO  Reply to #5229
  961.  
  962. Dear Mark,
  963.      I would like to know why you like VEDIT PLUS, is it easy to remember
  964. commands, does it do windows, will it support a mouse, are there limits
  965. about the size of file one can edit, is there a macro language . . ..
  966.                                 Andy.
  967.  
  968. >>>>>>>>>> Msg 5226 reply #3
  969.  
  970.    conf: PROGRAMMING LANGUAGES  #5240  05-30-88  17:40  (Read 102 times)
  971.    from: JOE VINCENT
  972.      to: ANDY WHITCROFT (Rcvd)
  973. subject: R: R: PROGRAMMER'S EDITO  Reply to #5234
  974.  
  975. Andy, if you're looking for an excellent programmer's editor and don't
  976. want to spend a lot of money but do want a commercial product, buy a copy
  977. of MASM 5.1 for about $90 and use the editor ("M") which is being
  978. distributed with MASM 5.1 and MSC 5.1.  It's fully configurable (in fact,
  979. initialization files to make it behave like Epsilon, Brief or the QC edit
  980. environment come with it), has full macro capability and is the equal of
  981. products selling for several hundred dollars.  It appears to be based on
  982. EMACS, which is available as a download from this BBS.
  983.  
  984. >>>>>>>>>> Msg 5226 reply #4
  985.  
  986.    conf: PROGRAMMING LANGUAGES  #5242  05-30-88  19:45  (Read 102 times)
  987.    from: GLEN THOMPSON
  988.      to: ANDY WHITCROFT (Rcvd)
  989. subject: R: PROGRAMMER'S EDITORS  Reply to #5226
  990.  
  991. Andy,
  992.    
  993. I use Qedit.  It has a macro language that can even call DOS and execute
  994. the compiler for the current file.  It's very fast.  File size is limited
  995. by main memory, typically 400-500k.  The keystrokes can be configured to
  996. anything you want.  There is the ability to have a one screen help or you
  997. can configure a macro that opens another window and edits a help file.
  998. Windows are limited to 8 on the screen but an unlimited number of files can
  999. be in memory at a time.
  1000.    
  1001. Most everything in the program can be configured.  Best part is that the
  1002. program is only one file so it can be put on the path and loaded from
  1003. anywhere.
  1004.    
  1005. It's available in the Mahoney collection (current version is 2.06).
  1006. Registration is only $39.  Sammy Mitchell, the programs author, is very
  1007. willing to add thing the users want.  If you try the program and like it,
  1008. please send in the registration.
  1009.    
  1010. glen
  1011.  
  1012. >>>>>>>>>> Msg 5226 reply #5
  1013.  
  1014.    conf: PROGRAMMING LANGUAGES  #5243  05-30-88  23:11  (Read 97 times)
  1015.    from: ANDY WHITCROFT
  1016.      to: JOE VINCENT (Rcvd)
  1017. subject: R: R: PROGRAMMER'S EDITO  Reply to #5240
  1018.  
  1019. Dear Joe,
  1020.      I have recently seen messages on this BBS indicating that 1 of the
  1021. files needed to run that editor was missing from someones package. Would
  1022. you like to report on your reaction to this possible problem. And, what
  1023. about Qedit or Blackbeard?
  1024.                              Andy.
  1025.  
  1026. >>>>>>>>>> Msg 5226 reply #6
  1027.  
  1028.    conf: PROGRAMMING LANGUAGES  #5244  05-30-88  23:17  (Read 99 times)
  1029.    from: ANDY WHITCROFT
  1030.      to: GLEN THOMPSON (Rcvd)
  1031. subject: R: R: PROGRAMMER'S EDITO  Reply to #5242
  1032.  
  1033. Dear Glen,
  1034.      I downloaded Qedit today and will look at it over the next week or so.
  1035. However, I am curious how one would go about making a macro that will
  1036. automatically enter the 6 dight line number a COBOL compiler looks for in
  1037. it's source, perferably numbered in sequential order. And for that matter
  1038. is it possible to write a macro to renumber the source? I am also curious
  1039. about your opinion of Blackbeard?
  1040.                                       Andy.
  1041.  
  1042. >>>>>>>>>> Msg 5226 reply #7
  1043.  
  1044.    conf: PROGRAMMING LANGUAGES  #5246  05-31-88  12:21  (Read 102 times)
  1045.    from: MARK TELLIER (LEADER)
  1046.      to: ANDY WHITCROFT (Rcvd)
  1047. subject: R: R: PROGRAMMER'S EDITO  Reply to #5234
  1048.  
  1049. Andy,
  1050.  
  1051. See Tom Feller's message number 5230 for a good list of reasons why I like
  1052. VEDIT PLUS.  Mostly, I started using Vedit because it is the closest thing
  1053. to the EDT editor on the VAX/VMS systems I used to use.  I learned and used
  1054. the EDT editor for everything and became really familiar with it, hence my
  1055. like of Vedit.
  1056.  
  1057. - mwt -
  1058.  
  1059. >>>>>>>>>> Msg 5226 reply #8
  1060.  
  1061.    conf: PROGRAMMING LANGUAGES  #5251  06-01-88  16:45  (Read 95 times)
  1062.    from: GLEN THOMPSON
  1063.      to: ANDY WHITCROFT (Rcvd)
  1064. subject: R: R: PROGRAMMER'S EDITO  Reply to #5244
  1065.  
  1066. Andy,
  1067.   
  1068. COBOL!!! Yuchhh, but I understand one has to make a living.  Right off, I
  1069. can't think of a way to enter or renumber COBOL source lines.  I'll check
  1070. with Sammy and see if there's a way or if he's might be interested in
  1071. adding that capability.
  1072.   
  1073. I took a quick look at Blackbeard but since I was using QEdit at the time,
  1074. I didn't see any advantages for me at the time.
  1075.    
  1076. As you look through QEdit, you'll find that the program is better than the
  1077. documentation.
  1078.    
  1079. glen
  1080.  
  1081. >>>>>>>>>> Msg 5226 reply #9
  1082.  
  1083.    conf: PROGRAMMING LANGUAGES  #5253  06-02-88  00:09  (Read 97 times)
  1084.    from: TOM FELLER
  1085.      to: ANDY WHITCROFT (Rcvd)
  1086. subject: R: R: PROGRAMMER'S EDITO  Reply to #5234
  1087.  
  1088. VEDIT PLUS does have a macro language. It also has a file size
  1089. that is as large as your hard disk! I know, we have used it
  1090. to do data conversions on multi megabyte files with no problem.
  1091. You can configure it to act like other editors including Wordstar (blah).
  1092. In it's normal mode the commands are very easy to recall.
  1093. <ALT>-F for file stuff, a one line menu at the top of the screen.
  1094. <ALT>-W for window stuff, Create, Delete, Switch, Zoom
  1095. <ALT>-B for buffer stuff, copy, move...
  1096. <ALT>-N new file
  1097. <ALT>-J jump, Home, marker,...
  1098. <ALT>-H go home, top of file
  1099. <ALT>-Z goto end of file
  1100. <F2>-Search
  1101. <ALT><F2>-search and replace
  1102. I guess search could be better but most commands are very easy
  1103. to learn. I'm addicted to it. I wish the TURBOC environment
  1104. had a better editor, but for syntax errors and a quick fix
  1105. the TurboC editor is ok. The fast compile and link is what
  1106. I like, but thats another story.
  1107. I have seen a very short demo of M and the function keys
  1108. are used for lots of stuff. The keys were less intuitive for
  1109. me, but I use VEDIT all the time so I'm biased.
  1110.  *Tom Feller*
  1111.  
  1112. >>>>>>>>>> Msg 5226 reply #10
  1113.  
  1114.    conf: PROGRAMMING LANGUAGES  #5256  06-02-88  08:28  (Read 93 times)
  1115.    from: ANDY WHITCROFT
  1116.      to: GLEN THOMPSON (Rcvd)
  1117. subject: R: R: PROGRAMMER'S EDITO  Reply to #5251
  1118.  
  1119. Dear Glen,
  1120.       I have noticed that qedit will enter numbers, but there is no way th
  1121. specify the format of the numbers to be entered. And you are right, the
  1122. program is better than the doc's. In a couple more days I will look at
  1123. Blackbread.
  1124.                          Andy.
  1125.  
  1126. >>>>>>>>>> Msg 5226 reply #11
  1127.  
  1128.    conf: PROGRAMMING LANGUAGES  #5259  06-02-88  17:21  (Read 92 times)
  1129.    from: JOE VINCENT
  1130.      to: ANDY WHITCROFT (Rcvd)
  1131. subject: R: R: PROGRAMMER'S EDITO  Reply to #5243
  1132.  
  1133.      cc: GENE ALM
  1134.  
  1135. Andy, I'm not recommending EMACS -- just thought you might like to test
  1136. drive a configurable programmer's editor for free.  I downloaded EMACS in C
  1137. source form just to give a couple of C compilers a workout, but never
  1138. really used EMACS.  If, as you say, others have tried to use it and found a
  1139. file missing, it's not worth the effort.  Gene Alm used to tout EMACS.  Any
  1140. comments, Gene?
  1141.  
  1142. I saw Glen's message about Qedit; it sounds very much like MS's "M" and
  1143. Brief.  If someone gives a shareware product a good review, it's worth a
  1144. look.
  1145.  
  1146. I'm pleased with "M" so far, but I'm still learning.
  1147.  
  1148. >>>>>>>>>> Msg 5226 reply #12
  1149.  
  1150.    conf: PROGRAMMING LANGUAGES  #5265  06-03-88  07:45  (Read 96 times)
  1151.    from: TIM NESHAM
  1152.      to: JOE VINCENT (Rcvd)
  1153. subject: R: R: PROGRAMMER'S EDITO  Reply to #5240
  1154.  
  1155.      cc: ANDY WHITCROFT
  1156.      cc: TOM FELLER
  1157.  
  1158.     Joe,
  1159.  
  1160.     M from microsoft is a nice editor but it has an annoying habit of
  1161. writing to the hard disk when I'm in AutoCADD. AutoCADD allows me to enter
  1162. the editor during a drawing session. But when I'm in the editor M thru
  1163. AutoCADD, M.exe writes to the hard disk with EVERY CURSOR movement -
  1164. slowing it down considerably. I use VEDIT PLUS in AutoCADD. So far
  1165. everything pales in comparison. I've used QEDIT but it can't mark blocks
  1166. less than a line. If they would change just that I would buy it.
  1167.  
  1168.     Tim
  1169.  
  1170. >>>>>>>>>> Msg 5226 reply #13
  1171.  
  1172.    conf: PROGRAMMING LANGUAGES  #5267  06-03-88  08:07  (Read 92 times)
  1173.    from: ANDY WHITCROFT
  1174.      to: TIM NESHAM (Rcvd)
  1175. subject: R: R: PROGRAMMER'S EDITO  Reply to #5265
  1176.  
  1177. Dear Tim,
  1178.      The latest ver of qedit (2.06) will mark blocks less than an entire
  1179. line. If you have an earlier ver you might want too take another look.
  1180.                      Andy.
  1181.  
  1182. >>>>>>>>>> Msg 5226 reply #14
  1183.  
  1184.    conf: PROGRAMMING LANGUAGES  #5269  06-03-88  11:49  (Read 95 times)
  1185.    from: GENE ALM
  1186.      to: JOE VINCENT (Rcvd)
  1187. subject: R: R: PROGRAMMER'S EDITO  Reply to #5259
  1188.  
  1189.  Joe,
  1190.  
  1191.  Good greeeef!!  Which editor is . . .  Which language is . . .
  1192.  Well, here goes my OPINIONS.  But before I do that, I must recognize
  1193.  the fact that >Phil> is softening on .EXE versus .COM files.  Can
  1194.  OS/2 be far behind?
  1195.  
  1196.  I use BRIEF.  I have many of them (EMACS, QEDIT, Blackbeard, M,
  1197.  SPSS and others).  The way I evaluate a product is to put all of them
  1198.  on the system and see which one rises to the top.  There is little
  1199.  that I cannot do with BRIEF.  Type BRIEF *.c and BRIEF loads each
  1200.  c source file in the directory in a unique window.  You can cut
  1201.  and paste anything to anything.  You can mark anything from a single
  1202.  character to the entire file and save it, cut it, paste it, trash
  1203.  it or ignore it.  You can indent and outdent blocks (good for
  1204.  structure level changing).  The only reason that I have M on my
  1205.  system is that it is the only editor that supports (for now) OS/2
  1206.  and I have the OS/2 versions of the MS languages.  Through BRIEF's
  1207.  macro language, you can make the editor do ANYTHING.  As a simple
  1208.  example, I wrote a macro to date-time stamp a source file and show
  1209.  it as a comment (language dependent) with NO operator intervention.
  1210.  Nice for updates.
  1211.  
  1212.  With BRIEF, who needs EMACS.  But let me say that if I didn't
  1213.  have BRIEF, I would PROBABLY use EMACS.  It is an extremely
  1214.  powerful editor and is macro-programmable.  It to is capable of
  1215.  ANYTHING.  The only shortcoming is that the documentation is not
  1216.  nearly as good as that of BRIEF.  I have successfully compiled
  1217.  EMACS using both TurboC 1.5 and MSC.  If you would like a copy,
  1218.  let me know.
  1219.  
  1220.  I used QEDIT before I got BRIEF and found it entirely adequate.
  1221.  But as you all know, it is easy to get spoiled.  I haven't used
  1222.  Blackbeard but have given it to many and have had excellent
  1223.  feedback.  A couple of people even registered it.  I did.  It's
  1224.  surely the greatest software bargain in the world.
  1225.  
  1226.  I'm a bit disappointed in M.  The BRIEF emulation is bad.  I
  1227.  suspect other emulations are not much better.  But as I said,
  1228.  I'm spoiled.  The only problem with BRIEF is that when they
  1229.  clean out bugs, they consider it an update and charge for it.
  1230.  As an example, I updated from v1.33 to 2.0 for $50.  To update
  1231.  to 2.01 would have cost me another $25.  So I've decided to
  1232.  wait for significant changes before updating (to save money).
  1233.  There is yet another update to v2.1 which costs somewhere around
  1234.  $35.  I'll let that one pass.  I must say that Microsoft is
  1235.  setting a precedent (regarding updates) which (unfortunately)
  1236.  appears to be emulated by an increasing number of companies.
  1237.  
  1238.  If you need more specific info, just holler.
  1239.  
  1240.                            >>> gene >>>
  1241.  
  1242. >>>>>>>>>> Msg 5226 reply #15
  1243.  
  1244.    conf: PROGRAMMING LANGUAGES  #5270  06-03-88  17:30  (Read 94 times)
  1245.    from: JOE VINCENT
  1246.      to: GENE ALM (Rcvd)
  1247. subject: R: R: PROGRAMMER'S EDITO  Reply to #5269
  1248.  
  1249. Gosh, Gene, now you've made me unhappy with "M", for which I paid such a
  1250. reasonable price (namely, free with MASM 5.1 and MSC 5.1).  I had
  1251. considered Brief, but when M showed up for nothing with Brief emulation, I
  1252. forgot about Brief.  Apparently, I don't know enough about Brief to forget
  1253. it.  <sigh>
  1254.  
  1255. >>>>>>>>>> Msg 5226 reply #16
  1256.  
  1257.    conf: PROGRAMMING LANGUAGES  #5271  06-03-88  18:47  (Read 94 times)
  1258.    from: GLEN THOMPSON
  1259.      to: ANDY WHITCROFT (Rcvd)
  1260. subject: R: R: PROGRAMMER'S EDITO  Reply to #5256
  1261.  
  1262. Andy,
  1263.         
  1264. I left Sammy Mitchell af* note about how to generate cobol line numbers.
  1265. When I get a reply, I'll let you know what he said.  It may not be
  1266. possible, but might be a good feature for the next release.
  1267.    
  1268. glen
  1269.  
  1270. >>>>>>>>>> Msg 5226 reply #17
  1271.  
  1272.    conf: PROGRAMMING LANGUAGES  #5272  06-03-88  18:52  (Read 95 times)
  1273.    from: TIM NESHAM
  1274.      to: ANDY WHITCROFT (Rcvd)
  1275. subject: R: R: PROGRAMMER'S EDITO  Reply to #5267
  1276.  
  1277.    Andy,
  1278.  
  1279.    Thanks! I've been looking for an editor just like that that doesn't eat
  1280. up a lot of ram, i.e., quickc and M.exe.
  1281.  
  1282.     Tim
  1283.  
  1284. >>>>>>>>>> Msg 5226 reply #18
  1285.  
  1286.    conf: PROGRAMMING LANGUAGES  #5273  06-03-88  18:57  (Read 95 times)
  1287.    from: GLEN THOMPSON
  1288.      to: TIM NESHAM (Rcvd)
  1289. subject: R: R: PROGRAMMER'S EDITO  Reply to #5265
  1290.  
  1291. Tim,
  1292.      
  1293. The current version of Qedit allows marking blocks as short as one
  1294. character.  You might want to take another look.
  1295.   
  1296. glen
  1297.  
  1298. >>>>>>>>>> Msg 5226 reply #19
  1299.  
  1300.    conf: PROGRAMMING LANGUAGES  #5275  06-03-88  21:54  (Read 95 times)
  1301.    from: LEE THOMPSON
  1302.      to: TIM NESHAM (Rcvd)
  1303. subject: R: R: PROGRAMMER'S EDITO  Reply to #5265
  1304.  
  1305. Tim,
  1306.  
  1307. As others have told you the latest version of QEDIT does allow for blocking
  1308. out characters rather than entire lines.  What they didn't tell you is that
  1309. the latest version is larger and requires more memory, and that the
  1310. procedure for calling up and editing mulitiple files in multiple windows
  1311. has become quite a pain.  I prefer the older version.  You don't get
  1312. pulldown menus but I don't use them so do not find their absence any loss.
  1313.  
  1314. -Lee
  1315.  
  1316. >>>>>>>>>> Msg 5226 reply #20
  1317.  
  1318.    conf: PROGRAMMING LANGUAGES  #5277  06-04-88  07:33  (Read 95 times)
  1319.    from: TIM NESHAM
  1320.      to: LEE THOMPSON (Rcvd)
  1321. subject: R: R: PROGRAMMER'S EDITO  Reply to #5275
  1322.  
  1323.     Lee,
  1324.  
  1325.    Yea, I don't need pull down menus, just a good editor. If these
  1326. programmer's editors start treating us like 'word processors' then VEDIT
  1327. PLUS is well worth the money. An editor should not hog memory - I don't
  1328. need an environment, unless I can compile in it :-).
  1329.  
  1330.    Tim
  1331.  
  1332. >>>>>>>>>> Msg 5226 reply #21
  1333.  
  1334.    conf: PROGRAMMING LANGUAGES  #5281  06-04-88  14:30  (Read 95 times)
  1335.    from: GENE ALM
  1336.      to: JOE VINCENT (Rcvd)
  1337. subject: R: R: PROGRAMMER'S EDITO  Reply to #5270
  1338.  
  1339.  Sorry Joe...
  1340.  If it'll make you feel better, BRIEF doesn't yet work under
  1341.  OS/2 so when I am in that environment, I am forced to use M.
  1342.  I'm STILL waiting for MSC 5.1.  Did you get the OS/2 version
  1343.  or the DOS version??  I ordered the OS/2 version and that may
  1344.  be the problem.  I see that there is a patch for MSC 5.1 and
  1345.  I downloaded it.  So I have the patch before I have the software.
  1346.  Hmmmmmmmmmmmmm...
  1347.  
  1348.  You would REALLY like BRIEF.
  1349.  
  1350.                         >>> gene >>>
  1351.  
  1352. >>>>>>>>>> Msg 5226 reply #22
  1353.  
  1354.    conf: PROGRAMMING LANGUAGES  #5282  06-04-88  14:37  (Read 97 times)
  1355.    from: JOE VINCENT
  1356.      to: GENE ALM (Rcvd)
  1357. subject: R: R: PROGRAMMER'S EDITO  Reply to #5281
  1358.  
  1359. Gene, I have the DOS version of MSC 5.1.  I'll probably buy the transition
  1360. upgrade to OS/2 before the end of June, when the $200 upgrade offer
  1361. expires, but for now, I'm still running DOS 3.3.
  1362.  
  1363. You're running OS/2?  Do you use OS/2 exclusively or do you ping-pong
  1364. between DOS and OS/2?  Any comments, pro or con?  Phil Katz is still
  1365. adamantly opposed to OS/2, just as he USED to be to .EXE files.
  1366.  
  1367. >>>>>>>>>> Msg 5226 reply #23
  1368.  
  1369.    conf: PROGRAMMING LANGUAGES  #5292  06-05-88  03:00  (Read 98 times)
  1370.    from: LARRY EDWARDS
  1371.      to: JOE VINCENT (Rcvd)
  1372. subject: R: R: PROGRAMMER'S EDITO  Reply to #5282
  1373.  
  1374.      I left a message on this subject in the wrong conference last night;
  1375. for info on Multi-Edit, which I really like (!), see the Hardware
  1376. conference for 6/3/88.  Sorry about the inconvenience.
  1377.  
  1378. >>>>>>>>>> Msg 5226 reply #24
  1379.  
  1380.    conf: PROGRAMMING LANGUAGES  #5306  06-05-88  20:41  (Read 99 times)
  1381.    from: GENE ALM
  1382.      to: JOE VINCENT (Rcvd)
  1383. subject: R: R: PROGRAMMER'S EDITO  Reply to #5282
  1384.  
  1385.  Joe,
  1386.  
  1387.  I jump up and back between DOS and OS/2.  My AT boots DOS from the
  1388.  hard disk and so when I wish to load OS/2 (and the DOS 3.3
  1389.  (in)compatibility box), I boot from drive A.  Most of the OS/2
  1390.  utility files reside in the directory \OS2.  I have a plethora of
  1391.  C utilities that I wrote and would like to see if they will run
  1392.  under OS/2.  I called Microsoft last week and they said that I should
  1393.  see C (pun absolutely intended) shortly.  One thing that I did do
  1394.  was to run a complex fft which took 2 Mb of memory.  I have the
  1395.  OS/2 version of MS FORTRAN and so I simply compiled the damn thing,
  1396.  linked it and crossed my fingers.  I got answers.  Correct answers.
  1397.  Wow.  I can't wait until I get the OS/2 C stuff.  I am really
  1398.  surprised.  I used huge arrays and didn't have to declare anything
  1399.  to be huge.
  1400.  
  1401.  You might as well get OS/2.  When IBM releases the presentation
  1402.  manager, you'll get the update free from IBM.  Not really a bad
  1403.  deal.
  1404.  
  1405.  I am sitting here with an update form for MS Pascal 4.0.  Should
  1406.  I get it?  I already have Turbo Pascal 4.0 so I just don't know.
  1407.  Maybe some Pascaloholics out there might care to comment.
  1408.  
  1409.  Phil Katz speaks his mind.  He should.  We all benefit from his
  1410.  creativity.
  1411.  
  1412.                        >>> gene >>>
  1413.  
  1414. >>>>>>>>>> Msg 5226 reply #25
  1415.  
  1416.    conf: PROGRAMMING LANGUAGES  #5310  06-06-88  18:53  (Read 98 times)
  1417.    from: JOE VINCENT
  1418.      to: GENE ALM (Rcvd)
  1419. subject: R: R: PROGRAMMER'S EDITO  Reply to #5306
  1420.  
  1421. Well, I guess I'll go ahead and get OS/2 (can you sense my unbridled
  1422. enthusiasm?).  Better to get it now for $200 than to wait and pay $325.  An
  1423. irritant is that I have to provide my DOS 3.3 proof of license to get the
  1424. transitional OS/2 at the special price.  Then, when DOS 3.4 comes out, I'll
  1425. have to buy it (although at a discount) rather than being able to upgrade,
  1426. since I will have already used my proof of license for OS/2.
  1427.  
  1428. My last encounter with Pascal was at The American University in D.C. in the
  1429. late 70s.  It was just another language, to me, except its I/O capabilities
  1430. were primitive.  I saw nothing to make me choose it over C or PL/1 in any
  1431. given programming situation, so I never revisited it.  I assume it's better
  1432. now than it was a decade or more ago?
  1433.  
  1434. If you're like me, you'll end up upgrading eventually.  I have shelfware
  1435. that I upgrade because I just never know when I might want to use
  1436. something.  So, go ahead and upgrade MS Pascal.
  1437.  
  1438. Your Fortran Fourier Transform ran, all 2MB of it?  Very impressive!  I
  1439. haven't done much with Fortran since 1979.  Did a lot of it then.
  1440.  
  1441. >>>>>>>>>> Msg 5226 reply #26
  1442.  
  1443.    conf: PROGRAMMING LANGUAGES  #5314  06-06-88  23:19  (Read 100 times)
  1444.    from: GENE ALM
  1445.      to: JOE VINCENT (Rcvd)
  1446. subject: R: R: PROGRAMMER'S EDITO  Reply to #5310
  1447.  
  1448.  Joe,
  1449.  
  1450.  Ok, I'll send Gil Bates another $75.00.  Sigh.
  1451.  
  1452.  One thing that OS/2 has going for it is that system calls are
  1453.  not done in the primitive DOS manner.  Rather, calls to the
  1454.  operating system are fast (pascal) calls that look just like
  1455.  C functions.  So guess what.  Although MS FORTRAN does not support
  1456.  DOS calls, it is simple for it to make OS/2 calls.  The only
  1457.  stuff I have for OS/2 is a few utilities, MASM 5.1 and FORTRAN
  1458.  4.1.  I'm waiting for C and will order Pascal.
  1459.  
  1460.  To whet your appetite, I just got the beta stuff for the next
  1461.  version of Turbo C.  Sorry, no peeking!
  1462.  
  1463.                           >>> gene >>>
  1464.  
  1465. >>>>>>>>>> Msg 5226 reply #27
  1466.  
  1467.    conf: PROGRAMMING LANGUAGES  #5316  06-07-88  16:42  (Read 99 times)
  1468.    from: HYONG BANG
  1469.      to: GENE ALM (Rcvd)
  1470. subject: R: R: PROGRAMMER'S EDITO  Reply to #5314
  1471.  
  1472. Now, wait a minute.  You're going to tell us that you've got your hand
  1473. in the cookie jar, but you're not going to tell us if there are
  1474. any cookies?  What kind of sadist are you?
  1475.  
  1476. On OS2 and such, are you running IBM hardware and software, or are you
  1477. running clone stuff?  I'm looking at doing some buying(hard and soft)
  1478. and to look hard at moving to OS2, and looking for some hard data
  1479. on which to base the decision.
  1480.  
  1481. The current noises about each hardware firm needing to put together a
  1482. custom OS2 makes me want to stay away from any but the largest firms.
  1483. If you've got both OS2 hardware and software, and are doing
  1484. development work in it, why not run a OS2 sig/conference here???????
  1485.  
  1486. Hyong
  1487.  
  1488.  
  1489. >>>>>>>>>> Msg 5226 reply #28
  1490.  
  1491.    conf: PROGRAMMING LANGUAGES  #5320  06-07-88  19:25  (Read 102 times)
  1492.    from: JOE VINCENT
  1493.      to: GENE ALM (Rcvd)
  1494. subject: R: R: PROGRAMMER'S EDITO  Reply to #5314
  1495.  
  1496. Just got the beta stuff for the next version of TC?  Grrrrr!  I'm still
  1497. steamed because Borland didn't have any interest in letting me beta the
  1498. first releases of TB and TC.  No peeking, huh?  How about dropping some
  1499. tidbits here or in Private as the Lords of Borland give dispensation?
  1500.  
  1501. >>>>>>>>>> Msg 5226 reply #29
  1502.  
  1503.    conf: PROGRAMMING LANGUAGES  #5335  06-09-88  22:20  (Read 98 times)
  1504.    from: TOM FELLER
  1505.      to: GENE ALM (Rcvd)
  1506. subject: R: R: PROGRAMMER'S EDITO  Reply to #5314
  1507.  
  1508. Gene, You got the next version of TC. O.K. all I need to
  1509. know is; does it have a debuger. Please leave a MSG via
  1510. Email. I need to know!
  1511.  *Tom Feller*
  1512.  
  1513. >>>>>>>>>> Msg 5226 reply #30
  1514.  
  1515.    conf: PROGRAMMING LANGUAGES  #5339  06-10-88  16:24  (Read 98 times)
  1516.    from: ANDY WHITCROFT
  1517.      to: TOM FELLER (Rcvd)
  1518. subject: R: R: PROGRAMMER'S EDITO  Reply to #5335
  1519.  
  1520. Dear Tom,
  1521.      NO!, the new version does not have a debugger. Buy, QuickC, and get
  1522. an envorinment with debugger!
  1523.                                Andy.
  1524.  
  1525. >>>>>>>>>> Msg 5226 reply #31
  1526.  
  1527.    conf: PROGRAMMING LANGUAGES  #5341  06-10-88  20:24  (Read 100 times)
  1528.    from: TOM FELLER
  1529.      to: ANDY WHITCROFT (Rcvd)
  1530. subject: R: R: PROGRAMMER'S EDITO  Reply to #5339
  1531.  
  1532. Sorry, but I need the large memory model. QuickC sucks!
  1533. I may do some debugging in MSC 5.1.
  1534. For a good environment I like TC.
  1535. It also makes the smallest .EXE files.
  1536.  
  1537. >>>>>>>>>> Msg 5226 reply #32
  1538.  
  1539.    conf: PROGRAMMING LANGUAGES  #5347  06-11-88  01:35  (Read 100 times)
  1540.    from: GENE ALM
  1541.      to: HYONG BANG (Rcvd)
  1542. subject: R: R: PROGRAMMER'S EDITO  Reply to #5316
  1543.  
  1544.  Hyong,
  1545.  
  1546.  Borland has a tight policy for beta testers.  I guess I'll honor
  1547.  it.
  1548.  
  1549.  I have an IBM 339 with 3.5Mb of extended memory (Orchid ECCELL).
  1550.  I just received MSC 5.1 a few hours ago and am not overly happy
  1551.  with it.  The documentation sucks.  Give me a couple of days and
  1552.  I may have some comments regarding the package.  But so far, it
  1553.  seems that the setup program will only run in OS2 protected
  1554.  mode.  It crashes (and locks up) the (in)compatibility box.
  1555.  Good greef!!!  It would seem that MS would have provided a
  1556.  bound program but NOOOOOOOOOOOO...
  1557.  
  1558.                         >>> gene >>>
  1559.  
  1560. >>>>>>>>>> Msg 5226 reply #33
  1561.  
  1562.    conf: PROGRAMMING LANGUAGES  #5350  06-11-88  09:48  (Read 104 times)
  1563.    from: JOE VINCENT
  1564.      to: TOM FELLER (Rcvd)
  1565. subject: R: R: PROGRAMMER'S EDITO  Reply to #5341
  1566.  
  1567. Re: QuickC sucks.
  1568.  
  1569. Come on, Tom, don't hold back -- tell us how you REALLY feel about it.
  1570.  
  1571. I, too, need the large memory model, so I do what I can in QC and then move
  1572. to MSC 5.1 and CodeView to do the rest.  I have TC, but don't use it very
  1573. much -- don't like the poor Assembly language interface.  To use your very
  1574. apt terminology, it sucks.
  1575.  
  1576. Wait a minute -- aren't you the guy who didn't need a debugger because of
  1577. writing flawless code?  What happened?  Are you, after all, mortal, like the
  1578. rest of us poor hackers?
  1579.  
  1580. >>>>>>>>>> Msg 5226 reply #34
  1581.  
  1582.    conf: PROGRAMMING LANGUAGES  #5352  06-11-88  11:03  (Read 105 times)
  1583.    from: TOM FELLER
  1584.      to: JOE VINCENT (Rcvd)
  1585. subject: R: R: PROGRAMMER'S EDITO  Reply to #5350
  1586.  
  1587. The assembly language interface for TC is as good as MSC.
  1588. There is very little difference, you still have to link.
  1589. I use TC with assembly language routines all the time,
  1590. no problem! Maby you did not read the TC manual.
  1591. As for a debugger I was once again given a piece of code
  1592. to debug. I did not write it, so its very hard to debug
  1593. what I have not written. However, many times I can
  1594. quickly see the problem without a debugger. However,
  1595. in this case the programmer botched it up so bad I can't
  1596. figure it out. As for debugging assembly language routines,
  1597. I have used the dos debug with limmited success. I still
  1598. find the best way to debug my own code is with
  1599. a printf. And TC still produces a smaller EXE file than MSC.
  1600. So, maybe I will debug this botched up code using MSC but
  1601. the final compile will be with TC!
  1602.  *Tom Feller*
  1603.  
  1604. >>>>>>>>>> Msg 5226 reply #35
  1605.  
  1606.    conf: PROGRAMMING LANGUAGES  #5353  06-11-88  19:36  (Read 104 times)
  1607.    from: JOE VINCENT
  1608.      to: TOM FELLER (Rcvd)
  1609. subject: R: R: PROGRAMMER'S EDITO  Reply to #5352
  1610.  
  1611. Tom, you're right -- I didn't read the TC manual very closely.  I read the
  1612. part about in-line Assembly code and that was it.  Perhaps it is as good as
  1613. MSC.
  1614.  
  1615. Good luck debugging the basket case you were handed.
  1616.  
  1617. >>>>>>>>>> Msg 5226 reply #36
  1618.  
  1619.    conf: PROGRAMMING LANGUAGES  #5363  06-13-88  15:29  (Read 103 times)
  1620.    from: HYONG BANG
  1621.      to: GENE ALM (Rcvd)
  1622. subject: R: R: PROGRAMMER'S EDITO  Reply to #5347
  1623.  
  1624. Does it seem to you that those of us in the IBM sector of the PC universe
  1625. have no choice but to invest in OS2? That no alternative system for the
  1626. 386 systems are in any realistic sense viable in the marketing sense?
  1627. If so, it also seems, looking at the projected plans for OS2, that one is
  1628. best getting on the train as early as possible? (i.e. the  learning curve
  1629. is going to increase in slope?)
  1630.  
  1631. If Borland's C does not have a debugger, I hope that you and all the other
  1632. beta testers insert a major objection on that point.  By the way, have you
  1633. any experience with "ViewMagic"(?) supposed to use the virtual 86 mode on
  1634. a 386 to reduce the codeview overhead to a few tens of k bytes?
  1635.  
  1636. Hyong
  1637.  
  1638. >>>>>>>>>> Msg 5226 reply #37
  1639.  
  1640.    conf: PROGRAMMING LANGUAGES  #5368  06-14-88  10:14  (Read 100 times)
  1641.    from: GENE ALM
  1642.      to: HYONG BANG (Rcvd)
  1643. subject: R: R: PROGRAMMER'S EDITO  Reply to #5363
  1644.  
  1645.  Hyong,
  1646.  
  1647.  Well, IBM and Microsoft have clearly stated their mutual admiration
  1648.  of OS2.  They have also stated that OS2 will be the operating
  1649.  system of the future for the PC.  The marketplace may have something
  1650.  to say in that regard so I take a wait-and-see stance.  Personally,
  1651.  I believe that OS2 is the precursor of a real '386 operating
  1652.  system.  With all the time and effort that has been expended by
  1653.  Microsoft, this seems only natural.  At this point, I am not
  1654.  overly interested in '386 stuff due mainly to the lack of two
  1655.  things: an operating system designed for the '386 (not DesqView)
  1656.  and a lack of a hardware buss standard.  I will stick with my
  1657.  blue AT and look at the performance of OS2.
  1658.  
  1659.  I've written a few small programs using the OS2 version of MSC and
  1660.  much to my surprise, they have functioned as expected.  The MSC
  1661.  demo programs also seem to run.  I've never heard of ViewMagic
  1662.  but then again it seems to be a product designed especially for
  1663.  users of '386 machines.  Some day, I wish to have a terabyte
  1664.  linear address space.
  1665.  
  1666.                           >>> gene >>>
  1667.  
  1668. >>>>>>>>>> Msg 5226 reply #38
  1669.  
  1670.    conf: PROGRAMMING LANGUAGES  #5369  06-14-88  10:23  (Read 100 times)
  1671.    from: HYONG BANG
  1672.      to: GENE ALM (Rcvd)
  1673. subject: R: R: PROGRAMMER'S EDITO  Reply to #5368
  1674.  
  1675. Is the $3000 for the Microsoft OS2 SDK the only reasonable(quote)
  1676. way to get started in OS2 programming?  Any sign that this entry
  1677. price will head down in the near future?
  1678. Does the new Turbo C have an OS2 capability?
  1679.  
  1680. Hyong
  1681.  
  1682. >>>>>>>>>> Msg 5226 reply #39
  1683.  
  1684.    conf: PROGRAMMING LANGUAGES  #5370  06-14-88  10:23  (Read 101 times)
  1685.    from: GENE ALM
  1686.      to: HYONG BANG (Rcvd)
  1687. subject: R: R: PROGRAMMER'S EDITO  Reply to #5363
  1688.  
  1689.  Hyong,
  1690.  
  1691.  I'm sure Borland had read all the criticism regarding the
  1692.  absence of a debugging environment for Turbo C.  I have already
  1693.  made that suggestion.  Another thing that I suggested was to
  1694.  provide a reference guide that would lay flat.  Thanks for your
  1695.  input.  I'll send in your thoughts regarding the debugger.  In
  1696.  that regard, should anyone else have suggestions or bug reports,
  1697.  I will be glad to send Borland a copy of the captured information
  1698.  from Exec-PC.  So here's your chance to say something to Borland
  1699.  for free (with your name attached).  My only interest is that
  1700.  Borland (or anyone else for that matter) have the information
  1701.  that they need to provide programmers with the BEST in programming
  1702.  tools.  The compiler developers NEED our input.  The benefits of
  1703.  this cooperation belong to us.
  1704.  
  1705.                           >>> gene >>>
  1706.  
  1707. >>>>>>>>>> Msg 5226 reply #40
  1708.  
  1709.    conf: PROGRAMMING LANGUAGES  #5371  06-14-88  10:47  (Read 106 times)
  1710.    from: GENE ALM
  1711.      to: HYONG BANG (Rcvd)
  1712. subject: R: R: PROGRAMMER'S EDITO  Reply to #5369
  1713.  
  1714.  Hyong,
  1715.  
  1716.  I expect that I will rue the day that I mentioned beta testing
  1717.  Turbo C.  Even before I get beta materials, I send letters about
  1718.  stuff I see on Exec-PC and about my personal feelings.  In that
  1719.  regard, I see Borland more of a mass marketer than Microsoft.  I'd
  1720.  like to know just how many Borland and Microsoft C compilers have
  1721.  been sold.  It would be interesting.  Since MSDOS  is the
  1722.  predominant operating system, I would expect Borland to support
  1723.  MSDOS and should they support OS2, I would consider that a bonus.
  1724.  There is little doubt that Borland will have to support OS2 with
  1725.  their C compiler since Microsoft has already released a compatible
  1726.  C compiler and Lattice is (hopefully) not too far behind.
  1727.  
  1728.  Is the SDK the way to go?  I don't think so.  If you read Charles
  1729.  Petzold's critique in PC Magazine, you know that IBM version of
  1730.  OS2 support is terrible.  The Microsoft stuff is not much better.
  1731.  So I purchased IBM OS2 and the Microsoft compilers.  These things
  1732.  provide all the utilities needed to develop stuff under OS2.  In
  1733.  addition, I purchased a copy of the OS/2 Programmer's Guide by
  1734.  ED Iacobucci (the leader of the OS/2 design team).  In addition
  1735.  to the normal pitch about multitasking, the appendices contain
  1736.  a complete listing of the OS/2 function calls (in detail) and
  1737.  some sample code (actually quite a bit).  So I haven't got that
  1738.  much invested in the OS/2 stuff and I expect that I have about
  1739.  80 percent of the information available regarding OS/2.  As the
  1740.  transients settle out, I'm sure that more flatware will become
  1741.  available and it will be a lot cheaper than that provided by
  1742.  Gates and his licensees.  From what I've seen of OS/2, I rather
  1743.  like it.  If you believe in structured programming, you'll like
  1744.  it much more than DOS.  You make opsys calls from C by using
  1745.  the conventional function notation and not by accessing interrupts.
  1746.  The interface is MUCH cleaner.  The opsys is directly expandable
  1747.  by the applications programmer.  It has much to offer.  It's too
  1748.  bad that MS has inflated the price of development tools.  To me,
  1749.  I consider that a mistake.  One of the major keys to the success
  1750.  of the PC has been the open architecture of the hardware and
  1751.  software.  I ask that MS and IBM continue (or reinstate) their
  1752.  policy of openness so that new things may develop and prosper.
  1753.  
  1754.                       >>> gene >>>
  1755.  
  1756. >>>>>>>>>> Msg 5226 reply #41
  1757.  
  1758.    conf: PROGRAMMING LANGUAGES  #5374  06-14-88  20:40  (Read 105 times)
  1759.    from: JAMES SABATKE
  1760.      to: GENE ALM (Rcvd)
  1761. subject: R: R: PROGRAMMER'S EDITO  Reply to #5371
  1762.  
  1763.    I have to agree with Gene about OS/2.  I've just finished an operating
  1764. system class where we examined UNIX and OS/2 in depth.  The power behind
  1765. and operating system like either of these make DOS seem quite unnatractive.
  1766. I think that the critics waiting for a "real" operating system on the 386
  1767. are ignoring one of the most important forward steps in PC history.
  1768.  
  1769. >>>>>>>>>> Msg 5226 reply #42
  1770.  
  1771.    conf: PROGRAMMING LANGUAGES  #5377  06-15-88  11:22  (Read 106 times)
  1772.    from: HYONG BANG
  1773.      to: GENE ALM (Rcvd)
  1774. subject: R: R: PROGRAMMER'S EDITO  Reply to #5370
  1775.  
  1776. I second your request for a reference manual that lies flat.  I am
  1777. currently using TP4 and that is in even worse condition since the
  1778. multiple volumes of TPC were completely done away with and made into
  1779. one huge one (you know this already I'm sure) and it just does not work.
  1780.  
  1781. Any word on an OS2 version? or since they managed to get Paradox 386
  1782. to work under Pharlap's dos extender, may be a version for the 386?
  1783.  
  1784. Hyong
  1785.  
  1786. >>>>>>>>>> Msg 5226 reply #43
  1787.  
  1788.    conf: PROGRAMMING LANGUAGES  #5378  06-15-88  11:28  (Read 107 times)
  1789.    from: HYONG BANG
  1790.      to: GENE ALM (Rcvd)
  1791. subject: R: R: PROGRAMMER'S EDITO  Reply to #5371
  1792.  
  1793. Thanks for the advice.  I'm being forced by the limitations of
  1794. a personal budget to look harder and harder at buying a 286
  1795. system rather than the 386 systems that I lust after, but the
  1796. investment reuqired for (or looked like required for) OS2 just
  1797. seemed absurd.
  1798.  
  1799. Any comments on the steepness of the learning curve?
  1800.  
  1801. Hyong
  1802.  
  1803. >>>>>>>>>> Msg 5226 reply #44
  1804.  
  1805.    conf: PROGRAMMING LANGUAGES  #5384  06-16-88  01:21  (Read 111 times)
  1806.    from: GENE ALM
  1807.      to: HYONG BANG (Rcvd)
  1808. subject: R: R: PROGRAMMER'S EDITO  Reply to #5378
  1809.  
  1810.  Hyong,
  1811.  
  1812.  OS/2 and/or 386 stuff from Borland?  I just can't say.  You'll
  1813.  have to wait for their announcement.  They are not sitting on
  1814.  their hands!
  1815.  
  1816.  Learning curve for OS/2?  Wow.  That depends on many things.  As
  1817.  an example, the MS FORTRAN compiler is easy to use under OS/2.
  1818.  I did some stuff with very huge arrays (ones that DOS would barf
  1819.  up) and had no problem.  Unfortunately when it comes to C or
  1820.  assembly language, you'll need references for the API interface.
  1821.  I mentioned the Iacobucci reference previously.  The MSC compiler
  1822.  contains header files which declare the API prototypes and their
  1823.  associated data structures.  I expect that there is a significant
  1824.  learning curve simply because there is so much new stuff (process
  1825.  synchronization, critical section handling, etc.).  The command
  1826.  line for OS/2 might look like DOS but there are few other
  1827.  similarities.
  1828.  
  1829.  I feel much as you do regarding machines and money.  I don't have
  1830.  too much to spend and so I have been trying to get the maximum
  1831.  bang for the buck.  So, I will not be purchasing a '386 machine
  1832.  in the near future.  I guess I want to see a real '386 opsys
  1833.  (which I expect will be similar to OS/2), some significant
  1834.  protected mode applications, and a buss standard.  That should
  1835.  allow me to "cop out" for at least two years.  My AT has served
  1836.  me well.  It fits like an old shoe but doesn't smell like one.
  1837.  
  1838.                           >>> gene >>>
  1839.  
  1840. >>>>>>>>>> Msg 5226 reply #45
  1841.  
  1842.    conf: PROGRAMMING LANGUAGES  #5388  06-16-88  17:20  (Read 106 times)
  1843.    from: HYONG BANG
  1844.      to: GENE ALM (Rcvd)
  1845. subject: R: R: PROGRAMMER'S EDITO  Reply to #5384
  1846.  
  1847. Again, thanks for the advice.  I will get a copy of the Iacobucci book.
  1848. and most likely, a 286 system of some kind... In any case, will be
  1849. starting into OS2 applications Real Soon Now.  Any volunteers for
  1850. a leader for an OS2 conference?
  1851.  
  1852. Thanks much,  Hyong
  1853.  
  1854. >>>>>>>>>> Msg 5226 reply #46
  1855.  
  1856.    conf: PROGRAMMING LANGUAGES  #5392  06-16-88  22:01  (Read 99 times)
  1857.    from: TOM FELLER
  1858.      to: GENE ALM (Rcvd)
  1859. subject: R: R: PROGRAMMER'S EDITO  Reply to #5368
  1860.  
  1861.    Gene,
  1862.      What about UNIX 386? The benchmarks in the June issue of
  1863. Personal Computing blew OS/2 away. OS/2's speed dropped off
  1864. in a curve down as the tasks increased. UNIX 386 speed dropped
  1865. off linearly as the tasks increased. And the line dropped very
  1866. slowly. But, the lack of 386 support for OS/2 is the most likely
  1867. cause of this speed decrease. The 386 version of OS/2 should do
  1868. much better, I would hope. Of course it will be at least a year
  1869. until we see a 386 version of OS/2. I think the users will define
  1870. the move to the next OS. MS-DOS is so popular the move will be slow.
  1871. UNIX is so complex the users will shy away from it. OS/2 will
  1872. be the defacto standard. I don't know if I like that or not.
  1873. My hands have not been in the OS/2 SDK. Some day I will crack
  1874. open some of the 30 odd manuals we have at the office from the SDK.
  1875. Thats as soon as my boss is willing to take me off any other project
  1876. for a month or so. Ha Ha maybe 24 months.
  1877.      Tom Feller
  1878.  
  1879. >>>>>>>>>> Msg 5226 reply #47
  1880.  
  1881.    conf: PROGRAMMING LANGUAGES  #5399  06-17-88  11:13  (Read 101 times)
  1882.    from: GENE ALM
  1883.      to: TOM FELLER (Rcvd)
  1884. subject: R: R: PROGRAMMER'S EDITO  Reply to #5392
  1885.  
  1886.  Tom,
  1887.  
  1888.  You see things much as I do.  When comparing UNIX to OS/2, there
  1889.  is one thing many seem to bypass.  UNIX is multi-user; OS/2 is
  1890.  single-user.  So for a multi-user system to beat out a single-
  1891.  user system is significant.  But the way OS/2 (and surely UNIX)
  1892.  is constructed, the algorithms may be changed and/or tuned with
  1893.  no changes in the user/programmer interface.  So as the people
  1894.  at Microsoft get smarter, OS/2 should get better.  I just hope
  1895.  that IBM and Microsoft don't continue to charge significant
  1896.  upgrade fees.  There are a lot of individuals who are upset
  1897.  regarding the cost of OS/2 conversion.  We haven't seen much
  1898.  in the say of OS/2 applications to decide whether or not the
  1899.  costs are too high.  But I did like to see that MS FORTRAN
  1900.  comes in a bound version and therefore there is no cost penalty
  1901.  for the OS/2 version.  Unfortunately that same philosophy was not
  1902.  followed in their C compiler.  The OS/2 update cost three times
  1903.  the DOS update (and the documentation is extremely poor).
  1904.  
  1905.  The next year or two will be interesting.  I've heard that good
  1906.  ol' WordStar will have an OS/2 version RSN.
  1907.  
  1908.                             >>> gene >>>
  1909.  
  1910. >>>>>>>>>> Msg 5226 reply #48  >>>Last msg in reply thread.
  1911. Returning to normal sequence.
  1912.  
  1913.    conf: PROGRAMMING LANGUAGES  #5228  05-29-88  18:46  (Read 96 times)
  1914.    from: PAT SHEA
  1915.      to: ANDY WHITCROFT (Rcvd)
  1916. subject: R: PROGRAMMER'S EDITORS  Reply to #5226
  1917.  
  1918. Andy...
  1919. I'll throw my hat in the ring on the editor question.  If you are NOT, at
  1920. some point in your career, an IBM mainframe-type, do not bother to read any
  1921. further.  I use Command Technologies SPF/PC v2.0 and love it !!  It's the
  1922. mainframe TSO/MVS SPF applied to the PC dos environment.... same commands,
  1923. same screens, same features.  When I found it, I felt like I'd come home.
  1924. It's SPF with all the bells, whistles (and warts) that it's big brother
  1925. has.  It's faster than a scalded cat, virtual memory, handles files as big
  1926. as your free disk space (paging drive) and duz all the good stuff that an
  1927. editor should.  It's not as pretty as some of the competition, but for an
  1928. old mainframer, it's like putting on an old pair of shoes.
  1929. best,
  1930. pat shea..
  1931. ---------------
  1932.  
  1933.    conf: PROGRAMMING LANGUAGES  #5233  05-29-88  21:38  (Read 96 times)
  1934.    from: ANDY WHITCROFT
  1935.      to: PAT SHEA (Rcvd)
  1936. subject: R: R: PROGRAMMER'S EDITO  Reply to #5228
  1937.  
  1938. Dear Pat,
  1939.      I assume that there is no support for a mouse, but otherwise is very
  1940. powerful. My only remaining question is about the command structure, is it
  1941. easy to remember? Does the command structure stay out of your way or is one
  1942. constantly answering menu's?
  1943.                                    Andy.
  1944.  
  1945. >>>>>>>>>> Msg 5228 reply #1
  1946.  
  1947.    conf: PROGRAMMING LANGUAGES  #5235  05-29-88  23:10  (Read 97 times)
  1948.    from: PAT SHEA
  1949.      to: ANDY WHITCROFT (Rcvd)
  1950. subject: R: R: PROGRAMMER'S EDITO  Reply to #5233
  1951.  
  1952. Andy...
  1953. definitely NO rodents on this one.  The commands are almost 2nd nature and
  1954. certainly do not get in Ur way.  If you have access to an IBM mainframe
  1955. running tso/mvs, take a look at it's editor, SPF.  SPF/PC has exactly the
  1956. same command structure.  I occasionally use 'moonlighters' from the
  1957. mainframe environment.  Their total startup time in getting used to the
  1958. editor on the PC usually runs 'bout 15-20 minutes (and then they try to
  1959. steal a copy when they leave, dammit!).
  1960.  
  1961. as an aside...
  1962. someone once told me that WIMP stood for users of Windows, Icons, Mice (or
  1963. maybe Menus) and Prompts  ???
  1964. best regards,
  1965. pat s.
  1966.  
  1967. >>>>>>>>>> Msg 5228 reply #2
  1968.  
  1969.    conf: PROGRAMMING LANGUAGES  #5254  06-02-88  00:10  (Read 92 times)
  1970.    from: TOM FELLER
  1971.      to: ANDY WHITCROFT (Rcvd)
  1972. subject: R: R: PROGRAMMER'S EDITO  Reply to #5233
  1973.  
  1974. The menus do stay out of your way in VEDIT.
  1975.  *Tom Feller*
  1976.  
  1977. >>>>>>>>>> Msg 5228 reply #3  >>>Last msg in reply thread.
  1978. Returning to normal sequence.
  1979.  
  1980.    conf: PROGRAMMING LANGUAGES  #5231  05-29-88  20:23  (Read 101 times)
  1981.    from: BRUCE SHERMAN
  1982.      to: ALL
  1983. subject: LEARNING C
  1984.  
  1985. What books and aids do you recommend for learning Microsoft C?  By the way,
  1986. I have
  1987. about ten years of programming experience, and currently use Turbopascal.
  1988. ---------------
  1989.  
  1990.    conf: PROGRAMMING LANGUAGES  #5236  05-29-88  23:25  (Read 102 times)
  1991.    from: PAT SHEA
  1992.      to: BRUCE SHERMAN (Rcvd)
  1993. subject: R: LEARNING C  Reply to #5231
  1994.  
  1995. I've tried a lot of texts from the venerable "white bible" (K&R) right on
  1996. thru the whole gambit with varying degrees of success, but 'bout two or
  1997. three semesters ago I came on Robert Lafore's "Microsoft C Programming for
  1998. the IBM" - Howard W. Sams & Company 1987 and it seems to have rung some
  1999. chimes with the students - mostly undergraduate types who cut there teeth
  2000. on Turbo.  Lafore is one of the authors/editors in the Waite Group and duz
  2001. a super job of making some pretty dry stuff quite interesting/readable.
  2002. Another of his books that you may know is "Assembly Language Primer for the
  2003. IBM PC & XT" - this is a good one too if Ur so inclined.
  2004. happyhacking
  2005. pat shea
  2006.  
  2007. >>>>>>>>>> Msg 5231 reply #1
  2008.  
  2009.    conf: PROGRAMMING LANGUAGES  #5255  06-02-88  00:21  (Read 98 times)
  2010.    from: TOM FELLER
  2011.      to: BRUCE SHERMAN (Rcvd)
  2012. subject: R: LEARNING C  Reply to #5231
  2013.  
  2014. First get TurboC and then you don't have to learn MSC.
  2015. A good book is Learning C by ??, I loaned it to someone
  2016. and forgot about it. Thanks for reminding me! For reference
  2017. K+R is ok but I think C A Reference Manual by Harbison+Steele
  2018. from Prentice-Hall is better. It has lots of ANSI stuff.
  2019. The organization is better and it has almost all extensions.
  2020. There are many good learning C books, look for one that
  2021. has allocation, linked lists and pointer stuff to the max.
  2022. Thats a big thing in "C" allocation and pointers.
  2023.  *Tom Feller*
  2024.  
  2025. >>>>>>>>>> Msg 5231 reply #2  >>>Last msg in reply thread.
  2026. Returning to normal sequence.
  2027.  
  2028.    conf: PROGRAMMING LANGUAGES  #5248  05-31-88  19:26  (Read 98 times)
  2029.    from: MATTHEW EASH
  2030.      to: ALL
  2031. subject: MOUSE PROGRAMMING
  2032.  
  2033. I AM A RELATIVELY NEW PROGRAMMER WHO IS TRYING TO GET QUICKC TO WORK WITH A
  2034. MOUSE -- MICROSOFT SPECIFICALLY, BUT MICE IN GENERAL.  I CAN'T SEEM TO GET
  2035.  TO WORK AT ALL -- THIS FUNCTION INSTALLS THE ADDRESS OF CODE TO BE
  2036. EXECUTED UPON A MOUSE INTERRUPT.  ANY HELP IS APPRECIATED.
  2037. ---------------
  2038.  
  2039.    conf: PROGRAMMING LANGUAGES  #5258  06-02-88  16:28  (Read 90 times)
  2040.    from: ANDY WHITCROFT
  2041.      to: MATTHEW EASH
  2042. subject: R: MOUSE PROGRAMMING  Reply to #5248
  2043.  
  2044. Dear Matthew,
  2045.      try scanning the mahoney collection with word 'mouse', there is a file
  2046. in there that has functions for mouse interupts written in turbo c and
  2047. another written in turbo pascal. either one or both might be worth a look.
  2048.               Andy.
  2049.  
  2050. >>>>>>>>>> Msg 5248 reply #1  >>>Last msg in reply thread.
  2051. Returning to normal sequence.
  2052.  
  2053.    conf: PROGRAMMING LANGUAGES  #5249  05-31-88  22:56  (Read 96 times)
  2054.    from: RICK CANAPA
  2055.      to: ALL
  2056. subject: REMOTE ACCESS
  2057.  
  2058. I'm currently looking for a program to remotely access my system and run my
  2059. software without it rebooting. at this time, I'm running Minihost - which
  2060. is nice - but I can't run my own programs which is the main intent. From
  2061. running a quick scan, Ive seen a few that might be useable, like
  2062. Hostcall.arc, Drway-b5.arc, Drway-b2.arc, and a few others. If anyone has
  2063. any feed back, I would appreciate it. Thanks in advance.
  2064. Regards, rick
  2065. ---------------
  2066.  
  2067.    conf: PROGRAMMING LANGUAGES  #5250  06-01-88  06:45  (Read 93 times)
  2068.    from: PETER OZOLINS
  2069.      to: RICK CANAPA (Rcvd)
  2070. subject: R: REMOTE ACCESS  Reply to #5249
  2071.  
  2072.      cc: GREG RYAN
  2073.  
  2074. Rick,
  2075.    I think Greg Ryan wrote the Drway-bx.arc program, which allows you to
  2076. run your programs remotely.  You could have Minihost drop to dos and run
  2077. Drway which in turn would output your programs through the modem.
  2078. I'll carbon copy this message to him.
  2079.  
  2080. Talk later,
  2081. Pete
  2082.  
  2083. >>>>>>>>>> Msg 5249 reply #1
  2084.  
  2085.    conf: PROGRAMMING LANGUAGES  #5252  06-01-88  23:42  (Read 90 times)
  2086.    from: TOM FELLER
  2087.      to: RICK CANAPA (Rcvd)
  2088. subject: R: REMOTE ACCESS  Reply to #5249
  2089.  
  2090. Take a look at CO-SESSION, we use it at work and we think its
  2091. the best. We tried REMOTE, but it did not offer all the features
  2092. of CO-SESSION. You can do anything! Except switch a disk.
  2093. We use it to do stuff on a customer's computer. It's faster than talking
  2094. over the phone to solve a problem. The customer's computer
  2095. acts like the keyboard is connected locally and remotely.
  2096. The screen on the remote computer is updated slower than
  2097. the local computer. However, the remote screen still updates
  2098. faster than with REMOTE. It seems as if CO-SESSION "sees"
  2099. and transmits only what changes on the screen. REMOTE seems
  2100. to transmit more than needed. CO-SESSION supports COM 1,2,3,4.
  2101. You can also initiate the call by voice and switch over to modem
  2102. when connected. This is important if you go through a company
  2103. switch board. Of course it has auto answer.
  2104. We tried it out at the office. It was strange, the computer was
  2105. being run from my friends home. It was like he was at the office
  2106. , but he was at home. It even worked with the network, he sent
  2107. me mail! I could also use the keyboard. I tried to read his mind
  2108. and did a command before he had a chance to see the screen update,
  2109. he said thanks! It was great!
  2110. It's the best one on the market!
  2111.  *TOM FELLER*
  2112.  
  2113. >>>>>>>>>> Msg 5249 reply #2
  2114.  
  2115.    conf: PROGRAMMING LANGUAGES  #5361  06-13-88  12:13  (Read 95 times)
  2116.    from: RICK CANAPA
  2117.      to: PETER OZOLINS (Rcvd)
  2118. subject: R: R: REMOTE ACCESS  Reply to #5250
  2119.  
  2120. Pete;
  2121. I really appreciate the info and I hope I can make use of it. Sorry about
  2122. not responding sooner, but I've been down for a couple of weeks
  2123. restructuring on system. New monitor, cards, cad, and alot more. Right now
  2124. I'm at work on there system, but I'll keep in touch.
  2125. Best regards, rick
  2126.  
  2127. >>>>>>>>>> Msg 5249 reply #3
  2128.  
  2129.    conf: PROGRAMMING LANGUAGES  #5362  06-13-88  12:18  (Read 96 times)
  2130.    from: RICK CANAPA
  2131.      to: TOM FELLER (Rcvd)
  2132. subject: R: R: REMOTE ACCESS  Reply to #5252
  2133.  
  2134. Tom;
  2135. Sorry about not responding sooner, but I've been restructuring my entire
  2136. system, new monitor, cards, cad, etc. Currently my system is down and I'm
  2137. on the system at work. Printed out your msg to read a little later. Thanks
  2138. for the info and I'll keep in touch.
  2139. Best regards and thanks, Rick
  2140.  
  2141. >>>>>>>>>> Msg 5249 reply #4  >>>Last msg in reply thread.
  2142. Returning to normal sequence.
  2143.  
  2144.    conf: PROGRAMMING LANGUAGES  #5257  06-02-88  12:53  (Read 89 times)
  2145.    from: THOMAS GIERACH
  2146.      to: ALL
  2147. subject: PANISONIC 1092 AND WP 5.
  2148.  
  2149. COULD ANYONE HELP ME OUT WITH A PROBLEM I ENCOUNTERED WITH THE NEW
  2150. WORDPERFECT 5.0. IT DOES NOT SUPPORT THE 1092 PRINTER AND I AM GOING NUTS
  2151. TRYING TO GET IT TO PRINT CORRECTLY. IT DOES SUPPORT THE 1092i BUT THEIR
  2152. MUST BE ENOUGHT DIFFERENCE TO REALLY SCREW ME UP. IF YOU KNOW THE ANSWER OR
  2153. AND ADD A LITTLE LIGHT TO THE SUBJECT, PLEASE LEAVE A MESSAGE TO THOMAS
  2154. GIERACH. YOUR HELP WILL BE APPRECIATED. THANKS
  2155. ---------------
  2156.  
  2157.    conf: PROGRAMMING LANGUAGES  #5288  06-04-88  22:24  (Read 95 times)
  2158.    from: EDWARD MARCH
  2159.      to: THOMAS GIERACH (Rcvd)
  2160. subject: R: PANISONIC 1092 AND WP  Reply to #5257
  2161.  
  2162. Hello Thomas,
  2163.   I am looking to buy wp 5.0, i have wp 4.2 and NEWS MASTER and I'd
  2164. like to know how is wp 5.0 ?? Sorry I couldn't help you with your
  2165. printer problem (yet) I've seen 5.0 for $299 and as low as $204
  2166. thru Whare house data products, any other sources for a good price ?
  2167. when did it come out ?
  2168. --Ed--
  2169.  
  2170. >>>>>>>>>> Msg 5257 reply #1
  2171.  
  2172.    conf: PROGRAMMING LANGUAGES  #5322  06-07-88  23:50  (Read 100 times)
  2173.    from: EDWARD MARCH
  2174.      to: CHARLES PERRIN (Rcvd)
  2175. subject: R: R: PANISONIC 1092 AND  Reply to #5295
  2176.  
  2177. how is word perfect 5.o as far as graphics goes ?
  2178. how do you get graphics into it ? and from what source ?
  2179. how similar is it to the old 4.x stuff ?
  2180. -ed
  2181.  
  2182. >>>>>>>>>> Msg 5257 reply #2  >>>Last msg in reply thread.
  2183. Returning to normal sequence.
  2184.  
  2185.    conf: PROGRAMMING LANGUAGES  #5260  06-02-88  18:14  (Read 95 times)
  2186.    from: JOE VINCENT
  2187.      to: ALL
  2188. subject: ORACLE
  2189.  
  2190. Just received the Professional Developer copy of Oracle today.  It's very
  2191. impressive; all of the documentation is applicable to PC, mini and
  2192. mainframe environments (i.e., it's non-specific) except for the
  2193. installation instructions.  It's unusual for a software product to be so
  2194. consistent across environments that the documentation is generic.
  2195.  
  2196. Resource requirements are eye-popping -- 7.5MB of disk, 640K RAM plus 896K
  2197. extended (that's extended, not expanded) memory and 2 feet of shelf space
  2198. for the 18 diskettes and 20 pounds of manuals.
  2199.  
  2200. Installation wasn't easy.  Found that a collision with one of my TSRs was
  2201. causing problems when Oracle loaded into extended memory and Oracle didn't
  2202. seem to like sharing extended memory with Desqview's 60K of code.  Still
  2203. not sure that installation was clean, since I received a "failed
  2204. verification" message at the end.  I'll take another run at it with no TSRs
  2205. and extended memory vacant.
  2206.  
  2207. Any other Oracle experimenters out there?
  2208. ---------------
  2209.  
  2210.    conf: PROGRAMMING LANGUAGES  #5261  06-02-88  20:59  (Read 92 times)
  2211.    from: DAVE CLAY
  2212.      to: ALL
  2213. subject: MAKE A .COM FROM MSC5.1
  2214.  
  2215. A little help please.  How do I go about making a .COM program from
  2216. Microsoft 'C' compiler.  As far as I can tell, the "small" model still
  2217. gives a seperate stack segment.  So far, the only way I have been able
  2218. to make .COM programs is to write in MASM.  Thanks for any help.
  2219.                                          Dave Clay
  2220. ---------------
  2221.  
  2222.    conf: PROGRAMMING LANGUAGES  #5262  06-02-88  21:19  (Read 96 times)
  2223.    from: PHIL KATZ
  2224.      to: DAVE CLAY (Rcvd)
  2225. subject: R: MAKE A .COM FROM MSC5  Reply to #5261
  2226.  
  2227. Dave,
  2228.  
  2229. Microsoft has stopped supporting .COM files with a vengeance.
  2230. Even there MASM manuals don't explain what the ORG statement
  2231. is really useful, nor do they include a .COM "skeleton" anymore.
  2232.  
  2233. Anyway, you might want to try Relia's SpaceMaker program which
  2234. could turn small .EXE's (less than 64K) into a .COM file.
  2235.  
  2236. Actually though, .EXE files aren't that bad, and do give you
  2237. more control over things once you learn how to take advantage
  2238. of them.
  2239.  
  2240. >Phil>
  2241.  
  2242. >>>>>>>>>> Msg 5261 reply #1  >>>Last msg in reply thread.
  2243. Returning to normal sequence.
  2244.  
  2245.    conf: PROGRAMMING LANGUAGES  #5263  06-02-88  23:18  (Read 100 times)
  2246.    from: DANIEL KRAM
  2247.      to: CHUCK CONNOR (Rcvd)
  2248. subject: R: OS/2 APPLICATIONS  Reply to #4264
  2249.  
  2250. CHUCK,
  2251. EXACTLY, WHAT TYPE OF APPLICATIONS ARE YOU LOOKING FOR AS I DO HAVE X
  2252. NUMBER BUT AM LEARY AS TO LETTING ON OR SAYING WHICH ONES FOR PERSONAL
  2253. REASONS.
  2254. DAN
  2255. ---------------
  2256.  
  2257.    conf: PROGRAMMING LANGUAGES  #5268  06-03-88  10:08  (Read 93 times)
  2258.    from: CHUCK CONNOR
  2259.      to: DANIEL KRAM (Rcvd)
  2260. subject: R: R: OS/2 APPLICATIONS  Reply to #5263
  2261.  
  2262. DANIEL I AM LOOKING FOR ANY AND ALL TYPES OF OS/2 APPLICATIONS
  2263. EDITORS, PROGRAMMING UTILITIES, SYSTEM UTILITIES , ETC.
  2264. I AM A SYSTEMS ANALYST FOR A LARGE CORPORATION LOOKING AT OS/2
  2265. FOR BOTH BUSINESS AND PERSONAL USE.      ANY INFORMATION OR PGMS
  2266. EXCHANGED BETWEEN MYSELF AND YOU WILL BE HELD IN STRICTEST
  2267. CONFIDENCE.
  2268.  
  2269. >>>>>>>>>> Msg 5263 reply #1
  2270.  
  2271.    conf: PROGRAMMING LANGUAGES  #5304  06-05-88  20:07  (Read 101 times)
  2272.    from: DANIEL KRAM
  2273.      to: CHUCK CONNOR (Rcvd)
  2274. subject: R: R: OS/2 APPLICATIONS  Reply to #5268
  2275.  
  2276. CHUCK
  2277. I AM PRESENTLY WORKING ON A MENU DRIVEN OS/2 SOFTWARE PACKAGE FOR HARD/SOFT
  2278. DISK MANIPULATIONS.  I AM HOWEVER RUNNING INTO SOME SNAGS THANKS TO MICRO-
  2279. SOFT AND THEM $#%&#!  PLEASE WRITE ME IN 4 TO 6 WEEKS AS I HOPE TO HAVE IT
  2280. UP AND RUNNING BY THEN AND MAY BE PUTTING IT ON THE MARKET VIA MY COMPANY.
  2281. IF I DO I WILL ALLOW PUBLIC ACCESS HERE FIRST BEFORE RELEASE AND ANY COPY
  2282. RIGHTS ARE INFRINGED.  GOOD LUCK ON YOUR ENDEVERS.
  2283. DAN
  2284.  
  2285. >>>>>>>>>> Msg 5263 reply #2
  2286.  
  2287.    conf: PROGRAMMING LANGUAGES  #5573  06-07-88  13:17  (Read 105 times)
  2288.    from: CHUCK CONNOR
  2289.      to: DANIEL KRAM (Rcvd)
  2290. subject: R: R: OS/2 APPLICATIONS  Reply to #5304
  2291.  
  2292. Daniel this is chuck connor .  just checking to see how your os/2 project
  2293. is going. and to give you my address and ask for yours for corespondence
  2294. on your project and other OS/2 pgms you may know of.
  2295. my address is:     13311 New Hampshire Ave. suite #8
  2296.                    Silver Spring, Maryland 20904
  2297.                    (w)   (301) 650-4340
  2298.                    (h)   (301) 490-8107
  2299.  
  2300. >>>>>>>>>> Msg 5263 reply #3
  2301.  
  2302.    conf: PROGRAMMING LANGUAGES  #5579  07-07-88  00:05  (Read 107 times)
  2303.    from: DANIEL KRAM
  2304.      to: CHUCK CONNOR (Rcvd)
  2305. subject: R: R: OS/2 APPLICATIONS  Reply to #5573
  2306.  
  2307. CHUCK,
  2308. SORRY, I FORGOT ABOUT YOU.  YES, I HAVE FINISHED MY SOFTWARE FOR THE OS/2
  2309. SYSTEM'S.  IT IS, IF I DID NOT TELL YOU BEFORE, AN INVENTORY PROGRAM FOR
  2310. WHICH INQUIRIES ARE RECEIVED AND LITERATURE IS SENT TO THE 'CLIENT' OR
  2311. CUSTOMER.  MY GOODNESS I NEVER THOUGHT IT WOULD BE THAT HARD OF A TAS TO
  2312. MANIPULATE THE PROGRAM TO GET IT TO WORK AS IT SHOULD WHITH OS/2.  I
  2313. HOWEVER AM UNABLE TO 'SELL' IT (I.E. GIVE IT OUT) AS THE COMPANY I WROTE IT
  2314. FOR HAS (C) ON IT.  I AM WILLING, HOWEVER, TO SHARE THE IDEAS ETC... WITH
  2315. ANYONE INTERESTED IN LISTENING.
  2316. I AM PURCHASING THE WINDOWS APPLICATION SOFTWARE FOR MY OTHER PC'S THAT
  2317. DESIRE MULTITASKING.  I HAVE FOUND IN MY SHOP THAT SOME WORKSTATIONS
  2318. REQUIRE THE USE OF MULTITASKING ONLY AND NOT THE (AHEM) 'FULL FEATURED'
  2319. OS/2 THAT IBM (AND SOON TO BE OTHERS) OFFER.  AND IT DOESEN'T COST MY
  2320. BUDGET AN ARM AND A LEG.
  2321. HOW ARE THINGS ON YOUR END?  OH, BY THE WAY IBM, OF COURSE, IS GIVING A
  2322. EXCELLENT COURSE ON OS/2 IN SEPT. I BELIEVE HERE IN MILWAUKEE AT THE IBM
  2323. BUILDING DOWNTOWN.  I TOOK IT AND GOT AN EXCELLENT UNDERSTANDING AND
  2324. WORKING AND BUSINESS KNOWLEDGE OF OS/2 AND MULTITASKING, IN AS FAR AS
  2325. PROGRAMMING AND SYSTEM/ANALYSIS DESIGN GOES.  IT ONLY RAN $995 AND IF YOU
  2326. ARE A DPMA MEMBER CAN GET IT FOR $200 LESS.  HMMMMM.
  2327. ADDRESS IS:
  2328. (W) 2875 S. 171ST STREET
  2329.     NEW BERLIN, WI 53151-3511 % DANIEL KRAM M.I.S. DIR.
  2330. WRITE HERE I MAY GET IT SOONER AS I RARELY AM HOME TO READ MY OWN MAIL.
  2331. (W/P) (414) 797 - 8558 ANYTIME BETWEEN 9 - 5.
  2332. HOPE YOUR DOING WHAT YOU WANT TO BE (IN OS/2).  QUESTIONS?
  2333. SEE YA,
  2334. DANIEL R. KRAM
  2335.  
  2336. >>>>>>>>>> Msg 5263 reply #4  >>>Last msg in reply thread.
  2337. Returning to normal sequence.
  2338.  
  2339.    conf: PROGRAMMING LANGUAGES  #5264  06-03-88  06:04  (Read 91 times)
  2340.    from: PAT SHEA
  2341.      to: ALL
  2342. subject: "ACTOR"
  2343.  
  2344. Is anyone out there using The Whitewater Group's ACTOR ???
  2345. Comments and/or Opinions, please.
  2346. TNX,
  2347. pat shea
  2348. ---------------
  2349.  
  2350.    conf: PROGRAMMING LANGUAGES  #5266  06-03-88  08:06  (Read 89 times)
  2351.    from: WILLIAM BIRD
  2352.      to: PAT SHEA (Rcvd)
  2353. subject: R: "ACTOR"  Reply to #5264
  2354.  
  2355. I have a copy of Actor but have not had much of a chance to
  2356. use it.  It is an object oriented language with a syntax that
  2357. is close enough to pascal for us "real" programmers to
  2358. understand.  It does, as its advertising suggests, make simple
  2359. MS Windows programming simple.  Complex windows programming,
  2360. however, still requires that you understand the details of
  2361. windows (i.e., you need the Windows Developers kit or at least
  2362. one of the windows programming books).  The biggest problem
  2363. with Actor is in creating an independent load module that you
  2364. can distribute.  It is a cumbersome process and creates a
  2365. large file (most of the run time Actor stuff is included in
  2366. it).  I haven't tryied this in the current version (1.1) so
  2367. don't know how hard it is (they improved it).  This will be
  2368. my next project, if I ever get time.
  2369. Have a good day....Bill
  2370.  
  2371. >>>>>>>>>> Msg 5264 reply #1
  2372.  
  2373.    conf: PROGRAMMING LANGUAGES  #5274  06-03-88  21:41  (Read 97 times)
  2374.    from: PAT SHEA
  2375.      to: WILLIAM BIRD (Rcvd)
  2376. subject: R: R: "ACTOR"  Reply to #5266
  2377.  
  2378. Bill....
  2379. TNX for the comeback on the ACTOR question.  Your reply pretty much
  2380. substantiates what I have heard from others.  I am presently 'doing
  2381. Windows' the hard way, i.e., line by line coding, and am a very long way
  2382. from being what I would call proficient.  'really just started working that
  2383. environment a few month ago to satisfy my curiosity, not for any real
  2384. business problem.  sorta lookin' for an easier way....
  2385. TNX again
  2386. pat shea
  2387.  
  2388. >>>>>>>>>> Msg 5264 reply #2
  2389.  
  2390.    conf: PROGRAMMING LANGUAGES  #5278  06-04-88  07:37  (Read 93 times)
  2391.    from: TIM NESHAM
  2392.      to: PAT SHEA (Rcvd)
  2393. subject: R: R: "ACTOR"  Reply to #5274
  2394.  
  2395.     Pat,
  2396.  
  2397.   If all you need are windows, check out the Blaise Libraries. Or perhaps
  2398. Greenleaf. I personally have used Blaise and they give you a ton of
  2399. functions mit source. Windows, Tsr stuff, Screen stuff, string stuff and
  2400. stuff stuff - a lot of stuff. The code is excellent. But stay away from a
  2401. product called Screen Star by essential. I had it and boy was it buggy.
  2402.  
  2403.    Tim
  2404.  
  2405. >>>>>>>>>> Msg 5264 reply #3
  2406.  
  2407.    conf: PROGRAMMING LANGUAGES  #5287  06-04-88  22:13  (Read 95 times)
  2408.    from: PAT SHEA
  2409.      to: TIM NESHAM (Rcvd)
  2410. subject: R: R: "ACTOR"  Reply to #5278
  2411.  
  2412. As a general windowing utility/library, I've been using Windows for C (and
  2413. W for Data) from VCS.  I'm just starting to Putz and timker with MS
  2414. Windows, and it's a real trip!
  2415. pat shea
  2416.  
  2417. >>>>>>>>>> Msg 5264 reply #4  >>>Last msg in reply thread.
  2418. Returning to normal sequence.
  2419.  
  2420.    conf: PROGRAMMING LANGUAGES  #5276  06-03-88  22:57  (Read 96 times)
  2421.    from: FRANK FISHER
  2422.      to: ALL
  2423. subject: CALENDER ALLOGRITHIM
  2424.  
  2425. I'm working on a program in Quickbasic that will plot manpower for a fire
  2426. department ambulance system.  The department divides it's manpower into 3
  2427. shifts.  Each shift works for 1 24 hour day and then is off for 2 days.
  2428. I'm  trying, unsucessfully so far, to write a sub program that can
  2429. determine the shift number from the current date.  Any ideas anyone?  I'm
  2430. begining to think that I'm wasting my time.
  2431. ---------------
  2432.  
  2433.    conf: PROGRAMMING LANGUAGES  #5279  06-04-88  08:34  (Read 99 times)
  2434.    from: JOHN GRANT
  2435.      to: FRANK FISHER (Rcvd)
  2436. subject: R: CALENDER ALLOGRITHIM  Reply to #5276
  2437.  
  2438. sounds like you need to convert mm/dd/yy to a julian daynumber?
  2439.  
  2440. I wrote a few dBASE-esque date functions for QB that I uploaded here a few
  2441. months ago.  Scan Mahoney for 'dBASE' and 'date' or check out my board at
  2442. 414-226-6122 24hrs on weekends and 6pm-6am weekdays.
  2443.  
  2444. Hope this helps, if not, I'll re-upload them.
  2445.  
  2446. >>>>>>>>>> Msg 5276 reply #1
  2447.  
  2448.    conf: PROGRAMMING LANGUAGES  #5285  06-04-88  16:29  (Read 100 times)
  2449.    from: JOHN WALLACE
  2450.      to: FRANK FISHER (Rcvd)
  2451. subject: R: CALENDER ALLOGRITHIM  Reply to #5276
  2452.  
  2453. Frank,
  2454.   I have a set of "C" routines that I wrote that compute a
  2455. "day number" from a month, day, and year (00-99), and the inverse
  2456. function.  I've up'ed them in C-CAL.ARC and they're named DAYNO
  2457. and INVDAYNO.  This was part of my first use of Quick-C so they're
  2458. probably not super efficient, but they work slick.  The only
  2459. limitations are that days between 1/1/00 and 3/1/00 do not work,
  2460. and the day number will run out at 12/31/99.  The algorithm works
  2461. correctly through leap years.  You shouldn't have any trouble
  2462. converting them to BASIC.  To get the day of the week, divide the
  2463. day-number by seven and check the remainder.  You'll have to add
  2464. a constant to the day number to get 0-6 to correspond to SUN-SAT,
  2465. but that's no big deal either.  Let me know it you have trouble
  2466. converting to BASIC, as these routines started in an old book I
  2467. bought from the ACM in the late 60's written in ALGO, then converted
  2468. to BASIC on my Apple II, now C on my AT clone.
  2469.   John
  2470.  
  2471.  
  2472. >>>>>>>>>> Msg 5276 reply #2
  2473.  
  2474.    conf: PROGRAMMING LANGUAGES  #5344  06-11-88  00:20  (Read 95 times)
  2475.    from: FRANK FISHER
  2476.      to: JOHN WALLACE (Rcvd)
  2477. subject: R: R: CALENDER ALLOGRITH  Reply to #5285
  2478.  
  2479. Thanks. I'll take a look at them. Quickbasic 4.0 can now call C functions
  2480. so translation is no problem.  My biggest problem, however, is not
  2481. determining the day of the week.  The shifts are numbered 1, 2, and 3 and
  2482. last for a 24 hour period.  If you start counting by threes on a calender
  2483. you'll see my problem.  The program must not only know the day of the
  2484. week, but it must know the shift.  I think that I will probably break down
  2485. and write a full year calendar (sorry about the previous misspellings I,m
  2486. lost without a spell checker) that can be replaced each year.  If you can
  2487. think of anything else please leave a note.  Thanks again!!!!!
  2488.  
  2489. >>>>>>>>>> Msg 5276 reply #3
  2490.  
  2491.    conf: PROGRAMMING LANGUAGES  #5348  06-11-88  05:38  (Read 93 times)
  2492.    from: JOHN WALLACE
  2493.      to: FRANK FISHER (Rcvd)
  2494. subject: R: R: CALENDER ALLOGRITH  Reply to #5344
  2495.  
  2496. Frank,
  2497.   If you can convert a mm/dd/yy value to a sequential (julian or
  2498. otherwise) value, why can't you just divide by three and check the
  2499. remainder ( i.e. X mod 3) to determine which of the 3 cycling shift should
  2500. be on?  I started a shift scheduling program years ago where we had 5 crews
  2501. that covered three 8 hr. shifts a day.  Getting the basic scheduling was
  2502. fairly straight-foward, where we ran into a snag (and lack of time) was
  2503. factoring in substitution algorithms to cover for vacations, training, etc.
  2504. If you'd like to pursue this, we probably should shift to a private
  2505. exchange, since no-one else seemed to jump onto your thread.
  2506.   John
  2507.  
  2508. >>>>>>>>>> Msg 5276 reply #4
  2509.  
  2510.    conf: PROGRAMMING LANGUAGES  #6035  08-18-88  23:34  (Read 98 times)
  2511.    from: FRANK FISHER
  2512.      to: JOHN WALLACE (Rcvd)
  2513. subject: R: R: CALENDER ALLOGRITH  Reply to #5285
  2514.  
  2515. John,
  2516.    Thanks!!!! I've pretty much decided to write the program as a
  2517. spreadsheet template but these routines could change my mind.
  2518.                                  Frank
  2519.  
  2520. >>>>>>>>>> Msg 5276 reply #5
  2521.  
  2522.    conf: PROGRAMMING LANGUAGES  #6036  08-19-88  05:46  (Read 94 times)
  2523.    from: JOHN WALLACE
  2524.      to: FRANK FISHER (Rcvd)
  2525. subject: R: R: CALENDER ALLOGRITH  Reply to #6035
  2526.  
  2527. Frank,
  2528.   I forgot exactly what I helped you with, but if there is anything else I
  2529. can do, let me know.  I'm not in  the same league with the other heavy
  2530. weights here so anytime I can help I feel good.
  2531.   John
  2532.  
  2533. >>>>>>>>>> Msg 5276 reply #6  >>>Last msg in reply thread.
  2534. Returning to normal sequence.
  2535.  
  2536.    conf: PROGRAMMING LANGUAGES  #5280  06-04-88  10:55  (Read 100 times)
  2537.    from: BRUCE SHERMAN
  2538.      to: ALL
  2539. subject: TPASCAL SHELL
  2540.  
  2541. I have written a Turbopascal program that invokes other *.COM, *.EXE, and
  2542. *.BAT files by creating, and then executing, a batch file.  In the process,
  2543. my Turbopascal program terminates itself, and the batch file which it
  2544. created, rein xxxxxx created, reinvokes the Turbopascal program.  This
  2545. approach has an advantage, in that all memory is available for the invoked
  2546. programs.  However, is there a way to invoke programs via Turbopascal,
  2547. version threeon three, which gives the invoked programs nearly all of the
  2548. computers memory, yet allows the parent program to remain in memory as
  2549. well?  The parent program, by the way, is currently a *.COM file
  2550. containting about 35,000 bytes.
  2551. ---------------
  2552.  
  2553.    conf: PROGRAMMING LANGUAGES  #5286  06-04-88  19:54  (Read 100 times)
  2554.    from: LEE THOMPSON
  2555.      to: BRUCE SHERMAN (Rcvd)
  2556. subject: R: TPASCAL SHELL  Reply to #5280
  2557.  
  2558. Bruce,
  2559.  
  2560. I suggest that you upgrade to version 4.  What you want to do is very easy
  2561. as to do in TP4.  With Turbo Powers Turbo Profesional its is also very easy
  2562. to do TSR's.
  2563.  
  2564. -Lee
  2565.  
  2566. BTW:
  2567. As Phil has discovered changing from COM files to EXE files isn't so bad.
  2568. Using TP4 and Units vs TP3 and Lib files isn't so bad either.  I do
  2569. recommend the upgrade.
  2570.  
  2571.  
  2572. >>>>>>>>>> Msg 5280 reply #1
  2573.  
  2574.    conf: PROGRAMMING LANGUAGES  #5293  06-05-88  07:36  (Read 101 times)
  2575.    from: THOMAS ATKINSON
  2576.      to: BRUCE SHERMAN (Rcvd)
  2577. subject: R: TPASCAL SHELL  Reply to #5280
  2578.  
  2579. I have a routine titled shrink that does what you ask.  If it is not here i
  2580. will up it to Mahoney.  It relies on a specific version of Pascal, so to
  2581. use it there is a reference to a PagesToSave variable that you just
  2582. manually enter in with the numbers you used when you set your compiler 'I'
  2583. and 'A' options...
  2584.  
  2585. >>>>>>>>>> Msg 5280 reply #2
  2586.  
  2587.    conf: PROGRAMMING LANGUAGES  #5296  06-05-88  09:25  (Read 102 times)
  2588.    from: BRUCE SHERMAN
  2589.      to: LEE THOMPSON (Rcvd)
  2590. subject: R: R: TPASCAL SHELL  Reply to #5286
  2591.  
  2592. I have had version 4.0 for many months, but do not want to take the time to
  2593. perform a conversion from the original TP code using version 3.0.  Thanks
  2594. for the info, though.
  2595.  
  2596. >>>>>>>>>> Msg 5280 reply #3
  2597.  
  2598.    conf: PROGRAMMING LANGUAGES  #5297  06-05-88  09:26  (Read 102 times)
  2599.    from: BRUCE SHERMAN
  2600.      to: THOMAS ATKINSON (Rcvd)
  2601. subject: R: R: TPASCAL SHELL  Reply to #5293
  2602.  
  2603. Thanks!  I will look for SHRINK immediately.
  2604.  
  2605. >>>>>>>>>> Msg 5280 reply #4
  2606.  
  2607.    conf: PROGRAMMING LANGUAGES  #5299  06-05-88  11:04  (Read 102 times)
  2608.    from: BRUCE SHERMAN
  2609.      to: THOMAS ATKINSON (Rcvd)
  2610. subject: R: R: TPASCAL SHELL  Reply to #5293
  2611.  
  2612. After compiling and running (unsuccessfully), SHRINK.PAS, I tried to find
  2613. the ae variable called PagesToSave.  Again, unsuccessfully.  When running
  2614. SHRINK.PAS, this was the screen output:
  2615. shrink failed. RC(8)
  2616. 8
  2617. 8
  2618. 8
  2619. 8
  2620. The SHRINK.PAS program was compiled under TP3.0 with I and A options set to
  2621. 0200 each.  Any ideas?
  2622.  
  2623. >>>>>>>>>> Msg 5280 reply #5
  2624.  
  2625.    conf: PROGRAMMING LANGUAGES  #5301  06-05-88  16:31  (Read 99 times)
  2626.    from: THOMAS ATKINSON
  2627.      to: BRUCE SHERMAN (Rcvd)
  2628. subject: R: R: TPASCAL SHELL  Reply to #5299
  2629.  
  2630. I believe the return code 8 is not enough memory.  I just looked at the
  2631. code and it is Pages_to_reserve.  In the case that i use it, i set that
  2632. variable to 5000, and both 'I' and 'A' to 5000 when compiling.  I use it to
  2633. shell to Zmodem and Arc extractors.  There is some code before that Pages_
  2634. to_reserve that computes program size, which i just removed, as i said in
  2635. the first message it is dependent on a specific release of Turbo.
  2636. There were also some forward reference that i took out and it works just
  2637. fine that way. Actually i made it an include file and set all variables up
  2638. as global.  I then Shrink; as the first procedure when starting up.  About
  2639. the only problem i ran into with it was not setting 'I' and 'A' large
  2640. enough which causes a hang...
  2641.  
  2642. >>>>>>>>>> Msg 5280 reply #6
  2643.  
  2644.    conf: PROGRAMMING LANGUAGES  #5302  06-05-88  16:34  (Read 101 times)
  2645.    from: THOMAS ATKINSON
  2646.      to: BRUCE SHERMAN (Rcvd)
  2647. subject: R: R: TPASCAL SHELL  Reply to #5299
  2648.  
  2649. Oh yes, the reason you get 8 8 8 8 is that if you look at the end of that
  2650. code you will see it does 4 tests.  A dir and i think 3 programs that i do
  2651. not even have...
  2652.  
  2653. >>>>>>>>>> Msg 5280 reply #7
  2654.  
  2655.    conf: PROGRAMMING LANGUAGES  #5305  06-05-88  20:29  (Read 106 times)
  2656.    from: PAUL ZIMMERMAN
  2657.      to: BRUCE SHERMAN (Rcvd)
  2658. subject: R: R: TPASCAL SHELL  Reply to #5299
  2659.  
  2660. That is exactly what happens to me, too.... The '8's are the error code
  2661. returned by the procedure attempting to deallocate the heap and use it to
  2662. shell out. There ia supposed to be a binary include called "turborun.com"
  2663. that makes it possible to shell out of TP3 with ease, but have not found it
  2664. yet... You might be best off to just use EXEC in TP4. It will be supported
  2665. in future releases, at least!
  2666.                                                        Paul
  2667.  
  2668. >>>>>>>>>> Msg 5280 reply #8  >>>Last msg in reply thread.
  2669. Returning to normal sequence.
  2670.  
  2671.    conf: PROGRAMMING LANGUAGES  #5283  06-04-88  14:41  (Read 102 times)
  2672.    from: DALE REID
  2673.      to: NICK KEES (Rcvd)
  2674. subject: DESQVIEW 386
  2675.  
  2676. Nick... Not to take more of your time on this Desqview thing, but....
  2677. I just got a previously owned desqview 2.01 and qemm version 4.0 ( I
  2678. realize that there is now a 4.1 but for the price, what the heck).  My
  2679. system is happy with 3.5 megs of memory, a few small tsr's mainly visitype
  2680. and mouse.com for my Microsoft serial mouse, and qemm.sys. I have the
  2681. following "problem", or at least I THINK that it is a problem.   I use the
  2682. mouse click to get the desqview's attention, point to what I want to do,
  2683. and then go to that window.  IF the application uses the mouse itself, like
  2684. Norton Editor or Word, the mouse soon goes off to never-never land, and
  2685. the only way I can get desqview's attention is by tapping the ALT key.
  2686. Then
  2687. I aI can go on to do whatever I want, but until I reboot, or get out
  2688. of Desqview, the mouse function is gone forever.  Do you have amouse?  Do
  2689. you find that you loose control over it (shudder at the thought of a mouse
  2690. without control), is there some easy fix other than not touching the rodent
  2691. after you make a window selection if you want to use it with Desqview again
  2692. This has been a bit frustrating, since once you have a mouse, you sort of
  2693. get used to it.  Many of my programs that I use make use of the mouse in
  2694. one form or another, and I'd like to have it work if possible.  Thanks Dale
  2695. ---------------
  2696.  
  2697.    conf: PROGRAMMING LANGUAGES  #5291  06-04-88  23:46  (Read 100 times)
  2698.    from: NICK KEES
  2699.      to: DALE REID (Rcvd)
  2700. subject: R: DESQVIEW 386  Reply to #5283
  2701.  
  2702. Sorry, Dale, I don't use a mouse with Desqview.  Maybe someone else would
  2703. know more about this?  Guys?
  2704.  
  2705.            Nick
  2706.  
  2707. >>>>>>>>>> Msg 5283 reply #1
  2708.  
  2709.    conf: PROGRAMMING LANGUAGES  #5294  06-05-88  07:43  (Read 98 times)
  2710.    from: CHRIS KLANN
  2711.      to: DALE REID (Rcvd)
  2712. subject: R: DESQVIEW 386  Reply to #5283
  2713.  
  2714. Dale:
  2715.    I havn't really been following this thread, so I didn't see whether
  2716. you're running on a '286 or a '386 chip.  I have a '286 with DV 2.01, QEMM
  2717. 4.0, 3 Meg of memory, a generic mouse using Microsoft's driver.  I
  2718. occasionally use the mouse and hve noticed some anomolies too.  I havn't
  2719. really given it much thought, but after hearing your description, it seems
  2720. that my setup does the same thing when using app's which use the mouse.  Wh
  2721. en I get back to my computer, I'll upload a message to the DV conference on
  2722. BIX to see what the Quarterdeck people have to say...Chris.....
  2723.  
  2724. >>>>>>>>>> Msg 5283 reply #2
  2725.  
  2726.    conf: PROGRAMMING LANGUAGES  #5318  06-07-88  18:12  (Read 101 times)
  2727.    from: DALE REID
  2728.      to: CHRIS KLANN (Rcvd)
  2729. subject: R: R: DESQVIEW 386  Reply to #5294
  2730.  
  2731. Chris... Thanks for the reply.  I'm on a 386 machine with AMI bios.  There
  2732. have been a few occassions that I have locked the machine up with desqviw
  2733. in the system.  None otherwise (or at least asofthen as I think).  The
  2734. mouse control may have  a fix and may be related to 4.1 of qemm, since
  2735. I'm running 4.0 now.  Might be worth the update?  Dale
  2736.  
  2737. >>>>>>>>>> Msg 5283 reply #3
  2738.  
  2739.    conf: PROGRAMMING LANGUAGES  #5321  06-07-88  21:33  (Read 99 times)
  2740.    from: CHRIS KLANN
  2741.      to: DALE REID (Rcvd)
  2742. subject: R: R: DESQVIEW 386  Reply to #5318
  2743.  
  2744. Dale:
  2745.    Perhaps the replyfrom the DV people will give you the answer...I
  2746. uploaded it yesterday.  I'll try back in a day or two. ...Chris.....
  2747.  
  2748. >>>>>>>>>> Msg 5283 reply #4
  2749.  
  2750.    conf: PROGRAMMING LANGUAGES  #5366  06-13-88  23:29  (Read 99 times)
  2751.    from: CHRIS KLANN
  2752.      to: DALE REID (Rcvd)
  2753. subject: R: R: DESQVIEW 386  Reply to #5318
  2754.  
  2755. Dale:
  2756.     Sorry this took so long...the LA node on PC Pursuit's been pretty busy
  2757. lately...here's the reply from the Desqview people:
  2758. .
  2759. =>From   :SYSOP
  2760. =>To     :CHRIS KLANN
  2761. =>Subj   :Mice & DV                  [r]
  2762. =>Chris:
  2763. =>     The first problem mentioned here is not a problem at all.  When
  2764. =>you use an application (other than a DESQview aware application) that
  2765. =>uses a mouse, DESQview gives up complete control of the mouse to the
  2766. =>application.  This means that while the application is active, the mouse
  2767. =>button will not bring up the DESQview menu - you have to use the Alt
  2768. =>key.  The second problem of losing the mouse probably comes from allowing
  2769. =>the program that is using the mouse to process in the background.  This
  2770. =>is a more common problem on a 386 since many more programs can run in
  2771. =>background.  Set the "Runs only in foreground" option for the program
  2772. =>to "Y" and then it will properly release control of the mouse when you
  2773. =>switch away.  Stan.
  2774. .
  2775. ...hope this helps...Chris.....
  2776.  
  2777. >>>>>>>>>> Msg 5283 reply #5
  2778.  
  2779.    conf: PROGRAMMING LANGUAGES  #5373  06-14-88  18:22  (Read 103 times)
  2780.    from: DALE REID
  2781.      to: CHRIS KLANN (Rcvd)
  2782. subject: R: R: DESQVIEW 386  Reply to #5366
  2783.  
  2784. Chris   Thanks for getting this info for me.  I'll try it out just as soon
  2785. as I sign off and can load the system to see if it helps.  I THINK I
  2786. remember loosing  the mouse control
  2787. even when the other program terminated , and wasn't running in background,
  2788. but I'll look to see.  Thanks again.  Dale
  2789.  
  2790. >>>>>>>>>> Msg 5283 reply #6  >>>Last msg in reply thread.
  2791. Returning to normal sequence.
  2792.  
  2793.    conf: PROGRAMMING LANGUAGES  #5284  06-04-88  15:56  (Read 96 times)
  2794.    from: DAVE CLAY
  2795.      to: PHIL KATZ (Rcvd)
  2796. subject: MAKE A .COM FROM MSC5
  2797.  
  2798. Thanks for your comments, Phil, your help is always greatly appreciated.
  2799. I was going to try some of Ray Duncan's examples for
  2800. interrupt handlers or even
  2801. a device driver in C.  The progran that I  use to load device drivers
  2802. only works with .COM files. Looks like it is back to MASM for me.
  2803.         Thanks again,   Dave Clay
  2804. ---------------
  2805.  
  2806.    conf: PROGRAMMING LANGUAGES  #5298  06-05-88  10:57  (Read 96 times)
  2807.    from: RANDY MESKER
  2808.      to: CHARLES PERRIN (Rcvd)
  2809. subject: HELP
  2810.  
  2811. Charles, think you coulf help me again?
  2812. problem:
  2813. I am making a hard disk menu program. I know there are many on this board,
  2814. but I want to do one myself. How can I input and save the directory and
  2815. drive specs' while still in the program. Most of the programs that I see
  2816. here don't use a file or anything. Desktop.arc is a good one! one program
  2817. is the menu, the other is the modification program, when you are done
  2818. modifying, it says hit escape to save info.. How does it work? can you
  2819. help?
  2820.    ps.
  2821.   The last time you helped with random files and I learned alot--Thanks!
  2822.                               Randall...!
  2823. ---------------
  2824.  
  2825.    conf: PROGRAMMING LANGUAGES  #5309  06-06-88  12:14  (Read 95 times)
  2826.    from: RANDY MESKER
  2827.      to: CHARLES PERRIN (Rcvd)
  2828. subject: R: R: HELP  Reply to #5303
  2829.  
  2830. How should I start to learn about this stuff..Dos calls and such!
  2831.  
  2832. >>>>>>>>>> Msg 5298 reply #1
  2833.  
  2834.    conf: PROGRAMMING LANGUAGES  #5315  06-07-88  05:11  (Read 98 times)
  2835.    from: CHARLES PERRIN
  2836.      to: RANDY MESKER (Rcvd)
  2837. subject: R: R: HELP  Reply to #5309
  2838.  
  2839. Look at "The Peter Norton Programmers' Guide To The IBM PC"....
  2840.  
  2841. >>>>>>>>>> Msg 5298 reply #2
  2842.  
  2843.    conf: PROGRAMMING LANGUAGES  #5317  06-07-88  17:31  (Read 97 times)
  2844.    from: RANDY MESKER
  2845.      to: CHARLES PERRIN (Rcvd)
  2846. subject: R: R: HELP  Reply to #5315
  2847.  
  2848.  % peter norton.
  2849. I will do just that, and then let you know what I come up with...thanks
  2850. again charles!
  2851.  
  2852. >>>>>>>>>> Msg 5298 reply #3  >>>Last msg in reply thread.
  2853. Returning to normal sequence.
  2854.  
  2855.    conf: PROGRAMMING LANGUAGES  #5300  06-05-88  11:13  (Read 97 times)
  2856.    from: RANDY MESKER
  2857.      to: CHARLES PERRIN (Rcvd)
  2858. subject: HELP
  2859.  
  2860. I'm using basic or quick basica
  2861. I mean quick basic
  2862. ---------------
  2863.  
  2864.    conf: PROGRAMMING LANGUAGES  #5308  06-06-88  10:48  (Read 106 times)
  2865.    from: NEIL WHITEMAN
  2866.      to: ALL
  2867. subject: TSR INTERRUPT IN TPASCAL
  2868.  
  2869.  
  2870. I am trying to write a simple memory resident program in turbo pascal,
  2871. V 4.0.  I want the program to perform a software interrupt whenever
  2872. I hit alt-f, no matter what applications program I am in.
  2873.  
  2874. Can somebody help me or give me some hints on the code?
  2875.  
  2876. I have already written a memory resident program to define a user-defined
  2877. interrrupt ($65) and it works fine.  Now I need a memory resident program
  2878. to invoke that interrupt whenever I hit alt-f.
  2879.  
  2880. Thanks for any help I may receive.
  2881. ---------------
  2882.  
  2883.    conf: PROGRAMMING LANGUAGES  #5311  06-06-88  19:32  (Read 99 times)
  2884.    from: PAUL ZIMMERMAN
  2885.      to: NEIL WHITEMAN (Rcvd)
  2886. subject: R: TSR INTERRUPT IN TPAS  Reply to #5308
  2887.  
  2888. Buy, beg, borrow, or steal a copy of the January/February issue of Turbo
  2889. Technix. (Or better yet, d/l the listings from that issue right here on
  2890. Exec :-) There was an article about replacing the keyboard int (int 9) with
  2891. your own "custom" handler. The inline code & procedures should be VERY
  2892. helpful in making a TSR keyboard interrupt to intercept & test every key
  2893. press to see if it is Alt-f and pass it to the old handler if not...
  2894.                                                 Paul
  2895.  
  2896. >>>>>>>>>> Msg 5308 reply #1
  2897.  
  2898.    conf: PROGRAMMING LANGUAGES  #5312  06-06-88  20:54  (Read 98 times)
  2899.    from: LEE THOMPSON
  2900.      to: NEIL WHITEMAN (Rcvd)
  2901. subject: R: TSR INTERRUPT IN TPAS  Reply to #5308
  2902.  
  2903. Neil,
  2904.  
  2905. For the easiest TSR programming I highly recommend the use of Turbo Powers
  2906. Turbo Pro.  It's an excellent set of routines for TP 4.
  2907.  
  2908. -Lee
  2909.  
  2910. >>>>>>>>>> Msg 5308 reply #2
  2911.  
  2912.    conf: PROGRAMMING LANGUAGES  #5313  06-06-88  22:26  (Read 98 times)
  2913.    from: NEIL WHITEMAN
  2914.      to: PAUL ZIMMERMAN (Rcvd)
  2915. subject: R: R: TSR INTERRUPT IN T  Reply to #5311
  2916.  
  2917. Paul,
  2918.  
  2919.   Thanks for the info.  Exactly what I was looking for!!!
  2920.  
  2921.   I sure do appreciate your help.
  2922.  
  2923.  
  2924.                 Neil Whiteman
  2925.  
  2926. >>>>>>>>>> Msg 5308 reply #3  >>>Last msg in reply thread.
  2927. Returning to normal sequence.
  2928.  
  2929.    conf: PROGRAMMING LANGUAGES  #5319  06-07-88  18:20  (Read 98 times)
  2930.    from: DALE REID
  2931.      to: ALL
  2932. subject: MASM 5.1
  2933.  
  2934. What is the concensis (sp?) of users of microsoft assembler version
  2935. 5.0 verses 5.1.  I still can upgrade, but I don't use 5.0 too much, and
  2936. wonder if it is worth the extra bucks right now to do so.  Is there a
  2937. definate advantage?  Any bad bugs in 5.0?  How many have opted to get the
  2938. newest one verses live with 5.0?  Thanks   Dale
  2939. ---------------
  2940.  
  2941.    conf: PROGRAMMING LANGUAGES  #5342  06-10-88  22:54  (Read 97 times)
  2942.    from: GRANT ELLSWORTH
  2943.      to: DALE REID (Rcvd)
  2944. subject: R: MASM 5.1  Reply to #5319
  2945.  
  2946. Dale, right now, I don't think there is a consensus (note sp).  I got 5.0
  2947. but will not pugrade to 5.1 in spite of some interesting added features.
  2948. Big addition to 5.1 is OS/2 support, protected mode, etc..  I don't intend
  2949. to go near os/2 until my back is to a wall and my computers cease to work,
  2950. and my opsys can't work on any machine i can get, etc..  It just cost too
  2951. darn much.  Its cost tends to limit serious use and s/w development to
  2952. those with substantial $$$ already in pocket and the established corporate
  2953. entities- MS has kaiboshed some level of innovation in s/w with that gawd
  2954. awful pricing scheme for their products.  There are others, I'm sure, who
  2955. have kinder opinions.  If you are intending to splurge and go to os/2, then
  2956. buyuing 5.1 right now at the upgrade cost may be worth it.  It may cost you
  2957. the arm and leg yhou didn't spend to go to os/2 later.  Grant
  2958.  
  2959. >>>>>>>>>> Msg 5319 reply #1
  2960.  
  2961.    conf: PROGRAMMING LANGUAGES  #5351  06-11-88  09:53  (Read 99 times)
  2962.    from: JOE VINCENT
  2963.      to: GRANT ELLSWORTH (Rcvd)
  2964. subject: R: R: MASM 5.1  Reply to #5342
  2965.  
  2966. Grant, through June 30, you can "transit" from DOS to OS/2 for $200, as
  2967. compared to the usual price of $325.  You'll need the OS/2 upgrade form and
  2968. the "proof of license" (first white page of your DOS manual) to do it.  The
  2969. form is in a file in the Mahoney collection.  Scan for OS2.
  2970.  
  2971. Is this still too expensive?  I agree with you -- the unconscionable prices
  2972. they're charging for everything related to OS/2 and the PS/2s put the new
  2973. world off limits to the on-a-shoestring developer.  I'm not poor, but it
  2974. makes me stop and think when I have to shell out a few hundred dollars for
  2975. an operating system!
  2976.  
  2977. >>>>>>>>>> Msg 5319 reply #2
  2978.  
  2979.    conf: PROGRAMMING LANGUAGES  #5355  06-12-88  01:10  (Read 107 times)
  2980.    from: GRANT ELLSWORTH
  2981.      to: JOE VINCENT (Rcvd)
  2982. subject: R: R: MASM 5.1  Reply to #5351
  2983.  
  2984. Joe, I'm not poor either - but ...
  2985.  
  2986. 1.  I paid $65 (or there-abouts) for DOS 3.3
  2987. 2.         $85 (?? +++) for the Tech Ref Manual
  2988. 3.  total $150 (? +++) for DOS 3.3 usability / programmability
  2989.  
  2990. And ...
  2991. I paid some exorbitant fee like $160 +++ for the PS/2 BIOS Tech Ref
  2992. manual and the theivin' (expletives deleted) did not include the BIOS
  2993. listing.
  2994.  
  2995. So $200 + gawd knows how deep a gouge for tech ref stuff on OS/2 seems
  2996. somewhere on the other side of the moon ... on way to mars.
  2997.  
  2998. Reminds me of Apple's gross sin with respect to the MacIntosh ... 1st
  2999. release ... cost to get usable programming s/w was so steep I sold the 1/2
  3000. interest in the machine I got.  Basic was just basically unacceptable ...
  3001. and you wonder why there was nothing but click-art/porn for the Mac for a
  3002. long time?
  3003.  
  3004. I hope IBM's (and MS's) theivin' os/2 environment remains a god-forsaken
  3005. deseart for useful cost effective s/w till the overall cost to use the
  3006. baseline comes down by 90% (returns from mars) and the cost of the
  3007. programming tools does at least the same.
  3008.  
  3009. Rich, middle, or poor, I will forsake os/2.  I get rich by making good use
  3010. of the cash I do accumulate - and helping MS and IBM get rich (or stay that
  3011. way getting more so) is contrary to that objective.
  3012.  
  3013. Yes, Joe, it does give one a pause to reflect - $200 for an op sys - and
  3014. that's just the first gouge..
  3015.  
  3016. Grant
  3017.  
  3018. >>>>>>>>>> Msg 5319 reply #3
  3019.  
  3020.    conf: PROGRAMMING LANGUAGES  #5364  06-13-88  17:11  (Read 103 times)
  3021.    from: JOE VINCENT
  3022.      to: GRANT ELLSWORTH (Rcvd)
  3023. subject: R: R: MASM 5.1  Reply to #5355
  3024.  
  3025. Grant, I would like to believe that $325 is a reasonable cost for a PS/2
  3026. OS, so I thought real hard about it -- let's see, a lot of high-priced
  3027. labor, some G & A, $0.25 per diskette, print up some documentation -- nope,
  3028. it still comes out to be exorbitantly priced.  And, as you so rightly
  3029. observed, that's just the first gouge.  I think that software vendors tend
  3030. to view the cost of the OS as establishing a price anchor, so their stuff
  3031. will probably be overpriced, too.  Except for companies such as Lotus,
  3032. whose software has always been unconscionably priced.
  3033.  
  3034. >>>>>>>>>> Msg 5319 reply #4
  3035.  
  3036.    conf: PROGRAMMING LANGUAGES  #5380  06-15-88  19:19  (Read 107 times)
  3037.    from: GRANT ELLSWORTH
  3038.      to: JOE VINCENT (Rcvd)
  3039. subject: R: R: MASM 5.1  Reply to #5364
  3040.  
  3041. Joe, I'm going to take smoldering issue with the $325 price ... multiply
  3042. that by the number of boxes (cpu's) it's likely to sell with ... maybe by
  3043. force rather than by choice... and then take a good high development cost,
  3044. packaging cost (doc prep and printing, offset copying, etc..),  initial
  3045. marketing costs (mostly for good will, institutrional visibility - already
  3046. achieved) ... get total costs ... add 30% for exorbitant margin, subtract
  3047. cpu's times $325 (value should be > $500K) ... and see my point.  I've
  3048. been in the s/w products and services business for 20 yrs, lost my shirt,
  3049. made some profits ,,, etc... and I say $325 for a potentially widely used
  3050. opsys is beyond mars.
  3051.  
  3052. Lotus is an expletive deleted ... beyond the pale.  I bought Quattro
  3053. instead after having no spread sheet after my visicalc (also too expensive)
  3054. + apple II+ went kaput - and that was for too darn long!
  3055.  
  3056. Grant
  3057.  
  3058. >>>>>>>>>> Msg 5319 reply #5
  3059.  
  3060.    conf: PROGRAMMING LANGUAGES  #5389  06-16-88  18:19  (Read 102 times)
  3061.    from: JOE VINCENT
  3062.      to: GRANT ELLSWORTH (Rcvd)
  3063. subject: R: R: MASM 5.1  Reply to #5380
  3064.  
  3065. IBM/Microsoft, Lotus, Ashton-Tate . . . shows what happens when a company
  3066. has a monopoly (or has the market to themselves long enough to become the
  3067. de facto standard, such as Lotus and 1-2-3).  The DOS *upgrade* was $85!
  3068. Can't wait to see what the upgrade will cost for OS/2 1.1 to 1.2, given
  3069. that the base software is $325.  And you, like me and thousands of other
  3070. developers, have no choice but to stay in lockstep and pay the price of
  3071. admission.  Grrrr!
  3072.  
  3073. >>>>>>>>>> Msg 5319 reply #6
  3074.  
  3075.    conf: PROGRAMMING LANGUAGES  #5391  06-16-88  21:50  (Read 98 times)
  3076.    from: GLEN THOMPSON
  3077.      to: GRANT ELLSWORTH (Rcvd)
  3078. subject: R: R: MASM 5.1  Reply to #5380
  3079.  
  3080. Grant,
  3081.               
  3082. I agree wholeheartly with you on the price for OS/2.  One of the reasons
  3083. PC-DOS beat out CPM and P-System was the lower price of PC-DOS.  My
  3084. experience has been that people are more willing to pay high prices for
  3085. applications than for system software or utilities.  What IBM ought to do
  3086. is sell a PS/2 only version of OS/2 for $50 and a generic version for $200.
  3087.  That will encourage PS/2 buyers to go ahead and get OS/2.
  3088.     
  3089. glen       q
  3090.  
  3091. >>>>>>>>>> Msg 5319 reply #7
  3092.  
  3093.    conf: PROGRAMMING LANGUAGES  #5400  06-17-88  14:33  (Read 106 times)
  3094.    from: GRANT ELLSWORTH
  3095.      to: GLEN THOMPSON (Rcvd)
  3096. subject: R: R: MASM 5.1  Reply to #5391
  3097.  
  3098. glen, while I find it a trifle exorbitant, I could accept a price of about
  3099. $99 for os/2.  And if mail-order bulk distributers could bring it down to
  3100. $65 or so, I might even be willing to expedite a purchase ... I'm dreaming.
  3101.  
  3102. But the principal of what you suggest is a very good one.  But, I think we
  3103. private pc owners (ps/2's or other) should stage a rebellion and
  3104. collectively develop and distribute a $50 os/2-like o/s which has some
  3105. added facilities for multi=user (no reason technically not to) which is
  3106. more compatible with DOS3.3++ than os/2.  Maybe we could entice Wendin
  3107. Software in Washington (???) to help lead the wayy by coming out with a
  3108. really debugged operational usable baseline.  Grant
  3109.  
  3110. >>>>>>>>>> Msg 5319 reply #8
  3111.  
  3112.    conf: PROGRAMMING LANGUAGES  #5402  06-18-88  02:25  (Read 106 times)
  3113.    from: CHARLES PERRIN
  3114.      to: GRANT ELLSWORTH (Rcvd)
  3115. subject: R: R: MASM 5.1  Reply to #5400
  3116.  
  3117. What I heard about Wendin is that their design team moved to the
  3118. other side of the state.  Billionaire Billy made them an offer they
  3119. honestly couldn't refuse...
  3120.  
  3121. >>>>>>>>>> Msg 5319 reply #9
  3122.  
  3123.    conf: PROGRAMMING LANGUAGES  #5407  06-18-88  11:14  (Read 105 times)
  3124.    from: GRANT ELLSWORTH
  3125.      to: CHARLES PERRIN (Rcvd)
  3126. subject: R: R: MASM 5.1  Reply to #5402
  3127.  
  3128. Well, that is interesting ... billionaire billy strikes again.  But, from
  3129. my experience with wendin's opsys s/w, it was the implementatin team
  3130. that needed fixed - the s/w had just too many bugs.  maybe billy picked up
  3131. the promoted implementation team --- it would serve him right.  GE
  3132.  
  3133. >>>>>>>>>> Msg 5319 reply #10
  3134.  
  3135.    conf: PROGRAMMING LANGUAGES  #5409  06-19-88  10:06  (Read 107 times)
  3136.    from: GLEN THOMPSON
  3137.      to: GRANT ELLSWORTH (Rcvd)
  3138. subject: R: R: MASM 5.1  Reply to #5400
  3139.  
  3140. Grant,
  3141.   
  3142. Not a bad idea.  What processor would the target be?  808x is out because
  3143. of no memory management, 80286 isn't well suited for anything, and 80386 is
  3144. still a little expensive.  Maybe the P9 will bring down the cost of 80386
  3145. upgrades and we can put out an OS for the 386 market.  Maybe the P9 will
  3146. stimulate the 386 market enough to bring a lot of new stuff out of the
  3147. woodwork.
  3148.    
  3149. glen
  3150.  
  3151. >>>>>>>>>> Msg 5319 reply #11
  3152.  
  3153.    conf: PROGRAMMING LANGUAGES  #5413  06-18-88  22:49  (Read 105 times)
  3154.    from: GRANT ELLSWORTH
  3155.      to: GLEN THOMPSON (Rcvd)
  3156. subject: R: R: MASM 5.1  Reply to #5409
  3157.  
  3158. glen, I sort of agree with your assessment on the 80xxxx chip set, but I
  3159. think some o/s which runs on 80286 and 80386 taking full advantage of
  3160. each/both and priced somewhere between $65 and $125 would be a real winner
  3161. - particularly if distributed in well packaged pieces thru shareware
  3162. channels.  Grant
  3163.  
  3164. >>>>>>>>>> Msg 5319 reply #12  >>>Last msg in reply thread.
  3165. Returning to normal sequence.
  3166.  
  3167.    conf: PROGRAMMING LANGUAGES  #5324  06-08-88  14:35  (Read 122 times)
  3168.    from: CHARLIE STEVENS
  3169.      to: ED ERDMAN (Rcvd)
  3170. subject: R: R: COBOL  Reply to #4728
  3171.  
  3172.      cc: THOMAS ATKINSON
  3173.      cc: VINCE ROELL
  3174.      cc: CHARLES PERRIN
  3175.      cc: TOM PETERS
  3176.  
  3177. I bit the bullet and purchased the Realia compiler after giving it a month
  3178. trial and am VERY pleased with it.  Compilation speed is 4-6000 lines/min
  3179. (depending on the use of copybooks), the text editor that comes with the
  3180. package is pretty good and is especially tuned for COBOL.
  3181.  
  3182. I have ported over a significant chunk of an application which was
  3183. developed on the mainframe and am getting execution speeds fast enough
  3184. to justify the additional work to slick things up on the front end so that
  3185. we can offer the package on the PC.
  3186.  
  3187. The other good news about the package is that it is quite compatible with
  3188. OS/VS COBOL (mainframe stuff).  This allows me to develop and test programs
  3189. on my PC and then upload them an run right away.  The savings in
  3190. development costs on the mainframe will pay for the package in about 2
  3191. months.
  3192. ---------------
  3193.  
  3194.    conf: PROGRAMMING LANGUAGES  #5327  06-08-88  20:46  (Read 118 times)
  3195.    from: GLEN THOMPSON
  3196.      to: CHARLIE STEVENS (Rcvd)
  3197. subject: R: R: COBOL  Reply to #5324
  3198.  
  3199. Charlie,
  3200.     
  3201. Did Realia ever drop their copy-protection.  As I remember, it was one of
  3202. the few compilers that was copy-protected.
  3203.    
  3204. glen
  3205.  
  3206. >>>>>>>>>> Msg 5324 reply #1
  3207.  
  3208.    conf: PROGRAMMING LANGUAGES  #5331  06-09-88  10:23  (Read 117 times)
  3209.    from: CHARLIE STEVENS
  3210.      to: GLEN THOMPSON (Rcvd)
  3211. subject: R: R: COBOL  Reply to #5327
  3212.  
  3213. Glen,
  3214.  
  3215. There are two answers to that question.  Realia allows you a one month
  3216. free evaluation period to test out the compiler and decide if it meets your
  3217. needs (I wish other software vendors would take note).  During the
  3218. evaluation period, the copy of the compiler which you are provided is
  3219. copy-protected with a hardware device which fits on the parallel printer
  3220. port--this is probably the device advertised as The Block in the mags.
  3221. The only trouble that I had during the trial period is that the printer had
  3222. to be on or the compiler would not 'see' the protection device.
  3223.  
  3224. After you have decided to buy the compiler, Realia sends you another
  3225. version of the compiler which is not copy-protected.  They do, however,
  3226. have a scheme which tracks which network node the compiler was installed on
  3227. so that if you are using a LAN it will only execute from one node over the
  3228. LAN.
  3229.  
  3230. As I said in my previous message, I have not run up against any serious
  3231. limitations on the compiler so far.  Hope this answers your question
  3232. adequately.
  3233.  
  3234. chas
  3235.  
  3236. >>>>>>>>>> Msg 5324 reply #2  >>>Last msg in reply thread.
  3237. Returning to normal sequence.
  3238.  
  3239.    conf: PROGRAMMING LANGUAGES  #5325  06-08-88  15:56  (Read 100 times)
  3240.    from: THOMAS ATKINSON
  3241.      to: ALL
  3242. subject: TURBO POWER
  3243.  
  3244. Does a person have to go right to Turbo Power Software to get Turbo
  3245. Professional ? Do they also make a product titled Overlay Manager ?
  3246. Thanks..
  3247. ---------------
  3248.  
  3249.    conf: PROGRAMMING LANGUAGES  #5328  06-08-88  20:51  (Read 98 times)
  3250.    from: GLEN THOMPSON
  3251.      to: THOMAS ATKINSON (Rcvd)
  3252. subject: R: TURBO POWER  Reply to #5325
  3253.  
  3254. Tom,
  3255.   
  3256. Turbo Power stuff is available from most mail order houses that carry
  3257. programming tools.  I've used Programmers Connection in Ohio with good
  3258. results.  I think they have the Turbo Power stuff for about 20% off.  Check
  3259. in PC Tech Journal, Byte, Dr. Dobbs, or similar magazines for other ads.
  3260.   
  3261. They sell the professional lib, an overlay manager, a debugger, and one
  3262. other package.
  3263.  
  3264. glen
  3265.  
  3266. >>>>>>>>>> Msg 5325 reply #1
  3267.  
  3268.    conf: PROGRAMMING LANGUAGES  #5330  06-09-88  01:10  (Read 99 times)
  3269.    from: THOMAS ATKINSON
  3270.      to: GLEN THOMPSON (Rcvd)
  3271. subject: R: R: TURBO POWER  Reply to #5328
  3272.  
  3273. Thanks, will look them up...
  3274.  
  3275. >>>>>>>>>> Msg 5325 reply #2  >>>Last msg in reply thread.
  3276. Returning to normal sequence.
  3277.  
  3278.    conf: PROGRAMMING LANGUAGES  #5326  06-08-88  18:42  (Read 101 times)
  3279.    from: LARRY SMALL
  3280.      to: ALL
  3281. subject: QB
  3282.  
  3283. Has anyone heard from MS concerning the upgrade to 4.10 QB ?
  3284. The last time that I spoke to MS they said that a general mailing
  3285. would be sent out mid-May.
  3286. ---------------
  3287.  
  3288.    conf: PROGRAMMING LANGUAGES  #5332  06-09-88  17:16  (Read 102 times)
  3289.    from: JOE VINCENT
  3290.      to: LARRY SMALL (Rcvd)
  3291. subject: R: QB  Reply to #5326
  3292.  
  3293. Larry, I hadn't heard anything about a mid-May mailing of a QB 4.1 upgrade
  3294. announcement.  I'll call my contact at MS and see what's up.
  3295.  
  3296. >>>>>>>>>> Msg 5326 reply #1
  3297.  
  3298.    conf: PROGRAMMING LANGUAGES  #5340  06-10-88  16:28  (Read 104 times)
  3299.    from: ANDY WHITCROFT
  3300.      to: LARRY SMALL (Rcvd)
  3301. subject: R: QB  Reply to #5326
  3302.  
  3303. Dear Larry,
  3304.      If it matter's the last I heard from MS was them promoting the basic
  3305. compiler ver 6.0 with some goodie's. But no news about QB 4.10.
  3306.                 Andy.
  3307.  
  3308. >>>>>>>>>> Msg 5326 reply #2  >>>Last msg in reply thread.
  3309. Returning to normal sequence.
  3310.  
  3311.    conf: PROGRAMMING LANGUAGES  #5329  06-08-88  22:23  (Read 96 times)
  3312.    from: JIM TOIGO
  3313.      to: DAVID PALM (Rcvd)
  3314. subject: CLARION V2.0
  3315.  
  3316. David---
  3317.    
  3318. Well, I broke down and upgraded to CLARION V2.0!!
  3319. It just arrived in the mail yesterday.
  3320.    
  3321. That Designer is great.
  3322.    
  3323. I uploaded my first program I wrote with the new version
  3324. called TICKLE10.ARC.
  3325.   
  3326. You might want to take a look at it.
  3327.   
  3328. After all, it took almost 2 hours to write!
  3329. ---------------
  3330.  
  3331.    conf: PROGRAMMING LANGUAGES  #5372  06-14-88  17:51  (Read 105 times)
  3332.    from: DAVID PALM
  3333.      to: JIM TOIGO (Rcvd)
  3334. subject: R: CLARION V2.0  Reply to #5329
  3335.  
  3336. Jim:
  3337.      Couldn't resist, huh? I'll download your program and see how it looks.
  3338. I still haven't started using Clarion yet as I am fiddling around wsith
  3339. DBXL (Dbase clone) and Genifer. I'll let you know what I think!
  3340.                                Dave
  3341.  
  3342. >>>>>>>>>> Msg 5329 reply #1
  3343.  
  3344.    conf: PROGRAMMING LANGUAGES  #5382  06-15-88  23:49  (Read 105 times)
  3345.    from: JIM TOIGO
  3346.      to: DAVID PALM (Rcvd)
  3347. subject: R: R: CLARION V2.0  Reply to #5372
  3348.  
  3349. Nope---couldn't resist.
  3350.    
  3351. So far I'm very satisfied.  Have found a few bugs though.
  3352. Try the @T3 function from designer when you define a field.
  3353. I keep getting an "invalid picture" error.
  3354.    
  3355. Also, when a lookup field is used on a form screen from another file,
  3356. using the key in the displayed file, old data is kept when adding
  3357. a record and the data is not refresh immediately from an update or
  3358. delete screen.
  3359.     
  3360. On the whole though I am very pleased.
  3361.  
  3362. >>>>>>>>>> Msg 5329 reply #2
  3363.  
  3364.    conf: PROGRAMMING LANGUAGES  #5387  06-16-88  17:16  (Read 107 times)
  3365.    from: DAVID PALM
  3366.      to: JIM TOIGO (Rcvd)
  3367. subject: R: R: CLARION V2.0  Reply to #5382
  3368.  
  3369. Jim:
  3370.      I tried your TICKLE program. Pretty impressive for only 2 hours work.
  3371. It is encouraging me to give it a try sooner than I planned.
  3372.      I wanted to make a suggestion on TICKLE. When I called up the program
  3373. and the opening screen appeared, it took me awhile to figure out how to
  3374. input and delete new appointments even though you do provide a help key. I
  3375. think that it would be very helpful to say at the bottom of the screen to
  3376. use Insert or Delete keys. Just an idea!
  3377.      I'll let you know when I give 2.0 a try!
  3378.                                Dave
  3379.  
  3380. >>>>>>>>>> Msg 5329 reply #3  >>>Last msg in reply thread.
  3381. Returning to normal sequence.
  3382.  
  3383.    conf: PROGRAMMING LANGUAGES  #5333  06-09-88  18:29  (Read 94 times)
  3384.    from: DAVE CLAY
  3385.      to: PHIL KATZ (Rcvd)
  3386. subject: HOW MUCH STACK MARGIN.
  3387.  
  3388. Phil,  I sure could use your good advice again.  I am debugging a problem
  3389. program that the fellows at the office just about gave up on trying to
  3390. solve.  We are using a QB driver program to run a big collection of
  3391. Fortran subroutines.  The problem is a classic, a data area growing
  3392. upwards in memory while the stack is creeping downward and CLASH they
  3393. do!  This leads to the general question:
  3394.  
  3395.         How much space does DOS need on top of my stack for
  3396.         its scratch area?
  3397.  
  3398.    From my observations, DOS will push IP, CS (for far calls) and
  3399. FLAGS (for INT calls) on my stack if I call a subroutine.  It also
  3400. appears that the current IP and several other words are stuffed on
  3401. my stack.  Any idea of what a safe margin is?
  3402.                                 Thanks for your help.
  3403.                                 Dave Clay
  3404.  
  3405. ---------------
  3406.  
  3407.    conf: PROGRAMMING LANGUAGES  #5334  06-09-88  22:07  (Read 94 times)
  3408.    from: TOM FELLER
  3409.      to: DAVE CLAY (Rcvd)
  3410. subject: R: HOW MUCH STACK MARGIN  Reply to #5333
  3411.  
  3412. I don't know the stack margin but I have had similar problems.
  3413. The program should say "stack overflow!" and crash.
  3414. A good way to get around this kind of a problem is to
  3415. reduce the number of local variables. If you have a
  3416. recursive call, try to use no local variables. A global
  3417. variable is normally taboo, but in this case it is the best
  3418. way around the problem. The local variables are placed on the
  3419. stack at the time of the call. Another way around the problem
  3420. is to try to allocate only the variables needed and free
  3421. all unused variables.
  3422. I don't know if you can do that in FORTRAN but you can in "C";
  3423. Or get UNIX.
  3424.  *Tom Feller*
  3425.  
  3426. >>>>>>>>>> Msg 5333 reply #1
  3427.  
  3428.    conf: PROGRAMMING LANGUAGES  #5483  06-28-88  23:58  (Read 105 times)
  3429.    from: PHIL KATZ
  3430.      to: DAVE CLAY (Rcvd)
  3431. subject: R: HOW MUCH STACK MARGIN  Reply to #5333
  3432.  
  3433. Dave,
  3434.  
  3435. Sorry I didn't reply sooner, but I was on vacation.
  3436.  
  3437. Anyway, most DOS tech ref manuals I've seen have recommended
  3438. at least 256 bytes of stack for the DOS & BIOS interrupts.
  3439. If you run alot of TSR's that use interrupts, than you
  3440. should probably allow 512 bytes or more.
  3441.  
  3442. Versions of DOS that are 3.2 or later will switch to an internal
  3443. DOS stack for DOS function calls, which would take some of the
  3444. burden off of your user stack, but TSR's and real time interrupts
  3445. could still occur while your stack is active.
  3446.  
  3447. In previous versions of PKXARC, I have been able to reduce the
  3448. run time stack to 896 bytes without any problems, with maybe
  3449. at most a few hundred bytes being used by PKXARC itself,
  3450. for what it's worth.
  3451.  
  3452. >Phil>
  3453.  
  3454. >>>>>>>>>> Msg 5333 reply #2  >>>Last msg in reply thread.
  3455. Returning to normal sequence.
  3456.  
  3457.    conf: PROGRAMMING LANGUAGES  #5336  06-10-88  07:46  (Read 95 times)
  3458.    from: GARY SARTLER
  3459.      to: ALL
  3460. subject: QUICK BASIC4 CALLS
  3461.  
  3462.  I have just received a version of qb4. In one of my first attempts to
  3463. write a program, I realized that I need to call another program. My problem
  3464. is this, "Is there any way through quick basic that I can make a program
  3465. call to a .com and/or an .exe program for execution ?" Any help would be
  3466. greatly appreciated.             THANKS !!
  3467. ---------------
  3468.  
  3469.    conf: PROGRAMMING LANGUAGES  #5337  06-10-88  10:41  (Read 95 times)
  3470.    from: THOMAS ATKINSON
  3471.      to: GARY SARTLER (Rcvd)
  3472. subject: R: QUICK BASIC4 CALLS  Reply to #5336
  3473.  
  3474. SHELL [command string]
  3475.  
  3476. >>>>>>>>>> Msg 5336 reply #1  >>>Last msg in reply thread.
  3477. Returning to normal sequence.
  3478.  
  3479.    conf: PROGRAMMING LANGUAGES  #5338  06-10-88  16:20  (Read 95 times)
  3480.    from: ANDY WHITCROFT
  3481.      to: MARK TELLIER (LEADER) (Rcvd)
  3482. subject: COBOL LINE NUMBERS
  3483.  
  3484. Dear Mark,
  3485.      Do you or any of the other programmer's out there know how to write a
  3486. small C program to resequence the line numbers of the cobol program. I am
  3487. in desprate need of a utility like this. I have the nessecary compiler's
  3488. but no idea about building this type of program. I am fortune that the
  3489. RM/COBOL compiler ignores line numbers on compilation but I need to know
  3490. the proper line to fix the compiler errors. You see the compiler only gives
  3491. me a relitive line number not the absolute number, therefore the utility!
  3492. any and all help will be appreation. and, thanx in advance. .  .
  3493.  
  3494.                                        Andy.
  3495. ---------------
  3496.  
  3497.    conf: PROGRAMMING LANGUAGES  #5343  06-10-88  23:00  (Read 95 times)
  3498.    from: GRANT ELLSWORTH
  3499.      to: ANDY WHITCROFT (Rcvd)
  3500. subject: R: COBOL LINE NUMBERS  Reply to #5338
  3501.  
  3502. Andy, does your utility have to be in C?  Seems to me that you could do
  3503. your own pretty quickly in cobol if the cobol pogram can read standard
  3504. ascii text files.  If not, the fastest path is to it in TPas (any release)
  3505.  
  3506. Grant
  3507.  
  3508. >>>>>>>>>> Msg 5338 reply #1
  3509.  
  3510.    conf: PROGRAMMING LANGUAGES  #5346  06-11-88  00:36  (Read 95 times)
  3511.    from: MARK TELLIER (LEADER)
  3512.      to: ANDY WHITCROFT (Rcvd)
  3513. subject: R: COBOL LINE NUMBERS  Reply to #5338
  3514.  
  3515. Andy,
  3516.  
  3517. I have to admit I know nothing about Cobol.  Are the line numbers in Cobol
  3518. just used to keep track of the number of lines or are they used for
  3519. reference (like BASIC's goto statement uses, i.e. GOTO 1000)?  If the
  3520. numbers just need to be stripped and reapplied, this should be a relatively
  3521. easy to do.  If you need to work with the statements of Cobol to do the
  3522. renumber, then the task is a lot larger.
  3523.  
  3524. - mwt -
  3525.  
  3526. >>>>>>>>>> Msg 5338 reply #2
  3527.  
  3528.    conf: PROGRAMMING LANGUAGES  #5357  06-13-88  08:09  (Read 98 times)
  3529.    from: ANDY WHITCROFT
  3530.      to: GRANT ELLSWORTH (Rcvd)
  3531. subject: R: R: COBOL LINE NUMBERS  Reply to #5343
  3532.  
  3533. Dear Grant,
  3534.      No, the utility does not have to be in C. I do not want it in cobol,
  3535. because the cobol that I am using is NOT a complete compile, it compile to
  3536. obj then uses a runtime enviroment (yuck!). Therefore if one would write it
  3537. in Tpas how would you make a 6 dight number with leading zeros (ie
  3538. '000100').
  3539.                   Andy.
  3540.  
  3541. >>>>>>>>>> Msg 5338 reply #3
  3542.  
  3543.    conf: PROGRAMMING LANGUAGES  #5358  06-13-88  08:16  (Read 95 times)
  3544.    from: ANDY WHITCROFT
  3545.      to: MARK TELLIER (LEADER) (Rcvd)
  3546. subject: R: R: COBOL LINE NUMBERS  Reply to #5346
  3547.  
  3548. Dear Mark,
  3549.      To take your last question  first, no cobol does not use line numbers
  3550. like basic does, ie label referances. Every cobol compiler is differant,
  3551. some issue a warning for missing or non-sequentially numbered lines. The
  3552. compiler I am using does not seem to care, but it would make my life easier
  3553. if they were there. this is because the compiler issues relitive line
  3554. numbers in error, not the absolute line number. I could have the absolute
  3555. line number if the stament lines were sequentially numbered.
  3556.                                      Andy.
  3557.  
  3558. >>>>>>>>>> Msg 5338 reply #4
  3559.  
  3560.    conf: PROGRAMMING LANGUAGES  #5365  06-13-88  23:05  (Read 98 times)
  3561.    from: MARK TELLIER (LEADER)
  3562.      to: ANDY WHITCROFT (Rcvd)
  3563. subject: R: R: COBOL LINE NUMBERS  Reply to #5358
  3564.  
  3565. Andy,
  3566.  
  3567. Can you give me an idea of the syntax of Cobol statements.  I might be able
  3568. to put a little program together to do what you want.  If nothing else we
  3569. might be able to arrange a file transfer between machines with a typical
  3570. Cobol source file.  Let me know.
  3571.  
  3572. - mwt -
  3573.  
  3574. >>>>>>>>>> Msg 5338 reply #5
  3575.  
  3576.    conf: PROGRAMMING LANGUAGES  #5367  06-14-88  08:14  (Read 97 times)
  3577.    from: ANDY WHITCROFT
  3578.      to: MARK TELLIER (LEADER) (Rcvd)
  3579. subject: R: R: COBOL LINE NUMBERS  Reply to #5365
  3580.  
  3581. Dear Mark,
  3582.      Cobol syntax is largly unimportant, because cobol is positional. By
  3583. that I mean that the statments occur in specific columns. As follows:
  3584. |______|_|_____________________________________________________|________
  3585. line #  ^   statments in columns 8 to 72
  3586. column  |
  3587. 1 to 6  ---- comment or continuation column in 6
  3588.  
  3589.       The columns 73 to 80 are used only for sequence numbers and not by
  3590. the the compiler. It is important that the line number in columns 1 to 6
  3591. must be filled by zero's or dights. Any more questions ask. . .
  3592.                            Andy.
  3593.  
  3594. >>>>>>>>>> Msg 5338 reply #6
  3595.  
  3596.    conf: PROGRAMMING LANGUAGES  #5375  06-14-88  22:49  (Read 104 times)
  3597.    from: MARK TELLIER (LEADER)
  3598.      to: ANDY WHITCROFT (Rcvd)
  3599. subject: R: R: COBOL LINE NUMBERS  Reply to #5367
  3600.  
  3601. OK, Andy.  The idea here is to take the line number in columns 1 to 6,
  3602. when one exists (or do continuation lines and comments lines count also),
  3603. and number the first line with 1, the second with 2, etc.?  Let me know if
  3604. this is correct, and I will generate a program to do this (it sounds simple
  3605. in theory, must be a catch somewhere).
  3606.  
  3607. - mwt -
  3608.  
  3609. >>>>>>>>>> Msg 5338 reply #7
  3610.  
  3611.    conf: PROGRAMMING LANGUAGES  #5376  06-15-88  08:02  (Read 104 times)
  3612.    from: ANDY WHITCROFT
  3613.      to: MARK TELLIER (LEADER) (Rcvd)
  3614. subject: R: R: COBOL LINE NUMBERS  Reply to #5375
  3615.  
  3616. Dear Mark,
  3617.      Two things before you begin, first all lines count, second it seems to
  3618. be customary to number the lines in increaments of 100. What I waant to
  3619. know is how will you get around the 32767 limit of pascal int's. And, will
  3620. you share the source with me?
  3621.                                 Andy.
  3622.  
  3623. >>>>>>>>>> Msg 5338 reply #8
  3624.  
  3625.    conf: PROGRAMMING LANGUAGES  #5383  06-16-88  00:07  (Read 105 times)
  3626.    from: MARK TELLIER (LEADER)
  3627.      to: ANDY WHITCROFT (Rcvd)
  3628. subject: R: R: COBOL LINE NUMBERS  Reply to #5376
  3629.  
  3630. Andy,
  3631.  
  3632. First, I will get around the 32767 limit by doing the work with strings.
  3633. Since the lines are always multiples of 100, the last two digits of the 6
  3634. digit number will be 00, and I will only need to do 1 to 9999 in a numeric
  3635. counter.  Lastly, I will probably do the code in C if that is alright.  Its
  3636. been a few years since I have done any Pascal.  What are the chances of
  3637. getting a sample Cobol source file to do testing on?
  3638.  
  3639. - mwt -
  3640.  
  3641. >>>>>>>>>> Msg 5338 reply #9
  3642.  
  3643.    conf: PROGRAMMING LANGUAGES  #5385  06-16-88  09:14  (Read 101 times)
  3644.    from: ANDY WHITCROFT
  3645.      to: MARK TELLIER (LEADER) (Rcvd)
  3646. subject: R: R: COBOL LINE NUMBERS  Reply to #5383
  3647.  
  3648. Dear Mark,
  3649.      A sample is not a problem tell me how you want me to get it to you.
  3650.          Andy.
  3651.  
  3652. >>>>>>>>>> Msg 5338 reply #10
  3653.  
  3654.    conf: PROGRAMMING LANGUAGES  #5390  06-16-88  19:47  (Read 99 times)
  3655.    from: JOE VINCENT
  3656.      to: MARK TELLIER (LEADER) (Rcvd)
  3657. subject: R: R: COBOL LINE NUMBERS  Reply to #5383
  3658.  
  3659. Mark, perhaps I am missing something, but the program below, which took
  3660. about 5 minutes to throw together and test in QB 4.0, seems to do what Andy
  3661. wants.  If I understand correctly, he wants to read COBOL source --
  3662. probably 80-byte records), insert a sequential number in positions 1 to 6,
  3663. in increments of 100, and write out the resulting 80-byte record.  Is that
  3664. it?  See if this does what he wants:
  3665.  
  3666. DEFINT A-Z
  3667.  
  3668. OPEN "COBOL.TXT" FOR INPUT AS #1
  3669. OPEN "COBOLNEW.TXT" FOR OUTPUT AS #2
  3670. WHILE NOT (EOF(1))
  3671.   LINE INPUT #1, CobolLine$
  3672.   LineNo = LineNo + 1
  3673.   LineNo$ = STR$(LineNo)
  3674.   MID$(CobolLine$, 1, 6) = RIGHT$("000" + RIGHT$(LineNo$, LEN(LineNo$) - 1)
  3675.  + "00", 6)
  3676.   IF LEN(CobolLine$) < 80 THEN CobolLine$ = CobolLine$ + SPACE$(80 - LEN(Co
  3677. bolLine$))
  3678.   PRINT #2, CobolLine$
  3679. WEND
  3680. CLOSE
  3681. END
  3682.  
  3683. Forgive the wrap-around lines, but it's still readable.
  3684.  
  3685. The above program avoids syntax unique to QB, so it should work just as
  3686. well in BASICA after adding the stupid line numbers.  Whoops -- some of the
  3687. commas might have to go, but the heart's still good.
  3688.  
  3689. The blank padding to 80 bytes can be eliminated if that's not important.
  3690.  
  3691. >>>>>>>>>> Msg 5338 reply #11
  3692.  
  3693.    conf: PROGRAMMING LANGUAGES  #5395  06-16-88  23:31  (Read 97 times)
  3694.    from: MARK TELLIER (LEADER)
  3695.      to: JOE VINCENT (Rcvd)
  3696. subject: R: R: COBOL LINE NUMBERS  Reply to #5390
  3697.  
  3698. Joe,
  3699.  
  3700. Based on what Andy has told me so far, I believe you have just about
  3701. hit the nail right on the head.  I was going to package the code into a
  3702. command of the form:  RESEQ <oldfile> <newfile>
  3703.  
  3704. Your right, the basic (no pun intended) problem doesn't seem to be too
  3705. difficult based on Andy's requirements.
  3706.  
  3707. - mwt -
  3708.  
  3709. >>>>>>>>>> Msg 5338 reply #12
  3710.  
  3711.    conf: PROGRAMMING LANGUAGES  #5396  06-16-88  23:34  (Read 97 times)
  3712.    from: MARK TELLIER (LEADER)
  3713.      to: ANDY WHITCROFT (Rcvd)
  3714. subject: R: R: COBOL LINE NUMBERS  Reply to #5385
  3715.  
  3716. Andy,
  3717.  
  3718. Are there any source files for Cobol in the Mahoney collection?  If so, I
  3719. can download one of those.  If not, is it possible to call your machine to
  3720. download a sample file?  If not, I could set up my machine at a prearranged
  3721. time for you to call and upload.
  3722.  
  3723. - mwt -
  3724.  
  3725. >>>>>>>>>> Msg 5338 reply #13
  3726.  
  3727.    conf: PROGRAMMING LANGUAGES  #5398  06-17-88  08:18  (Read 97 times)
  3728.    from: ANDY WHITCROFT
  3729.      to: MARK TELLIER (LEADER) (Rcvd)
  3730. subject: R: R: COBOL LINE NUMBERS  Reply to #5396
  3731.  
  3732. Dear Mark,
  3733.      there is a file called cobol.arc, which is a complete cobol compiler
  3734. and some example source programs.
  3735.                                     Andy.
  3736.  
  3737. >>>>>>>>>> Msg 5338 reply #14
  3738.  
  3739.    conf: PROGRAMMING LANGUAGES  #5403  06-18-88  03:15  (Read 104 times)
  3740.    from: THOMAS ATKINSON
  3741.      to: ANDY WHITCROFT (Rcvd)
  3742. subject: R: R: COBOL LINE NUMBERS  Reply to #5398
  3743.  
  3744. Why not just write a little COBOL program to do the job for yourself.
  3745. 01 test-rec.
  3746.    02 test-line    pic x(6).
  3747.    02 filler       pic x(74).
  3748. 77 line-no         pic 9(6).
  3749.  
  3750. add 10 to line-no.
  3751. move line-no to test-line.
  3752. write test-rec.
  3753.  
  3754. >>>>>>>>>> Msg 5338 reply #15
  3755.  
  3756.    conf: PROGRAMMING LANGUAGES  #5405  06-18-88  09:24  (Read 99 times)
  3757.    from: MARK TELLIER (LEADER)
  3758.      to: ANDY WHITCROFT (Rcvd)
  3759. subject: R: R: COBOL LINE NUMBERS  Reply to #5398
  3760.  
  3761. Andy,
  3762.  
  3763. I'll download the file today.  I'll try to upload a completed program
  3764. either late today or early tomorrow, if I find a suitable test case in
  3765. COBOL.ARC.
  3766.  
  3767. - mwt -
  3768.  
  3769. >>>>>>>>>> Msg 5338 reply #16
  3770.  
  3771.    conf: PROGRAMMING LANGUAGES  #5418  06-20-88  11:55  (Read 102 times)
  3772.    from: ANDY WHITCROFT
  3773.      to: THOMAS ATKINSON (Rcvd)
  3774. subject: R: R: COBOL LINE NUMBERS  Reply to #5403
  3775.  
  3776. Dear Thomas,
  3777.      I had thought og that, but rejected it because the cobol I am using
  3778. requires a runtime to execute (yuck!). Therefore I would perfer to have an
  3779. executable program, with no runtime.
  3780.                                      Andy.
  3781.  
  3782. >>>>>>>>>> Msg 5338 reply #17  >>>Last msg in reply thread.
  3783. Returning to normal sequence.
  3784.  
  3785.    conf: PROGRAMMING LANGUAGES  #5349  06-11-88  06:42  (Read 99 times)
  3786.    from: LOWELL DENNING
  3787.      to: ALL
  3788. subject: TURBO PROLOG 2.0
  3789.  
  3790. Has anyone heard when Turbo Prolog 2.0 is being released?  I still haven
  3791. 't heard one word from Borland.
  3792.            Lowell Denning
  3793. ---------------
  3794.  
  3795.    conf: PROGRAMMING LANGUAGES  #5354  06-12-88  01:03  (Read 98 times)
  3796.    from: DAVID NYE
  3797.      to: ALL
  3798. subject: CLOCK PORT
  3799.  
  3800.   I'm trying to write an .asm program to read from and write to the CMOS
  3801. clock.  Trouble is, I can't find info on the port number, control codes,
  3802. order of bytes, etc.  I have a DTK Multi-I/O board (ubiquitous Taiwanese
  3803. clone).  I already know how to read/write DOS's system clock through INT
  3804. 26.  What I need to know about is the CMOS clock.
  3805. ---------------
  3806.  
  3807.    conf: PROGRAMMING LANGUAGES  #5356  06-12-88  23:24  (Read 99 times)
  3808.    from: EDWARD MARCH
  3809.      to: ALL
  3810. subject: MASTER KEY (DISASM)
  3811.  
  3812. Has any seen or heard anything about a disassembler
  3813. called "MASTER KEY" from sharpe systems corp. ??
  3814.  It looks good for the $79 price, what are some
  3815. other GOOD disassembler that are MASM compatable
  3816. for reassembly ??
  3817.   thanks  -Ed-
  3818. ---------------
  3819.  
  3820.    conf: PROGRAMMING LANGUAGES  #5360  06-13-88  10:49  (Read 94 times)
  3821.    from: DAVE ZIESMANN
  3822.      to: ALL
  3823. subject: MICROSOFT QUICK-C
  3824.  
  3825. Has anyone used the Microsoft Quick-C compilier with the Microsoft
  3826. Optimize Compilier version 4.0.  Having problems with Codeview debugger.
  3827. It seems that when I compile using the Quick-C and then try to debug
  3828. with codeview, I get no symbolic information. I called Microsoft
  3829. and they say you need version 5.0 of MSC. Is there anyway around theis.
  3830. HELP
  3831. ---------------
  3832.  
  3833.    conf: PROGRAMMING LANGUAGES  #5397  06-17-88  05:12  (Read 96 times)
  3834.    from: CHARLES PERRIN
  3835.      to: TOM FELLER (Rcvd)
  3836. subject: R: R: MICROSOFT QUICK-C  Reply to #5394
  3837.  
  3838. Or, run the CodeView that comes with MASM 5.1 (or 5.0) -- as it
  3839. runs with QC and QB code....
  3840.  
  3841. >>>>>>>>>> Msg 5360 reply #1
  3842.  
  3843.    conf: PROGRAMMING LANGUAGES  #5406  06-18-88  09:38  (Read 98 times)
  3844.    from: THOMAS ZERUCHA
  3845.      to: CHARLES PERRIN (Rcvd)
  3846. subject: R: R: MICROSOFT QUICK-C  Reply to #5397
  3847.  
  3848. Or just get a copy of Power C and it's C-Trace debugger.  It blows both
  3849. Turbo and Quick C away, and each piece  costs only $19.95, so for under
  3850. $40 you can have a *good* debugger.  There are other weaknesses in Power C
  3851. (supports only the Medium model, for example), but after debugging, you
  3852. can always recompile in quick C or turbo C, and Power C has graphics
  3853. functions and the rest of the library is a superset of MS and Borlands.
  3854.  
  3855. >>>>>>>>>> Msg 5360 reply #2  >>>Last msg in reply thread.
  3856. Returning to normal sequence.
  3857.  
  3858.    conf: PROGRAMMING LANGUAGES  #5379  06-15-88  19:00  (Read 106 times)
  3859.    from: GRANT ELLSWORTH
  3860.      to: ANDY WHITCROFT (Rcvd)
  3861. subject: R: R: COBOL LINE NUMBERS  Reply to #5357
  3862.  
  3863. Andy, TPAS would probably be easier than C because of the readln(),
  3864. writeln() functions being so easy to use.  Making 6 digit number with
  3865. leading zeros can be done using the BCD extentions of TPAS.  If you don't
  3866. have that, then the following fragment/function subroutine illustrates:
  3867.  
  3868.  (* TP 3.0x used - more vanilla *)
  3869.   type stg6 = string[6];
  3870.  
  3871. function leadzs(x: integer): stg6; (* function returning  6 char string *)
  3872.  
  3873. var zval: string[6];
  3874.     ii: integer; (* local string index *)
  3875.  
  3876. begin
  3877.   str(x:6, zval); (* converts x to right-justified string w/leading
  3878.                          spaces *)
  3879.   for ii := 1 to length(zval) do
  3880.   begin
  3881.     if (zval[ii] = ' ') then zval[ii] := '0'
  3882.   end;
  3883.   (*  or use the following do while loop ...
  3884.    ii := 1;
  3885.     while (zval[ii] = ' ') do
  3886.     begin
  3887.       zval[ii] := '0';
  3888.          ii := ii + 1;
  3889.     end;
  3890.   *     end of while ... do alternative *)
  3891.    leadzs := zval;
  3892. end;  (* end of leadzs function *)
  3893.  
  3894.  
  3895. ... and in your calling  routine, you can either write out your sequenced
  3896. cobol records as a string concatenation (e.g. numval+cobol_line, if you
  3897. need seq nos on  left) or by using the MOVE() procedure to insert (fill
  3898. in) a fixed length numeric area in a fixed length data structure on the
  3899. right (e.g. move(numval,cobol_line[73], 6) ).
  3900.  
  3901. Hope this helps.... shhould be a q+d.  Grant
  3902. ---------------
  3903.  
  3904.    conf: PROGRAMMING LANGUAGES  #5381  06-15-88  21:19  (Read 102 times)
  3905.    from: DAVID DOBBS
  3906.      to: ALL
  3907. subject: LOOKING FOR AN EDITOR
  3908.  
  3909. I AM A NEW "C" PROGRAMMER. THE "C" LANGUAGE I AM USING IS "ACCESS C"
  3910. FROM COMPUTER ASSOCIATES.  THEIR COMPILER AND EDITOR RUNS UNDER A
  3911. COMMAND INTERPRETER, WHICH IS QUITE MESSY TO WORK WITH AND THE EDITOR
  3912. IS VERY LIMITED.  I AM LOOKING FOR A MEMORY RESIDENT EDITOR SIMULIAR
  3913. TO SIDEKICK'S NOTEPAD.  DOES ANYONE KNOW OF A GOOD EDITOR TO USE WITH
  3914. A "C" LANGUAGE?  ANY SUGGESTIONS WOULD BE APPRECIATED.
  3915. THANKS DAVE.
  3916. ---------------
  3917.  
  3918.    conf: PROGRAMMING LANGUAGES  #5386  06-16-88  09:18  (Read 100 times)
  3919.    from: ANDY WHITCROFT
  3920.      to: DAVID DOBBS (Rcvd)
  3921. subject: R: LOOKING FOR AN EDITOR  Reply to #5381
  3922.  
  3923. Dear David,
  3924.      I would like to suggest Qedit 2.06, it is not a TSR but will let you
  3925. shell to DOS, and uses wordstar command, as well as fully configurable.
  3926.              Andy.
  3927.  
  3928. >>>>>>>>>> Msg 5381 reply #1
  3929.  
  3930.    conf: PROGRAMMING LANGUAGES  #5393  06-16-88  22:11  (Read 95 times)
  3931.    from: GLEN THOMPSON
  3932.      to: DAVID DOBBS (Rcvd)
  3933. subject: R: LOOKING FOR AN EDITOR  Reply to #5381
  3934.  
  3935. Dave,
  3936.    
  3937. It's not a memory resident editor, but I use and really like QEdit.  It's
  3938. only $39 and offers many nice features for C programmers.  It's available
  3939. in the Mahoney collection.  Download it and give it a try.
  3940.    
  3941. glen
  3942.  
  3943. >>>>>>>>>> Msg 5381 reply #2  >>>Last msg in reply thread.
  3944. Returning to normal sequence.
  3945.  
  3946.    conf: PROGRAMMING LANGUAGES  #5401  06-17-88  16:54  (Read 109 times)
  3947.    from: JOHN DOLEYS
  3948.      to: ALL
  3949. subject: TURBO C OR C
  3950.  
  3951. WE ARE A DB3+ USER AND NOW WANT TO LEARN EITHER TURBO C OR C. WE NEED TO
  3952. HAVE SOME QUESTIONS ANSWERED BY AN EXPERT. CAN YOU HELP?
  3953. ---------------
  3954.  
  3955.    conf: PROGRAMMING LANGUAGES  #5404  06-18-88  08:51  (Read 107 times)
  3956.    from: DEAN ROTH
  3957.      to: JOHN DOLEYS (Rcvd)
  3958. subject: R: TURBO C OR C  Reply to #5401
  3959.  
  3960. RE: C Help
  3961.  
  3962. You've come to the right place.  I, >Phil> and others will be happy to
  3963. help.
  3964. -Dean
  3965. P.S. Do you know what the following statement will print?
  3966.      printf("%c\n", 2["ABCDEFG"]);
  3967.  
  3968. >>>>>>>>>> Msg 5401 reply #1
  3969.  
  3970.    conf: PROGRAMMING LANGUAGES  #5415  06-19-88  23:37  (Read 107 times)
  3971.    from: JOHN GRANT
  3972.      to: JOHN DOLEYS (Rcvd)
  3973. subject: R: TURBO C OR C  Reply to #5401
  3974.  
  3975. Well, I can tell you that I once stood in your shoes and did take a stab at
  3976. database development in C.  The first hard lesson was that dBASE makes you
  3977. take a lot of things for granted in database development.  C is more
  3978. flexible but you must code EVERYTHING from scratch.  Much more powerful but
  3979. much less forgiving.  You can purchase libraries with file and index
  3980. handling routines, but even their availability hasn't caused me to abandon
  3981. a COMPILED dBASE application when it comes to big-league database
  3982. applications.
  3983.  
  3984. It's not that you're reinventing the wheel to write in C (which dBASE is
  3985. written in), but if you need applications done anytime soon, plan on hiring
  3986. an experienced C programmer (I am not one).  Even though you're probably
  3987. feeling confident now that you've outgrown dBASE, you're in for a major
  3988. adjustment in tackling C.
  3989.  
  3990. I have a lot of respect for the numerous C experts around here and do not
  3991. plan to compete on their level anytime soon, but, as someone who quickly
  3992. became bored with dBASE, I took a look at some of the compilers whose
  3993. runtime speed rivals the same programs written in lower level languages.  A
  3994. good compiler offers many language 'extensions'.  It is something you
  3995. should consider before diving into C, especially if your job is at stake
  3996. over project deadlines.
  3997.  
  3998. Now for the plug.  I run a local dBASE-oriented board that is on-line from
  3999. 6:00 pm to 6:00 am (overnights) and 24hrs on weekends.  Call us at
  4000. 414-226-6122.  We have callers who could show you how to get more out of an
  4001. old, tired, slow language.  Another suggestion would be to purchase MS
  4002. Quick Basic and a package called DBLIB, which allows you to use dBASE
  4003. compatible data and index files from Basic.  Tis a far less bitter pill to
  4004. swallow that going directly to C.
  4005.  
  4006. >>>>>>>>>> Msg 5401 reply #2
  4007.  
  4008.    conf: PROGRAMMING LANGUAGES  #5423  06-20-88  22:28  (Read 104 times)
  4009.    from: TOM FELLER
  4010.      to: JOHN GRANT (Rcvd)
  4011. subject: R: R: TURBO C OR C  Reply to #5415
  4012.  
  4013. John,
  4014.    I do database programming in C. You are correct, the job is more
  4015. complex. Our company has a home made product called CADE.
  4016. CADE stands for Configurable Applications Development Environment.
  4017. It allows us to do fast development in C and our own C like language
  4018. that defines our screens, menus, reports, fields and databases.
  4019. This configuration language is compiled, by a yacc generated parser,
  4020. into a symbol table. We also use Btrieve for our database manager.
  4021. Btrieve is very powerfull, it has transaction processing, network
  4022. support and fast access. This system will blow DBASE away. It took
  4023. years of programmer time to develop this system. However, many good
  4024. windows libraries are on the market. You don't need a YACC and if you do
  4025. you can buy one. We wrote our YACC. But, I know you DBASE programmers,
  4026. you are scared to get your hands dirty in a real language. DBASE
  4027. programmers are programming WIMPS! Sorry, I shouldn't have said that.
  4028. I hope you don't take it personally. But, thats what I really think!
  4029. So, make your boss mad and loose lots of money trying to do what we have
  4030. done. I know you can't do it. It would take too long. We are about to
  4031. get into that area with OS/2 and the presentation mgr. Stick with DBASE
  4032. and wait forever for the OS/2 upgrade. Short term return and no R+D makes
  4033. a forever small company. If your company is not a seller of software
  4034. ignore the last series of bad comments. For in house programming DBASE is
  4035. O.K. But, I here Advanced Revelation is much faster and better.
  4036.    Tom Feller
  4037.  
  4038. >>>>>>>>>> Msg 5401 reply #3
  4039.  
  4040.    conf: PROGRAMMING LANGUAGES  #5425  06-20-88  22:49  (Read 105 times)
  4041.    from: JOHN GRANT
  4042.      to: TOM FELLER (Rcvd)
  4043. subject: R: R: TURBO C OR C  Reply to #5423
  4044.  
  4045. I agree on all points, except that I have been a real trooper about using
  4046. (read have invested $$$$) 'real' languages.  If you have any suggestions on
  4047. how I can accelerate my ideolgical conversion, I'm all ears.
  4048.  
  4049. By the way, I am attempting to attract knowledgeable database application
  4050. developers to my board (see this thread) here in town.  We really nead to
  4051. get the ball rolling in our 'cbase' (low level language database)
  4052. conference.  Any suggestions?
  4053.  
  4054. Me, I'm just a frustrated UWM MIS
  4055. alum who graduated then had to teach himself how to program.  My math
  4056. background is a bit weak for most of the low-level stuff.
  4057.  
  4058. >>>>>>>>>> Msg 5401 reply #4
  4059.  
  4060.    conf: PROGRAMMING LANGUAGES  #5432  06-21-88  22:53  (Read 110 times)
  4061.    from: TOM FELLER
  4062.      to: JOHN GRANT (Rcvd)
  4063. subject: R: R: TURBO C OR C  Reply to #5425
  4064.  
  4065. Yes, the pointer math can be confusing. Like passing a pointer
  4066. to a structure that is to be modified.
  4067. pass_from()
  4068. {
  4069.     struct ANYSTRUCT *p;
  4070.     pass_to(&p);
  4071. }
  4072. pass_to(p)
  4073. struct ANYSTRUCT **p;
  4074. {
  4075.     if (whatever) (*p) = (ANYSTRUCT *)myalloc(sizeof(ANYSTRUCT));
  4076. }
  4077. This is confusing to many people including me the first time
  4078. I did it. But, the concept is simple.
  4079. One I just did was:
  4080. SYMBOL ***sp;
  4081. This was used for a dynamic two dimensional array of pointers to
  4082. symbols. But, in many cases the first entry into C can be into
  4083. simple areas. I would advise making simple programs at first
  4084. and getting more complex later. Linked lists and binary trees
  4085. are good starting points. Read and sort all the words in a
  4086. letter into a linked list or binary tree. This program could
  4087. later be used in other areas like a spell checker or
  4088. a binary tree database.
  4089.   Have fun! Tom Feller
  4090.  
  4091. >>>>>>>>>> Msg 5401 reply #5
  4092.  
  4093.    conf: PROGRAMMING LANGUAGES  #5433  06-21-88  23:12  (Read 111 times)
  4094.    from: JOHN GRANT
  4095.      to: TOM FELLER (Rcvd)
  4096. subject: R: R: TURBO C OR C  Reply to #5432
  4097.  
  4098. What you're up against in dBASE 'programmers' is a mentality that makes two
  4099. sequential traversals through an indexed database; one to count the number
  4100. of records to delete and another to delete them.  I don't mean to bore you
  4101. with drivel dBASE-ese, but I think the message gets accross in any
  4102. language.  This is the work of a highly paid 'programmer' (not me) I am
  4103. aware of.
  4104.  
  4105. See how far pointer math goes with a crowd that sees nothing wrong with the
  4106. above in 5+ meg of data files on an 8088 machine.  Yawwwwwnnnnn.
  4107.  
  4108. >>>>>>>>>> Msg 5401 reply #6
  4109.  
  4110.    conf: PROGRAMMING LANGUAGES  #5441  06-22-88  23:57  (Read 110 times)
  4111.    from: TOM FELLER
  4112.      to: JOHN GRANT (Rcvd)
  4113. subject: R: R: TURBO C OR C  Reply to #5433
  4114.  
  4115.   John, Software Connection has some dB2c programs that look like
  4116. a good start. The Toolkit costs $249 from The Programmers Connection
  4117. 1-800-336-1166. As for that dual pass method, wow, how slow can you get.
  4118. They also have a dB2c File module that is included in the above tools
  4119. but it does not have the converter, price $179. Also, a dB2c windows
  4120. module that is a interface with the tools, Price $89. So for $338
  4121. plus the cost of the C compiler the dB programmers should have a easy
  4122. transition. Ha, Ha, Ha. The big three c compilers are supported
  4123. TurboC, Lattice C and MSC. I know as the computers get faster the
  4124. slowness of DBASE will go away and the conversion will be in less
  4125. demand. But, other database mgrs with faster speed will still
  4126. be faster. The users will stay with what they know, dBase.
  4127. And the users will go with OS/2. The users define a large share of the
  4128. market. Even if they are wrong.
  4129.     Tom Feller
  4130.  
  4131. >>>>>>>>>> Msg 5401 reply #7  >>>Last msg in reply thread.
  4132. Returning to normal sequence.
  4133.  
  4134.    conf: PROGRAMMING LANGUAGES  #5412  06-19-88  21:29  (Read 112 times)
  4135.    from: DAVE ZIESMANN
  4136.      to: HENRY BYKERK (Rcvd)
  4137. subject: R: R: RBASE SYSTEM V  Reply to #4622
  4138.  
  4139. Henry,
  4140.      I'm am just a beginner in RBASE and the only programmming I do is
  4141. form my own information. But the problem I have is trying to change
  4142. the table in a report.
  4143.      I have two reports exactly the same, but access different tables.
  4144. When I finished one report for one table, I use the copy report command
  4145. to generate my exact duplicate. I then tried to edit this second report
  4146. to change my table name but could not. Also both tables use the same
  4147. column names. If this is two fuzzy of an explanation, SORRY,
  4148.      Any information is well needed.
  4149.                                    Thanks,
  4150.                                          Dave
  4151. ---------------
  4152.  
  4153.    conf: PROGRAMMING LANGUAGES  #5444  06-23-88  13:51  (Read 107 times)
  4154.    from: DAVE ZIESMANN
  4155.      to: BENTLY TURNER (Rcvd)
  4156. subject: R: R: RBASE SYSTEM V  Reply to #5439
  4157.  
  4158. This concerns the duplicate report problem.  You said to delete the
  4159. orginal table name and then attach a new table to the duplicate
  4160. report.  One problem, what if data exists in orginal table. I know I
  4161. could export data out of this table and then delete it, but this data
  4162. must exist for the orginal report.  Is there another way?
  4163.      Your response is greatly appreciated!!!!!!!
  4164. ///Dave///
  4165.  
  4166. >>>>>>>>>> Msg 5412 reply #1
  4167.  
  4168.    conf: PROGRAMMING LANGUAGES  #5456  06-24-88  18:00  (Read 105 times)
  4169.    from: BENTLY TURNER
  4170.      to: DAVE ZIESMANN (Rcvd)
  4171. subject: R: R: RBASE SYSTEM V  Reply to #5444
  4172.  
  4173. You should be able to logically detach an existing table from a report
  4174. definition, without physically deleting the table from RBASE. After
  4175. removing(logically deleting) the original table you can logically ADD
  4176. the desired table to the duplicate report. By deleting a table from a
  4177. report definition, you will not actually delete the table from RBASE.
  4178. Thus all the data you have in the tables are retained.
  4179. Hope this helps.
  4180.   
  4181.   
  4182. Bently Turner
  4183.  
  4184. >>>>>>>>>> Msg 5412 reply #2  >>>Last msg in reply thread.
  4185. Returning to normal sequence.
  4186.  
  4187.    conf: PROGRAMMING LANGUAGES  #5416  06-20-88  03:50  (Read 100 times)
  4188.    from: EVERETT JOHNSON
  4189.      to: DAVE CLAY (Rcvd)
  4190. subject: R: MICROSOFT QUICK-C  Reply to #5408
  4191.  
  4192. Yes, I have used OPTASM extensively.  I find that their claims are
  4193. conservative. Not only is the speed great, but it has MANY nice
  4194. enhancements, all of which can be turned off if you wish.  I purchased my
  4195. copy on a 30 day trial, so it was no risk.  My over all rating: SUPER.
  4196. One drawback in the current option is that it has no /Zi option.
  4197. ---------------
  4198.  
  4199.    conf: PROGRAMMING LANGUAGES  #5417  06-20-88  08:03  (Read 97 times)
  4200.    from: GEORGE KOFMAN
  4201.      to: ALL
  4202. subject: PRINT SCREEN
  4203.  
  4204. Gentlemen,
  4205.  
  4206. I am trying to find a neat little program in either MS-C or TP (or TC) that
  4207. would simply trigger INTerrupt 5 (print screen). Any suggestions? I am all
  4208. ears.
  4209.  
  4210. George.
  4211. ---------------
  4212.  
  4213.    conf: PROGRAMMING LANGUAGES  #5426  06-21-88  05:11  (Read 97 times)
  4214.    from: CHARLES PERRIN
  4215.      to: GEORGE KOFMAN (Rcvd)
  4216. subject: R: PRINT SCREEN  Reply to #5417
  4217.  
  4218. I think that all three of the languages you mentioned have the
  4219. ability to trigger interrupt #5 (or any interrupt).  In TP, it
  4220. is "intr", I'd have to look it up in MS-C (it's int86), and it is
  4221. the (easier to remember) CALL INTERRUPT in QuickBasic...
  4222.  
  4223. >>>>>>>>>> Msg 5417 reply #1
  4224.  
  4225.    conf: PROGRAMMING LANGUAGES  #5428  06-21-88  08:29  (Read 99 times)
  4226.    from: GEORGE KOFMAN
  4227.      to: CHARLES PERRIN (Rcvd)
  4228. subject: R: R: PRINT SCREEN  Reply to #5426
  4229.  
  4230. Charles,
  4231.  
  4232. do you know the exact syntax for the MS-C? Do I have to setup any
  4233. registers (and to what values?) ?
  4234.  
  4235. George
  4236.  
  4237. >>>>>>>>>> Msg 5417 reply #2
  4238.  
  4239.    conf: PROGRAMMING LANGUAGES  #5435  06-22-88  06:04  (Read 102 times)
  4240.    from: CHARLES PERRIN
  4241.      to: GEORGE KOFMAN (Rcvd)
  4242. subject: R: R: PRINT SCREEN  Reply to #5428
  4243.  
  4244. I think for Interrupt 5, the register contents don't matter.
  4245. Try:
  4246. #include <dos.h>
  4247. union REGS regs;
  4248. main()
  4249. {
  4250.    int86(5,®s,®s);
  4251. }
  4252.  
  4253. >>>>>>>>>> Msg 5417 reply #3
  4254.  
  4255.    conf: PROGRAMMING LANGUAGES  #5436  06-22-88  09:38  (Read 103 times)
  4256.    from: GEORGE KOFMAN
  4257.      to: CHARLES PERRIN (Rcvd)
  4258. subject: R: R: PRINT SCREEN  Reply to #5435
  4259.  
  4260. Thanks a bunch, I'll give it a try.
  4261. BTW, I didn't realize that there was Madison in Alabama!
  4262. We have one in WI also.
  4263.  
  4264.  
  4265. >>>>>>>>>> Msg 5417 reply #4
  4266.  
  4267.    conf: PROGRAMMING LANGUAGES  #5437  06-22-88  21:39  (Read 102 times)
  4268.    from: CHARLES PERRIN
  4269.      to: GEORGE KOFMAN (Rcvd)
  4270. subject: R: R: PRINT SCREEN  Reply to #5436
  4271.  
  4272. It's about (they don't know how big, they have more registered voters
  4273. than the last census said residents!) 12,000 to 15,000 (guesses vary).
  4274. It's a suburb of Huntsville.  There are probably LOTS of Madisons out
  4275. there, BTW....
  4276.  
  4277. >>>>>>>>>> Msg 5417 reply #5
  4278.  
  4279.    conf: PROGRAMMING LANGUAGES  #5442  06-23-88  08:07  (Read 96 times)
  4280.    from: DALE ULMER
  4281.      to: CHARLES PERRIN (Rcvd)
  4282. subject: R: R: PRINT SCREEN  Reply to #5437
  4283.  
  4284. You ought to have a quiet chat with Madison's leaders and tell
  4285. them that having more registered voters than residents is not
  4286. necessarily a matter to brag about.  Chicago is famous for having
  4287. more voters than residents too, but that has nothing to do with
  4288. explosive growth.
  4289.  
  4290. >>>>>>>>>> Msg 5417 reply #6
  4291.  
  4292.    conf: PROGRAMMING LANGUAGES  #5443  06-23-88  08:57  (Read 95 times)
  4293.    from: GEORGE KOFMAN
  4294.      to: CHARLES PERRIN (Rcvd)
  4295. subject: R: R: PRINT SCREEN  Reply to #5437
  4296.  
  4297. BTW,
  4298.  
  4299. the int86(5,®,®); worked very well. Thank you.
  4300.  
  4301. If you have any dbase/clipper/etc questions - just let me know.
  4302.  
  4303. George.
  4304.  
  4305. >>>>>>>>>> Msg 5417 reply #7
  4306.  
  4307.    conf: PROGRAMMING LANGUAGES  #5450  06-24-88  06:07  (Read 98 times)
  4308.    from: CHARLES PERRIN
  4309.      to: DALE ULMER (Rcvd)
  4310. subject: R: R: PRINT SCREEN  Reply to #5442
  4311.  
  4312. No, we don't do it the way Chicago does.  We've had a LOT of
  4313. growth.  (And our voter levels don't go up with the cemetery
  4314. occupancy....)
  4315.  
  4316. >>>>>>>>>> Msg 5417 reply #8  >>>Last msg in reply thread.
  4317. Returning to normal sequence.
  4318.  
  4319.    conf: PROGRAMMING LANGUAGES  #5419  06-20-88  14:31  (Read 98 times)
  4320.    from: DAVE ZIESMANN
  4321.      to: TOM FELLER (Rcvd)
  4322. subject: R: R: MICROSOFT QUICK-C  Reply to #5414
  4323.  
  4324.     It just so happens that the Microsoft personnel advised acquiring
  4325. MSC 5.1.  The only problem is cash is a little short at this time.
  4326. And it wasn't the symbol table that was giving me problems, it was
  4327. the linking process that wasn't giving me my symbolic information.
  4328. Even with the /CO option problems occured. Also when compiled with
  4329. MSC 4.0 the options /Zi, /Od failed.
  4330.      Thanks for your info, I'll just try something else.
  4331. ==========================================================================
  4332. Dave
  4333. ---------------
  4334.  
  4335.    conf: PROGRAMMING LANGUAGES  #5424  06-20-88  22:36  (Read 100 times)
  4336.    from: TOM FELLER
  4337.      to: DAVE CLAY
  4338. subject: R: MICROSOFT QUICK-C  Reply to #5422
  4339.  
  4340.    Dave,
  4341.     I was not the one that used periscope to try to debug the program,
  4342. so it may have been the other programmers error not looking at the stack.
  4343. He had very little assembly language experience and was the wrong one for
  4344. the job. I don't know what version was being used. You do have to admit
  4345. periscope requires good assembly language experience and it may be hard
  4346. to see the problem as it relates to the "C" program.
  4347.    Tom Feller
  4348. ---------------
  4349.  
  4350.    conf: PROGRAMMING LANGUAGES  #5430  06-21-88  17:04  (Read 106 times)
  4351.    from: DAVE ZIESMANN
  4352.      to: DAVE CLAY
  4353. subject: R: MICROSOFT QUICK-C  Reply to #5422
  4354.  
  4355. Thanks Dave, you have been extremely informative.
  4356.                    Dave Z.
  4357.  
  4358. >>>>>>>>>> Msg 5424 reply #1
  4359.  
  4360.    conf: PROGRAMMING LANGUAGES  #5431  06-21-88  18:41  (Read 105 times)
  4361.    from: JOE VINCENT
  4362.      to: DAVE CLAY
  4363. subject: R: MICROSOFT QUICK-C  Reply to #5422
  4364.  
  4365. Dave, your experience with Periscope is very interesting.  I think I'll
  4366. call their 800 number and ask for their demo disk.  I've been using
  4367. Codeview with QB 4.0, MSC 5.1 and MASM 5.1.  I encountered a problem
  4368. similar to the one you mentioned (Codeview unable to find source module).
  4369. Since I'm not yet adept in using CV, I wasn't sure that it was CV rather
  4370. than my inexperience.
  4371.  
  4372. Re: QB not supporting far arrays.  That's both true and not true.  It's
  4373. true that static arrays are near arrays and it's also true that QB passes
  4374. arguments by near reference as the default.  However, it's always possible
  4375. to pass any argument by far reference by specifying the argument with the
  4376. SEG keyword or by using CALLS rather than CALL.  Dynamic arrays are ALWAYS
  4377. far arrays, with an array descriptor being kept in the data segment and the
  4378. actual array being stored elsewhere and referenced by a far address.  In
  4379. that sense, it's a far array.
  4380.  
  4381. Since I write quite a bit of code in MSC and MASM which I call from QB, I
  4382. just make every argument passed from QB a far reference and avoid the
  4383. perplexity.
  4384.  
  4385. >>>>>>>>>> Msg 5424 reply #2  >>>Last msg in reply thread.
  4386. Returning to normal sequence.
  4387.  
  4388.    conf: PROGRAMMING LANGUAGES  #5429  06-21-88  08:40  (Read 106 times)
  4389.    from: ANDY WHITCROFT
  4390.      to: ALL
  4391. subject: K&R PASCAL SOFTWARE TOOL
  4392.  
  4393. Dear Fellow programmers,
  4394.      I am looking for the sources for the book 'software tools in pascal'.
  4395. I am pretty sure that they are out there somewhere but can someone help
  4396. help me find them.
  4397.                             Andy.
  4398. ---------------
  4399.  
  4400.    conf: PROGRAMMING LANGUAGES  #5434  06-22-88  00:49  (Read 101 times)
  4401.    from: VIC BARON
  4402.      to: ALL
  4403. subject: SPAWN BUG???
  4404.  
  4405. I've run into a problem and any help will be appreciated. Am using TURBOC
  4406. v1.5 to write a specific type of accounting package. I have decided to use
  4407. overlays using the spawn function in TC. Problem is simple. The programs
  4408. run fine on the hard disk but on the floppy, the spawn function says it
  4409. can't locate the overlay files. The program is coded such that it uses the
  4410. default drive/directory and no drive or directory references or changes
  4411. occur. Even tried booting from A:\ with same results. The last effort was
  4412. to enter the program in the TurboC manual that demonstrates the spawn
  4413. function and that does the same thing. When spawn() executes, it accesses
  4414. the drive but returns a file not found error. Has anyone else run into
  4415. this?
  4416. Thanx,
  4417.                Vic
  4418. ---------------
  4419.  
  4420.    conf: PROGRAMMING LANGUAGES  #5440  06-22-88  23:54  (Read 102 times)
  4421.    from: VIC BARON
  4422.      to: ALL
  4423. subject: SPAWNBUG2  Reply to #5434
  4424.  
  4425. this is like answering my own message but in sheer frustration I called
  4426. Borland and , lo! and behold! they know about the bug! THey are working on
  4427. a permanent fix right now. The problem seems to be that the spawn function
  4428. cannot find a file in the root dir of ANY disk unless it is in the path and
  4429. you use spawnp to force a path search.
  4430. V
  4431.  
  4432. >>>>>>>>>> Msg 5434 reply #1  >>>Last msg in reply thread.
  4433. Returning to normal sequence.
  4434.  
  4435.    conf: PROGRAMMING LANGUAGES  #5438  06-22-88  22:28  (Read 128 times)
  4436.    from: BENTLY TURNER
  4437.      to: PAT BIESER (Rcvd)
  4438. subject: R: DBASE III/CLIPPER  Reply to #5111
  4439.  
  4440. I have experience using dBASE III+ and Clipper Summer '87 Software. I was
  4441. wondering if you are still looking for programming help.  I usually visit
  4442. this board, but it's been a while since I've had a chance to hit the local
  4443. BBSes in the area. I am a professional programmer and have done contract
  4444. programming/consulting and training on both mainframe and P.C's.
  4445. ---------------
  4446.  
  4447.    conf: PROGRAMMING LANGUAGES  #5492  06-30-88  09:56  (Read 126 times)
  4448.    from: PAT BIESER
  4449.      to: BENTLY TURNER (Rcvd)
  4450. subject: R: R: DBASE III/CLIPPER  Reply to #5438
  4451.  
  4452. Bently:  Yes I will be looking for help, just not as soon as I expected.
  4453. Can you leave you phone number for me in private mail, and I'll give you a
  4454. call.
  4455.   
  4456. Patrick
  4457.  
  4458. >>>>>>>>>> Msg 5438 reply #1  >>>Last msg in reply thread.
  4459. Returning to normal sequence.
  4460.  
  4461.    conf: PROGRAMMING LANGUAGES  #5445  06-23-88  18:34  (Read 107 times)
  4462.    from: DAVE CLAY
  4463.      to: TOM FELLER (Rcvd)
  4464. subject: MICROSOFT QUICK-C
  4465.  
  4466.      cc: JOE VINCENT
  4467.      cc: DAVE ZIESMANN
  4468.  
  4469. Tom,
  4470.      I agree with you in that a high level language programmer can very
  4471. easily get lost when debugging with a "high power" debugger.  If inserting
  4472. printf statements can do the job, that is the way to go.  I know from
  4473. experience, I do sometimes get lost.  However, both Codeview and
  4474. Periscope have options that I highly recommend.  In Codeview, use the
  4475. window command: VIEW, SOURCE (or C or BASIC, or FORTRAN, or whatever).
  4476. Life is a WHOLE lot easier in debugging by stepping through the source
  4477. code.  In Periscope the command is: "US"   No assembly knowledge is
  4478. necessary when these tools are used in the source mode.
  4479.      One other comment for potential Periscope buyers, at the present
  4480. time Periscope does not support OS/2.  However, they do have an update
  4481. policy that I wish Microsoft would adopt: the first update is FREE!
  4482. You don't even have to send in a request, and the policy is good for
  4483. more than one year.  You also don't need an update every four months
  4484. to fix bugs like some companies (grin).
  4485.     BTW, rumor has it that the author of Codeview left Microsoft several
  4486. months ago to join Atron.  I expect a new "user friendly" version of the
  4487. Bugbuster any week now.  I am sure Atron will support protected mode
  4488. debugging and about anything else a fellow could want.  Their starting
  4489. price was around $100, but add another $100 for math coprocesser
  4490. package, and another $100 for the NMI switch.....
  4491.     Recalling our comments, Tom, I agree that most programmers can get
  4492. by without a fancy debugging tool.  Using one of these tools takes time
  4493. to learn.  But, if a programmer finds himself (herself) getting into
  4494. increasingly difficult situations, one of these debuggers can save a
  4495. tremendous amount of precious time when things get real nasty.
  4496. Philippe Kahn has said that without Atron there would never have been
  4497. a Sidekick.
  4498.                               Dave Clay
  4499. ---------------
  4500.  
  4501.    conf: PROGRAMMING LANGUAGES  #5448  06-23-88  22:00  (Read 98 times)
  4502.    from: DAVE ZIESMANN
  4503.      to: DAVE CLAY (Rcvd)
  4504. subject: R: MICROSOFT QUICK-C  Reply to #5445
  4505.  
  4506.      Thanks for your insight, I'll keep my eyes open in the software
  4507. journals for any additional information.
  4508.  Dave
  4509.  
  4510. >>>>>>>>>> Msg 5445 reply #1  >>>Last msg in reply thread.
  4511. Returning to normal sequence.
  4512.  
  4513.    conf: PROGRAMMING LANGUAGES  #5446  06-23-88  18:36  (Read 102 times)
  4514.    from: DAVE CLAY
  4515.      to: JOE VINCENT (Rcvd)
  4516. subject: QB FAR CALLS
  4517.  
  4518. Joe,
  4519.     Thanks for you comments on far calls from QB.  You may be the only
  4520. fellow around that has the answer for us!  Below is a quip from our mess.
  4521. When we compile in QB 4.0, we get a syntax error on line 100.
  4522. If we remove the SEG from the  X#, Y#, and A# arrays, then line 9200
  4523. gives a type mismatch error.  If we remove all of the SEG's from line
  4524. 100, and change line 9200 to CALL POLFIT... (not CALLS) we get a heap
  4525. space error.  Obviously, I don't know what I am doing or what to do next.
  4526. If you have any suggestions, they would be greatly appreciated.
  4527.  
  4528. 100   DECLARE SUB POLFIT (SEG MSIZE%,SEG X#(),SEG Y#(),SEG EPS#,SEG A#())
  4529. 110 ' FROM Pg 32, 145  QB REF. MANUAL
  4530. ......
  4531. 1700  DIM X#(1 TO 200),Y#(1 TO 200),A#(1 TO 640)
  4532. ......
  4533. 9100  '            NOW CALL FORTRAN SUBROUTINE POLFIT
  4534. 9200  CALLS POLFIT (MSIZE%,X#(),Y#(),EPS#,A#())
  4535. ......
  4536.                    Thanks,   Dave Clay
  4537.  
  4538. ---------------
  4539.  
  4540.    conf: PROGRAMMING LANGUAGES  #5447  06-23-88  19:04  (Read 108 times)
  4541.    from: JOE VINCENT
  4542.      to: DAVE CLAY (Rcvd)
  4543. subject: R: QB FAR CALLS  Reply to #5446
  4544.  
  4545. Dave, I'll capture your message and try to replicate your problem offline.
  4546. However, I do have one immediate observation.  Since the "CALLS" causes ALL
  4547. arguments to be passed by far reference, your DECLARE containing SEG
  4548. keywords isn't going to do anything for you.  A trick you can try, which
  4549. will "turn off" argument type checking, is to specify no arguments in your
  4550. DECLARE.
  4551.  
  4552. BTW, in case any of your arrays are dynamic arrays, you should use a
  4553. reference to your first array element as your array argument.  That will
  4554. cause the far address of the first array element to be passed (all that
  4555. FORTRAN needs, anyway) rather than the far address of the array descriptor.
  4556. If your array arguments are static (hence, near) arrays, it doesn't make
  4557. any difference.
  4558.  
  4559. Doesn't FORTRAN expect arguments to be passed by far reference?  If so,
  4560. that could account for your stack error when using CALL, since CALL passes
  4561. all arguments by near reference unless otherwise specified in the DECLARE.
  4562.  
  4563. >>>>>>>>>> Msg 5446 reply #1  >>>Last msg in reply thread.
  4564. Returning to normal sequence.
  4565.  
  4566.    conf: PROGRAMMING LANGUAGES  #5449  06-23-88  22:09  (Read 95 times)
  4567.    from: BRUCE SHERMAN
  4568.      to: ALL
  4569. subject: TP3.00 MEM AVAIL?
  4570.  
  4571. .
  4572. Using Turbopascal 3.0, how can I determine the amount of AVAILABLE RAM,
  4573. as well as the amount of AVAILABLE DISK STORAGE, on a given drive?
  4574. ---------------
  4575.  
  4576.    conf: PROGRAMMING LANGUAGES  #5451  06-24-88  07:52  (Read 99 times)
  4577.    from: STEVEN KEY
  4578.      to: BRUCE SHERMAN (Rcvd)
  4579. subject: R: TP3.00 MEM AVAIL?  Reply to #5449
  4580.  
  4581. I haven't written any such routines as you need to find available ram and
  4582. disk space lately, so I can't give you the answer off the top of my head.
  4583. You will need to use some DOS calls to get the information about disk space
  4584. and the Memavail function will tell you how many 16 byte blocks are
  4585. available in the heap.  The DOS tech ref manual or a good DOS programming
  4586. book such as Ray Duncan's Advanced MSDOS is what you need for the diskspace
  4587. answer.
  4588.  
  4589. Good luck.
  4590.  
  4591. >>>>>>>>>> Msg 5449 reply #1
  4592.  
  4593.    conf: PROGRAMMING LANGUAGES  #5459  06-24-88  19:53  (Read 100 times)
  4594.    from: THOMAS ATKINSON
  4595.      to: BRUCE SHERMAN (Rcvd)
  4596. subject: R: TP3.00 MEM AVAIL?  Reply to #5449
  4597.  
  4598. In Mahoney i think there is a file titled 'FREERAM.???' which is TP3 source
  4599. for ram available...
  4600.  
  4601. >>>>>>>>>> Msg 5449 reply #2
  4602.  
  4603.    conf: PROGRAMMING LANGUAGES  #5467  06-25-88  21:19  (Read 101 times)
  4604.    from: BRUCE SHERMAN
  4605.      to: STEVEN KEY (Rcvd)
  4606. subject: R: R: TP3.00 MEM AVAIL?  Reply to #5451
  4607.  
  4608. Thomas Atkinson recommended FREERAM.ARC, which includes source in
  4609. Turbopascal.  It did the trick!
  4610.  
  4611. >>>>>>>>>> Msg 5449 reply #3  >>>Last msg in reply thread.
  4612. Returning to normal sequence.
  4613.  
  4614.    conf: PROGRAMMING LANGUAGES  #5452  06-24-88  08:40  (Read 99 times)
  4615.    from: GEORGE KOFMAN
  4616.      to: PAT BIESER (Rcvd)
  4617. subject: PLINK86 OVERLAYS
  4618.  
  4619.      cc: JOHN GRANT
  4620.  
  4621. Pat,
  4622.  
  4623. I understand that you do dBASE, and assume you do Clipper.
  4624. I am having problems trying to create overlays with Plink86 from the Summer
  4625. '87 release. I tell Plink86 to create external overlays, but it creates
  4626. them as internal. All I want to do is to change 343K of executable to run
  4627. in 256K of RAM. If you or John (or anyone else) know of a solution or a
  4628. fix (or sample @???.lnk file, etc) please let me know.
  4629.  
  4630. Thanks in advance.
  4631. George M. Kofman
  4632.  
  4633. P.S. If you can, will you please reply on this board as opposed to
  4634. referring me to another board, since I don't BBS after 5:00pm.
  4635.    George.
  4636. ---------------
  4637.  
  4638.    conf: PROGRAMMING LANGUAGES  #5453  06-24-88  11:03  (Read 101 times)
  4639.    from: JOHN GRANT
  4640.      to: GEORGE KOFMAN (Rcvd)
  4641. subject: R: PLINK86 OVERLAYS  Reply to #5452
  4642.  
  4643. First, I doubt if a compiled dBASE executable that large could EVER be
  4644. overlayed to get it to run in 256K.  But Plink can reduce your memory
  4645. requirement somewhat.
  4646.  
  4647. I trust Clipper has a link-file builder in its compiler.  I use QS and
  4648. instructed it to create one overlay and this is what it gave me:
  4649.  
  4650. OUTPUT  SOAP.EXE
  4651. section = ROOT
  4652. file        SOAP.OBJ,
  4653.         SOAP00.OBJ,
  4654.         SOAP01.OBJ,
  4655.         SOAP02.OBJ,
  4656.         SOAP03.OBJ,
  4657.         SOAP04.OBJ,
  4658.         ROOT0000.OBJ,
  4659.         ROOT0001.OBJ,
  4660.         ROOT0002.OBJ,
  4661.         ROOT0003.OBJ,
  4662.         ROOT0004.OBJ
  4663.         SEARCH        QSPC1.LIB, QSPC2.LIB, QS.LIB
  4664. begin
  4665.     section = OVL1 into SOAP.OVL file OVL10000.OBJ, OVL10001.OBJ, OVL10002.
  4666. OBJ, OVL10003.OBJ, OVL10004.OBJ,
  4667.                         OVL10005.OBJ, OVL10006.OBJ, OVL10007.OBJ, OVL10008.
  4668. OBJ
  4669.     section = OVL2 file OVL20000.OBJ
  4670.     section = OVL3 file OVL30000.OBJ, OVL30001.OBJ
  4671.     section = OVL4 file OVL40000.OBJ
  4672.     section = OVL5 file OVL50000.OBJ
  4673.     section = OVL6 file OVL60000.OBJ
  4674. end
  4675.  
  4676. Note the "section = OVL1 into SOAP.OVL."  If you can't tell Clipper to
  4677. create external overlays, edit your link file to change that.
  4678. But, the thing is, internal and external overlays act identically except
  4679. that external reside as separate files.  The memory requirements are no
  4680. different.  AND, the external ones may even slow down your applications if
  4681. ol' DOS has to hunt for them in a populous directory.
  4682.  
  4683. My larger (and larger) dBASE applications are forcing me to consider lower
  4684. level languages for development.  Clipper and QS load so many routines into
  4685. their root files than you can hardly create overlays large enough by
  4686. comparison to reduce memory requirements that much, except in extremely
  4687. large applications.  Low level languages take better advantage of overlays.
  4688.  
  4689. BTW, how much less memory does your internally-overlayed executable
  4690. save versus plain LINK.EXE.  QS once boasted (albeit in a redme file) that
  4691. 150K could be shaved off in LARGE applications.
  4692.  
  4693. >>>>>>>>>> Msg 5452 reply #1
  4694.  
  4695.    conf: PROGRAMMING LANGUAGES  #5455  06-24-88  16:21  (Read 99 times)
  4696.    from: GEORGE KOFMAN
  4697.      to: JOHN GRANT (Rcvd)
  4698. subject: R: R: PLINK86 OVERLAYS  Reply to #5453
  4699.  
  4700. John,
  4701.  
  4702. Thanks much.
  4703. I will give it a try.
  4704.  
  4705. George.
  4706.  
  4707. >>>>>>>>>> Msg 5452 reply #2
  4708.  
  4709.    conf: PROGRAMMING LANGUAGES  #5463  06-24-88  23:56  (Read 103 times)
  4710.    from: JOHN GRANT
  4711.      to: GEORGE KOFMAN (Rcvd)
  4712. subject: R: R: PLINK86 OVERLAYS  Reply to #5455
  4713.  
  4714. Just out of curiosity...
  4715.  
  4716. 1.  Does Clipper generate a Plink-able link-file?
  4717. 2.  Were you jiving me about not BBSing after 5:00 or were you trying to
  4718.     keep me from blabbing about my poor but honest dBASE board?
  4719.  
  4720.  
  4721. >>>>>>>>>> Msg 5452 reply #3
  4722.  
  4723.    conf: PROGRAMMING LANGUAGES  #5476  06-27-88  08:15  (Read 101 times)
  4724.    from: GEORGE KOFMAN
  4725.      to: JOHN GRANT (Rcvd)
  4726. subject: R: R: PLINK86 OVERLAYS  Reply to #5463
  4727.  
  4728. John,
  4729.  
  4730. to satisfy your curiosity:
  4731.  
  4732. 1. Clipper does generate PLINK86-ABLE/MSLINKABLE (I just created a new
  4733.    word!). The trouble is that if you have ANY questions regarding Clipper
  4734.    or any of its supporting products (read: PLINK86), Nauntaket asks you
  4735.    for your Credit Card #. Very disturbing. WordPerfect, on the other hand,
  4736.    doesn't even ask for your Serial Number. Amazing...
  4737.  
  4738. 2. Regarding not B-BSing (or BBSing, or any other combination of...):
  4739.    I have a 2400baud modem at the office, and a 1200baud at home. I really
  4740.    don't like to use my 1200baud since I consider it too slow. Also, when I
  4741.    am at home, I work on my programming projects that I can't work on at
  4742.    the office. Which sort of limits my B-BS/BBSing time to before 5:00pm.
  4743.  
  4744. Thanks for your reply.
  4745. Keep in dTOUCH.
  4746.  
  4747. George.
  4748.  
  4749. >>>>>>>>>> Msg 5452 reply #4
  4750.  
  4751.    conf: PROGRAMMING LANGUAGES  #5478  06-27-88  19:14  (Read 100 times)
  4752.    from: CHARLES PERRIN
  4753.      to: GEORGE KOFMAN (Rcvd)
  4754. subject: R: R: PLINK86 OVERLAYS  Reply to #5476
  4755.  
  4756. WPCORP finds it gets people off the phone faster and 99.999% of those
  4757. who called were legitimate....
  4758.  
  4759. >>>>>>>>>> Msg 5452 reply #5
  4760.  
  4761.    conf: PROGRAMMING LANGUAGES  #5493  06-30-88  10:05  (Read 107 times)
  4762.    from: PAT BIESER
  4763.      to: GEORGE KOFMAN (Rcvd)
  4764. subject: R: PLINK86 OVERLAYS  Reply to #5452
  4765.  
  4766. George.
  4767.  
  4768. A few thougths.  First, I haven't had the occassion yet to create overlays.
  4769. Talk to me again in August.  Second, I belive the minimum .exe for summer
  4770. '87 clipper is around 192K.  I think you are going to have a devil of a
  4771. time getting 325K? .exe into 256K RAM, overlays aside.  When I've had this
  4772. problem before I've upgraded my clients computer to 640K - no more problem.
  4773.   
  4774. Depending upon how many files and buffers you need, you have additional
  4775. problems getting all that information into 256K.  Remember, you have to use
  4776. part of that 256K for DOS.
  4777.   
  4778. My uneducated guees would be, forget it.  Can't be done.  Your going to
  4779. need more memory.
  4780.   
  4781. Patrick.
  4782.  
  4783. >>>>>>>>>> Msg 5452 reply #6  >>>Last msg in reply thread.
  4784. Returning to normal sequence.
  4785.  
  4786.    conf: PROGRAMMING LANGUAGES  #5454  06-24-88  14:07  (Read 98 times)
  4787.    from: MARK GINSBERG
  4788.      to: ALL
  4789. subject: SERIAL VIA BIOS
  4790.  
  4791.    Help... I am probably the last person who woke up to this type of a mess
  4792. using serial IO.  I am writing a driver to stuff information out the serial
  4793. port of a PC.  The device I am talking to signals buffer full by dropping
  4794. DSR (or CTS depending on the cable I am using).  I have written the driver
  4795. to use bios calls.  I open the port with intr$14,0 no problem.  Then, each
  4796. time I have a char to send, I use intr$14,3 until the CTS, DSR and Transmit
  4797. hold bits read high, then I use $14,1 (2?) to stuff the char.  This works
  4798. until the receiving device drops DSR.  My machine stops sending stuff and
  4799. resumes when DSR comes back up, no problem.  But drops 1 or 2 chars in the
  4800. transition somehow.  What in the world is going on?  Am I supposed to be
  4801. disabling interupts as I mess with the port?  The box on the other end
  4802. sends no chars, just toggles DSR.  Is this a "feature" of the USART?
  4803. Anyone know?
  4804. ---------------
  4805.  
  4806.    conf: PROGRAMMING LANGUAGES  #5460  06-24-88  19:55  (Read 99 times)
  4807.    from: THOMAS ATKINSON
  4808.      to: MARK GINSBERG (Rcvd)
  4809. subject: R: SERIAL VIA BIOS  Reply to #5454
  4810.  
  4811. Take a look at the FOSSIL.ARC or FOSSIL something in Mahoney.  It uses all
  4812. you mentioned and may add some more...
  4813.  
  4814. >>>>>>>>>> Msg 5454 reply #1
  4815.  
  4816.    conf: PROGRAMMING LANGUAGES  #5465  06-25-88  08:10  (Read 105 times)
  4817.    from: DAVID NYE
  4818.      to: MARK GINSBERG (Rcvd)
  4819. subject: R: SERIAL VIA BIOS  Reply to #5454
  4820.  
  4821.   Your problem may be in the sluggish performance of the INT 14 routines.
  4822. I found I lost one or two characters because of input overrun each time the
  4823. screen scrolled.  If I cleared the screen first, no problem.  Almost any
  4824. application that I know of that uses serial I/O bypasses INT 14 and uses
  4825. its own interrupt driven code.  See Ray Duncan's Advanced MSDOS p. 98 for a
  4826. discussion of this and an example program TALK.ASM, or Joe Campbell's
  4827. Crafting C Tools for the IBM PCs Ch. 16 for the relevant C code.  This is
  4828. one (more) area where MSDOS is extremely weak.
  4829.  
  4830. >>>>>>>>>> Msg 5454 reply #2
  4831.  
  4832.    conf: PROGRAMMING LANGUAGES  #5474  06-26-88  23:41  (Read 99 times)
  4833.    from: TOM FELLER
  4834.      to: MARK GINSBERG (Rcvd)
  4835. subject: R: SERIAL VIA BIOS  Reply to #5454
  4836.  
  4837. Don't use the BIOS. Get a good communications library that talks to
  4838. the UART. Our company uses Blaise C Asynch Manager. TurboC and MSC is
  4839. supported. If you are using Pascal, Blaise has a library for that.
  4840. The C library costs $135 through The Programmers Connection. For
  4841. Turbo Pascal $99, MS Pascal $135. We had a in house assembly program
  4842. with bugs. To save time we got the library. It has more functions than
  4843. we will ever use including Hayes support. For high speed communications
  4844. the interupt driven software used by Blaise is the only way to go.
  4845. Speeds up to 9600 baud supported.
  4846.  Tom Feller
  4847.  
  4848. >>>>>>>>>> Msg 5454 reply #3
  4849.  
  4850.    conf: PROGRAMMING LANGUAGES  #5477  06-27-88  10:22  (Read 102 times)
  4851.    from: MARK GINSBERG
  4852.      to: TOM FELLER (Rcvd)
  4853. subject: R: R: SERIAL VIA BIOS  Reply to #5474
  4854.  
  4855.      cc: DAVID NYE
  4856.      cc: THOMAS ATKINSON
  4857.  
  4858.      Thank you, Messers. Atkinson, Nye, and Feller.  I will follow up on
  4859. all suggestions.
  4860.  
  4861. >>>>>>>>>> Msg 5454 reply #4  >>>Last msg in reply thread.
  4862. Returning to normal sequence.
  4863.  
  4864.    conf: PROGRAMMING LANGUAGES  #5457  06-24-88  18:09  (Read 105 times)
  4865.    from: BENTLY TURNER
  4866.      to: ALL
  4867. subject: C LANGUAGE
  4868.  
  4869. I am an experienced programmer using COBOL, BASIC, RBASE, DBASE, CLIPPER.
  4870. However I have developed an interest in learning the C Language.  I have
  4871. some questions for you C-literate pros:
  4872.   
  4873.  1) Given that there are several versions of C (Microsoft, Turbo, Power...)
  4874.     What is different about them? lso what should I look for in choosing
  4875.     a version of C?  Any recommendations are welcome.
  4876.   
  4877.  2) I would like to be taught C in some sort of structured learning
  4878.     environment.  Are the any formal C courses available at local
  4879.     colleges, universities, technical & vocational schools? If yes, where
  4880.     and when are courses taught?
  4881.  
  4882.  3) There e many books on C programming in the Computer Section of local
  4883.     computer bookstores.  I would like recommendations of good books which
  4884.     are geared at a novice, containing practical programming examples, and
  4885.     could be used to learn the language (... Not something super technical)
  4886.   
  4887.     Thanks,
  4888.    
  4889.     Bently Turner
  4890. ---------------
  4891.  
  4892.    conf: PROGRAMMING LANGUAGES  #5458  06-24-88  18:38  (Read 109 times)
  4893.    from: DEAN ROTH
  4894.      to: BENTLY TURNER (Rcvd)
  4895. subject: R: C LANGUAGE  Reply to #5457
  4896.  
  4897. Hi, Bently! (This is THE Bently Turner of CGA, no?)
  4898.  
  4899. RE: C compilers
  4900.  
  4901. The criteria for selecting a C compiler varies with the indended use(s).
  4902. From your message I assume you want a C compiler for MS DOS for
  4903. home/learning usage. I suggest you consider:
  4904.  1. Meets ANSI "std." (or the latest rumors 8-)
  4905.  2. Source code level debugger
  4906.  3. A price you like
  4907.  4. Availability of third party function libraries (such
  4908.     as for graphics).
  4909.  5. Microsoft object file/module compatible
  4910.  
  4911. I believe the two leading PC C compilers are Turbo C and Microsoft's. Turbo
  4912. still lacks a source code debugger. (Unless one was released in the last
  4913. two weeks and I didn't notice.)  There is a *big* price difference.  I have
  4914. not had a chance to use Turbo C, but for "home" use, I recommend it.  For
  4915. "playing" at home, I have Microsoft's compiler - because TC did not exist
  4916. when I wanted my own C compiler.
  4917.  
  4918. As for books, I keep looking for one that presents the language AND how to
  4919. design software systems. All books I've seen thus far cover writing a
  4920. function or two, but not how to use C (especially the preprocessor) when
  4921. creating hundreds and thousands of functions.  I occassionally teach C, and
  4922. I keep look for "THE" book.
  4923. -Dean
  4924.  
  4925. >>>>>>>>>> Msg 5457 reply #1
  4926.  
  4927.    conf: PROGRAMMING LANGUAGES  #5461  06-24-88  23:15  (Read 108 times)
  4928.    from: GRANT ELLSWORTH
  4929.      to: BENTLY TURNER (Rcvd)
  4930. subject: R: C LANGUAGE  Reply to #5457
  4931.  
  4932. Bently,   Like you, I got interested in C (i.e. I was wondering "Wazzit
  4933. this C is all about), after years of Mainframe Cobol, ALC, and micro DBASE,
  4934. BASIC (just enough to avoid later), PASCAL (derived from an early exposure
  4935. to ALGOL 60).  So, I think I can suggest what worked for me ... it might be
  4936. the same for you.
  4937.  
  4938. Compiler:  I got TurboC thru 1.5 - I suggest TC1.5 - best bang for learning
  4939. $ spent.  I thik it covers Dean Roth's criteria very well.  It's available
  4940. from mail order places for as low as $64 (list $99) - and I think it's a
  4941. better starting point than MS Quick C (absense of fancy debugger in  TC
  4942. nowithstanding - you don't ned that level of tool to get going)
  4943.  
  4944. Books:  For learing whazzit this C is all about in a structured context,
  4945. Dean is right, there is no best book.  Here are what I used besides  the
  4946. Borland Doc/Books on C itself:
  4947.  
  4948.    C - by Kerrighan and Ritchie - The CLASSIC
  4949.        (Not really a bad place to start, but it does need supplementing)
  4950.       The full title is: The C Programming Language
  4951.  
  4952.    C Programming Guide, by Jack Purdum - published by the Q Corporation
  4953.         in Indianapolis, IN
  4954.      I have an early edition - and I note that it has been updated since
  4955.        I bought it.
  4956.  
  4957. I first dabbled in C on a VAX w/VMS with only the VMS/C ref manual ,,, and
  4958. forgot almost everything aftr a diversion back to mainframe land and ALC +
  4959. Proj Mgmt.  The books I listed above were good for a restart =- almost from
  4960. scratch.  Have fun!  Grant
  4961.  
  4962. >>>>>>>>>> Msg 5457 reply #2
  4963.  
  4964.    conf: PROGRAMMING LANGUAGES  #5464  06-25-88  07:19  (Read 110 times)
  4965.    from: CHARLES PERRIN
  4966.      to: BENTLY TURNER (Rcvd)
  4967. subject: R: C LANGUAGE  Reply to #5457
  4968.  
  4969. As to getting into C inexpensively, I'd probably recommend Microsoft
  4970. Quick C for the debugging capabilities.  (Although I'd say TC has
  4971. a bit better library, compiles faster, and can handle a single
  4972. array bigger than 64K....)  As to a book, Microsoft Press has
  4973. introduced one and I'm always impressed by their books....
  4974.  
  4975. >>>>>>>>>> Msg 5457 reply #3
  4976.  
  4977.    conf: PROGRAMMING LANGUAGES  #5469  06-26-88  00:12  (Read 110 times)
  4978.    from: MARK TELLIER (LEADER)
  4979.      to: BENTLY TURNER (Rcvd)
  4980. subject: R: C LANGUAGE  Reply to #5457
  4981.  
  4982. Bently,
  4983.  
  4984. If your looking for a formal course, I would recommend the UW Extension's
  4985. course on (get this) The C Programming Language.  Usually runs each fall at
  4986. least on one campus in the MKE area.
  4987.  
  4988. - mwt -
  4989.  
  4990. >>>>>>>>>> Msg 5457 reply #4
  4991.  
  4992.    conf: PROGRAMMING LANGUAGES  #5479  06-28-88  21:04  (Read 103 times)
  4993.    from: BENTLY TURNER
  4994.      to: DEAN ROTH (Rcvd)
  4995. subject: R: R: C LANGUAGE  Reply to #5458
  4996.  
  4997. Hi Dean,
  4998.   Yes it's me from CGA inquiring about C.  You mentioned that you MicroSoft
  4999. C compiler.  Can you tell me how it differs from MicroSoft Quick C.  I've
  5000. gotten some literature about Quick C.  If you had the available products
  5001. that exist now to select from, which would you select?  You mentioned that
  5002. you occassionally teach C, when and where do you do this?
  5003.    I've checked around for local class on C and found that MATC is going
  5004. to offer a C programming course this fall.  They are using C on a mainframe
  5005. and the product is called Waterloo C.  Have you heard of this dialect of C?
  5006. If so, what can you tell me about it?
  5007.    
  5008.   
  5009. Thanks,
  5010.   
  5011. Bently Turner
  5012.   
  5013. P.S.  Where are you now?  I am currently awaiting assignment (BENCH).
  5014.   
  5015.  
  5016. >>>>>>>>>> Msg 5457 reply #5
  5017.  
  5018.    conf: PROGRAMMING LANGUAGES  #5480  06-28-88  21:13  (Read 102 times)
  5019.    from: BENTLY TURNER
  5020.      to: GRANT ELLSWORTH (Rcvd)
  5021. subject: R: R: C LANGUAGE  Reply to #5461
  5022.  
  5023. Hello Grant,
  5024.   Thanks for the feedback concerning selection of C compiler and books.
  5025. I am looking at Turbo C and MicroSoft Quick C as my possible choices. Like
  5026. you I plan to go mail order for my purchase.  You mentioned that you felt
  5027. Turbo C is a better starting point than Quick C. Can you elaborate Why?
  5028.   As far as the book titles you've mentioned, I am examining them with a
  5029. host of others.  I'll take my time evaluating them.  How does the text
  5030. that Borland sends with Turbo C rate? What types of books do you get, are
  5031. they pretty clear to understand, accurate, and contain good explanations,
  5032. and examples?
  5033.   I've learned that MATC will be offering a C Programming course this fall.
  5034. They are running C on a mainframe and are using something call Waterloo C.
  5035. I've heard of Waterloo Basic, but not C.
  5036.   How long have you spent learning C? Have you been doing it in self-study
  5037. mode or have you received any instruction.
  5038.   
  5039. Be Waiting To Hear From  You,
  5040.   
  5041.   
  5042. Bently Turner
  5043.  
  5044. >>>>>>>>>> Msg 5457 reply #6
  5045.  
  5046.    conf: PROGRAMMING LANGUAGES  #5481  06-28-88  21:20  (Read 102 times)
  5047.    from: BENTLY TURNER
  5048.      to: CHARLES PERRIN (Rcvd)
  5049. subject: R: R: C LANGUAGE  Reply to #5464
  5050.  
  5051. Hi Charles,
  5052.    Thanks for replying to my C message.  You indicated that you liked
  5053. MicroSoft Quick C because of debugging capabilities.  I've learned that
  5054. Turbo C is lacking the debugger.  How much does Turbo C's library differ
  5055. from Quick C? In terms of compiling faster how significant is t
  5056. difference? I too, have some of MicroSoft Press's publications and like
  5057. them alot.
  5058.    How long have you been programming in C and where did you learn? The
  5059. reason I ask is that I want to determine if I should consider teaching
  5060. myself and the debugging facility would be nice to have.
  5061.   
  5062.    Thanks again,
  5063.   
  5064.    Bently Turner
  5065.  
  5066. >>>>>>>>>> Msg 5457 reply #7
  5067.  
  5068.    conf: PROGRAMMING LANGUAGES  #5482  06-28-88  21:24  (Read 104 times)
  5069.    from: BENTLY TURNER
  5070.      to: MARK TELLIER (LEADER) (Rcvd)
  5071. subject: R: R: C LANGUAGE  Reply to #5469
  5072.  
  5073. Hello Mark,
  5074.   
  5075.   I went to check on C Programming course at U.W.- Extension and they did
  5076. not have anything indicating that the course would be offered again this
  5077. fall.  I went Downtown (was that the correct place to go?).  However, I
  5078. also went to MATC and found that they will be running a C programming
  5079. class this fall.  They will be using Waterloo C running off mainframe.
  5080.   Did you take course at U.W. - Extension or did you know someone who did?
  5081. Also does UW offer it each year?
  5082.   
  5083. Thanks,
  5084.   
  5085.     Bently Turner
  5086.  
  5087. >>>>>>>>>> Msg 5457 reply #8
  5088.  
  5089.    conf: PROGRAMMING LANGUAGES  #5484  06-29-88  02:29  (Read 109 times)
  5090.    from: DAVID NYE
  5091.      to: BENTLY TURNER (Rcvd)
  5092. subject: R: R: C LANGUAGE  Reply to #5479
  5093.  
  5094.   I don't think you will go wrong getting either Turbo C or Quick C.  The
  5095. main advantage of Quick C at the moment is that it has a debugger, but
  5096. Borland is apparently on the verge of releasing a debugger for Turbo C, and
  5097. there is a shareware one available (I haven't used it so I can't tell you
  5098. whether it's any good or not, but it's on this board somewhere).  Microsoft
  5099. C 5.1 is more than twice as expensive as either of the above packages and
  5100. probably isn't worth the extra bucks for a hobbyist or student.  You might
  5101. also look at Power C by Mix Software for only $19.95 with a debugger for
  5102. the same price available separately.  It is, according to their ad in the
  5103. July Byte, a full ANSI implementation.  Mark Williams Co.'s Let's C is
  5104. another good entry level choice for about $50 by mail order, nice debugger
  5105. included.
  5106.  
  5107. >>>>>>>>>> Msg 5457 reply #9
  5108.  
  5109.    conf: PROGRAMMING LANGUAGES  #5485  06-29-88  05:09  (Read 109 times)
  5110.    from: CHARLES PERRIN
  5111.      to: BENTLY TURNER (Rcvd)
  5112. subject: R: R: C LANGUAGE  Reply to #5481
  5113.  
  5114. I mainly taught myself C (the reason the debugger is so useful) although
  5115. I'm probably more of a BASIC programmer.... (if C only had a CRUN like
  5116. Basic had a BRUN....)
  5117.  
  5118. >>>>>>>>>> Msg 5457 reply #10
  5119.  
  5120.    conf: PROGRAMMING LANGUAGES  #5486  06-29-88  18:00  (Read 110 times)
  5121.    from: GRANT ELLSWORTH
  5122.      to: BENTLY TURNER (Rcvd)
  5123. subject: R: R: C LANGUAGE  Reply to #5480
  5124.  
  5125. Bently,  You are asking for the whole grocery store!  Well, let met try
  5126. to fill the order...
  5127.  
  5128. 1.  Why turboC pver QC for startup ...
  5129.  
  5130.      o More functions delivered with the product - graphics and
  5131.        directory manipulations
  5132.      o I preferred TC's integrated environment to QC's
  5133.      o More other utilities (MAKE, GREP, others)
  5134.      o ALL memory models fully supported
  5135.    
  5136.        This is particularly important if you have limited disk space,
  5137.        learning by developing small, but possibly useful programs,
  5138.        you want to learn the innards of the 80xxx architechture,
  5139.        etc.. QC does NOT support the much despised tiny model; TC
  5140.        finally got act together and made theirs work.  Tiny model
  5141.        programs may be stored as .COM files which take up less space
  5142.        on disk than .EXE files.
  5143.  
  5144.     o Why endorse MS products and contribute to their usurious pricing
  5145.       policies when equivalent products are available from other vendors
  5146.       at equal or lower prices?
  5147.  
  5148. 2.  Borland send 2 (3) books with the compiler, a general users guide,
  5149.     a reference manual, and (for v 1.5) an upgrade summary with reference
  5150.     gude to TC 1.5 functions (library functions, that is) - note, the 2nd
  5151.     book, the reference manual, is the library function reference guide;
  5152.     it also contains other useful DOS related info.
  5153.  
  5154.     THe user's guide helps you learn c by example IF you have worked with
  5155.     PASCAL - otherwise, it is NOT a guide to how to organize and write C
  5156.     programs.
  5157.  
  5158.     Whether you get QC or TC, you will need some kind of general C language
  5159.     programming guide - the lit i suggested to you will provide some of
  5160.     that.
  5161.  
  5162. 3.  The Borland books for TC 1.5 are slightly above average, in my opinion.
  5163.  
  5164.     The C Programming Guide by Purdom is the best of the one's I've spent
  5165.     time looking at.  But, there are some good TC and QC oriented books
  5166.     published by the Waite Group , among others, which may be more suited
  5167.     to your purposes.
  5168.  
  5169. 4.  Except for those books I've mentioned and 2 advanced reference manuals,
  5170.     I have not bought or borrowed C books.  I've done better getting
  5171.     general computer science books which don't go too far over my head -
  5172.     such as "Reliable Software through Composite Design" by Glenford Myers
  5173.     or books on Data Structures and Programming techniques.  The heavily
  5174.     mathematical and theorem-proof oriented texts loose me completely -
  5175.     and can make me want to return to my 1st profession - truck driving.
  5176.     And that's even tho I know I am out of shape for hauling heavy stuff
  5177.     around.
  5178.  
  5179. 5.  I learn C, or any other Computer Programming tool (language or cpu
  5180.     architecture) by self-discipline and self-study ... trying to apply
  5181.     what I think I've figured out to pratical problems at hand.  I prob-
  5182.     ably miss a lot of esoteric and obscure details that way, but I am able
  5183.     to focus on using the tool and learn what I need to know when I need to
  5184.     know it --- get something done a little faster that way.
  5185.  
  5186.     I've found that a good understanding of techniques and a willingness
  5187.     to translate from 1 language to another for implementation adds to
  5188.     one's flexibility and re-enforces one's ability to learn - that is,
  5189.     if you learn how to learn, then you can learn anything in a given
  5190.     specialty and more easily be prepared for change you cannot control.
  5191.  
  5192.     It took me about 2 mos. of after work / week-end time (120 hrs or less)
  5193.     to learn enough to crank out reasonably good and sometimes
  5194.     sophisticated C code - I borrowed concepts of programming constructs
  5195.     and data structure manipulation from thing I'd done or had seen done
  5196.     in other languages (from mainframe assembler to micro-pascal)
  5197.  
  5198. Waterloo group has been producing first class programming tools since the
  5199. early 70's.  I well remember how impressed I was with their Waterloo G
  5200. assembler for the IBM mainframe.  The Waterloo C compiler is supposed to
  5201. be a very good one for the VM/CMS (IBM Mainframe)/\.  I recently bought the
  5202. Waterloo WATCOM 6.0 c optimizing compilier for the PC.   See my remarks
  5203. elsewhere in this conference on WATCOM C, if you are interested.
  5204.  
  5205. I hope the full shopping bag here fills your order, sir.  Have  a good time
  5206. whatever you choose to do!  Grant
  5207.  
  5208. >>>>>>>>>> Msg 5457 reply #11
  5209.  
  5210.    conf: PROGRAMMING LANGUAGES  #5487  06-29-88  21:09  (Read 110 times)
  5211.    from: DEAN ROTH
  5212.      to: BENTLY TURNER (Rcvd)
  5213. subject: R: R: C LANGUAGE  Reply to #5479
  5214.  
  5215. Bently,
  5216.  
  5217. Quick C was a "freebee" with the Microsoft C 5.0 update.   I tried it and
  5218. threw it away.  I used the "integrated" environment and ran into too many
  5219. limitations. (When I program I want to code/compile/run, not be hassled by
  5220. the development software.)
  5221.  
  5222. If I was to select a DOS C compiler today, my first choice would be MS's
  5223. "optimizing" compiler.  It is the only one I suggest for business creating
  5224. creating PC software.  (The libraries are good enough that I've been able
  5225. to easily port PC software to UNIX and vice versa.)  The compiler has
  5226. caught errors that have slipped by other compilers (and programmers).
  5227.  
  5228. I have not used (or seen) Turbo C, so I cannot say anything about it.
  5229. It might be my second choice, if I knew more about it.
  5230. Many have said it is a great compiler/library.  Borland has not
  5231. yet (as far as I know) released a source code debugger.  I don't care about
  5232. source code debuggers, and don't use the MS's CodeView.  Usage of function
  5233. prototypes will prevent most errors, in my opinion.
  5234.  
  5235. The C classes I teach are not open to the public.  I am scheduled to
  5236. present an intro to C for CGA employees this fall.
  5237.  
  5238. For "serious" C programmers, I recommend you first learn assembly language.
  5239. I don't ask one to program in assembler, but learn processor architectures
  5240. and instruction sets.  But being able to read assembly language can help
  5241. one gain great insights about C.  (How many times have I debugged a problem
  5242. to determine the compiler screwed up?  Too many times.  I have not met a C
  5243. compiler that I cannot "break" with legal C.)
  5244.  
  5245. I don't recommend learning C using a mainframe - especially an IBM
  5246. mainframe.  Those systems have too many quirks that you have to deal with
  5247. besides handling a new language.  (I think Waterloo C runs on an IBM
  5248. mainframe. I may be wrong.)
  5249. -Dean
  5250.  
  5251. >>>>>>>>>> Msg 5457 reply #12
  5252.  
  5253.    conf: PROGRAMMING LANGUAGES  #5489  06-30-88  00:04  (Read 109 times)
  5254.    from: GRANT ELLSWORTH
  5255.      to: DEAN ROTH (Rcvd)
  5256. subject: R: R: C LANGUAGE  Reply to #5487
  5257.  
  5258. Dean, FYI on Waterloo C ... WatCom seems to have C-COmpilers for the IBM
  5259. Mainframe VM/CMS and MVS environments (going by name of Waterloo C); they
  5260. have also released WATCOM C 6.0 (and now 6.5, I see in a recent ad in CL).
  5261.  
  5262. The VM/CMS environment is not a real bad one to debug C (or other) programs
  5263. in.  It's not as nice as VAX/VMS w/SDA and DEBUG or MicroPC w/ many
  5264. debuggers.  But it is usable.  MVS is a mess from the rear of a different
  5265. horse.
  5266.  
  5267. In general, I've been quite impressed with the quality of Waterloo products
  5268. for several years.  ANd Watcom C for the IBM PC series produces very
  5269. acceptable results (optimized) -but its compile time is a bit too slow for
  5270. real use on a less than AT model.  See my remarks elsewhere in this
  5271. conference on Watcom C 6.0.  Grant
  5272.  
  5273. >>>>>>>>>> Msg 5457 reply #13
  5274.  
  5275.    conf: PROGRAMMING LANGUAGES  #5490  06-30-88  07:29  (Read 111 times)
  5276.    from: MARK TELLIER (LEADER)
  5277.      to: BENTLY TURNER (Rcvd)
  5278. subject: R: R: C LANGUAGE  Reply to #5482
  5279.  
  5280. I took the course at UW-Extension about 3 three years ago.  I know its been
  5281. run since then a number of times.  I now work at the same company as the
  5282. instructor of the course (at the time I took it).  I will ask him if he
  5283. knows about the offering of the course.
  5284.  
  5285. I remember seeing the course listing in the last year in the Milw. Journal
  5286. special section on education that they do every now and then.
  5287.  
  5288. I'll let you know.
  5289.  
  5290. - mwt -
  5291.  
  5292. >>>>>>>>>> Msg 5457 reply #14
  5293.  
  5294.    conf: PROGRAMMING LANGUAGES  #5495  06-30-88  19:14  (Read 117 times)
  5295.    from: DEAN ROTH
  5296.      to: GRANT ELLSWORTH (Rcvd)
  5297. subject: R: R: C LANGUAGE  Reply to #5489
  5298.  
  5299. Grant, or somebody, if you are a user of Turbo C, please check out the
  5300. Turbo C source code debugger that is in the Mahoney file section.  I do not
  5301. have TC and cannot evaluate the (non-Borland) debugger, but I'd like to
  5302. know what it is like, how it compares to Codeview, dbx, etc.
  5303. (I did not upload the file.  I received a copy via USENET.)  My (pk)arced
  5304. copy is about 3000 bytes smaller than the freshly uploaded version on EXEC
  5305. PC.
  5306. -Dean
  5307.  
  5308. >>>>>>>>>> Msg 5457 reply #15
  5309.  
  5310.    conf: PROGRAMMING LANGUAGES  #5505  07-01-88  20:56  (Read 114 times)
  5311.    from: DEAN ROTH
  5312.      to: GRANT ELLSWORTH (Rcvd)
  5313. subject: R: R: C LANGUAGE  Reply to #5503
  5314.  
  5315. Grant,
  5316.  The TC debugger I have is TCdebug version 1.01 by L. David Baldwin.
  5317.  
  5318. -Dean
  5319.  
  5320. >>>>>>>>>> Msg 5457 reply #16
  5321.  
  5322.    conf: PROGRAMMING LANGUAGES  #5506  07-01-88  21:30  (Read 114 times)
  5323.    from: PHIL KATZ
  5324.      to: GRANT ELLSWORTH (Rcvd)
  5325. subject: R: R: C LANGUAGE  Reply to #5489
  5326.  
  5327. Grant,
  5328.  
  5329. How would you say Watcom C's compile times are compared to
  5330. the MSC "cl" full-blown compiler compile times??
  5331.  
  5332. >Phil>
  5333.  
  5334. >>>>>>>>>> Msg 5457 reply #17
  5335.  
  5336.    conf: PROGRAMMING LANGUAGES  #5516  07-02-88  21:50  (Read 108 times)
  5337.    from: EDWARD MARCH
  5338.      to: PHIL KATZ (Rcvd)
  5339. subject: R: R: C LANGUAGE  Reply to #5506
  5340.  
  5341. Phil,
  5342.   See computer langauge june 1988 page 135 for a watcom c vs TC & MSC
  5343. review...  -- Ed --
  5344.  
  5345. >>>>>>>>>> Msg 5457 reply #18
  5346.  
  5347.    conf: PROGRAMMING LANGUAGES  #5517  07-02-88  21:57  (Read 106 times)
  5348.    from: EDWARD MARCH
  5349.      to: DEAN ROTH (Rcvd)
  5350. subject: R: R: C LANGUAGE  Reply to #5487
  5351.  
  5352. Hi Dean,
  5353.    Give Turbo C a try, it might make teaching easier it has a
  5354. great user interface too .... well worth the price -- $58 discount
  5355. I agree with you opiion on quick C...
  5356. --Ed
  5357.  
  5358. >>>>>>>>>> Msg 5457 reply #19
  5359.  
  5360.    conf: PROGRAMMING LANGUAGES  #5530  07-04-88  07:51  (Read 107 times)
  5361.    from: BENTLY TURNER
  5362.      to: DAVID NYE (Rcvd)
  5363. subject: R: R: C LANGUAGE  Reply to #5484
  5364.  
  5365. I've gotten literature on bothe MicroSoft Quick C and Turbo C. From what
  5366. I've read, it does seem like it is a toss-up as to which product to get.
  5367. I'm leaning toward Quick C because of it's debugger. I would like to have
  5368. that facility as an integrated part of the package. I will probably go
  5369. mail-order for it and am in the process of finding lowest possible price.
  5370.   
  5371. Thanks for your response,
  5372.   
  5373. Bently Turner
  5374.  
  5375. >>>>>>>>>> Msg 5457 reply #20
  5376.  
  5377.    conf: PROGRAMMING LANGUAGES  #5531  07-04-88  07:54  (Read 107 times)
  5378.    from: BENTLY TURNER
  5379.      to: CHARLES PERRIN (Rcvd)
  5380. subject: R: R: C LANGUAGE  Reply to #5485
  5381.  
  5382. I am gonna go with MicroSoft Quick C because of integrated debugger. I also
  5383. found that one of the local technical sools is offering a C programming
  5384. course this fall which I plan to enroll in.
  5385. You mentioned that you wish C had a CRUN like BASIC's BRUN (Why?)
  5386.   
  5387. Bently Turner
  5388.  
  5389. >>>>>>>>>> Msg 5457 reply #21
  5390.  
  5391.    conf: PROGRAMMING LANGUAGES  #5532  07-04-88  08:09  (Read 109 times)
  5392.    from: BENTLY TURNER
  5393.      to: GRANT ELLSWORTH (Rcvd)
  5394. subject: R: R: C LANGUAGE  Reply to #5486
  5395.  
  5396. Grant,
  5397.   Thanks for the indepth grocery list.........
  5398.   
  5399.   1) I have been comparing features of MicroSoft Quick C and Turbo C and
  5400.      I am leaning toward Quick C mainly because of debugging facility being
  5401.      integrated with it. I have plenty of disk space so space not an issue.
  5402.      You are correct when you say MicroSoft's pricing is a bit steep, but
  5403.      I've found that Turbo C tends to be more expensive (at least in the
  5404.      places I've looked which include mail-order houses).
  5405.      
  5406.   2) I have been reviewing many general purpose C programming language
  5407.      guides and have zeroed in on 2 or 3 which I will use to supplement
  5408.      the documentation with Quick C.  Before I actually purchase any of
  5409.      these I want to review the documentation that comes with the package
  5410.      so that I can make the best choice.
  5411.     
  5412.   3) One of the books I am looking at getting is from the WAITE Group. I
  5413.      agree that it does look like a good one to buy.
  5414.   
  5415.   4) I've found that one of the local technical schools is gonna offer a
  5416.      C programming class this fall. I plan on enrolling in the course. Of
  5417.      course I will also supplement class with my own self-study using my
  5418.      reference books as a source of learning.  In addition I will take
  5419.      some BASIC language programs that I have written and convert them to
  5420.      C. This exercise will help reinforce the various programming
  5421.      structures (i.e. Loops, Decision-making, Case, Subroutines, etc.).
  5422.    
  5423. I have yet to read your comments about Waterloo WATCOM C Compiler, but I
  5424. will and I'll let you know what I think.
  5425.   
  5426. Thanks for your assistance,
  5427.    
  5428. Bently Turner
  5429.  
  5430. >>>>>>>>>> Msg 5457 reply #22
  5431.  
  5432.    conf: PROGRAMMING LANGUAGES  #5534  07-04-88  08:23  (Read 111 times)
  5433.    from: BENTLY TURNER
  5434.      to: MARK TELLIER (LEADER) (Rcvd)
  5435. subject: R: R: C LANGUAGE  Reply to #5490
  5436.  
  5437. Mark,
  5438.   I appreciate you looking into the U.W. - Extension C Programming Course
  5439. for me. Anything you can find out about it will be a great help.  Can you
  5440. tell me if the course is/was geared at mainframe and PC computers? Do you
  5441. know which version of C language is/was being taught
  5442.   I will keep an eye open for Milwaukee Journal Listing like you said.
  5443. Thanks again.
  5444.   
  5445. Bently Turner
  5446.  
  5447. >>>>>>>>>> Msg 5457 reply #23
  5448.  
  5449.    conf: PROGRAMMING LANGUAGES  #5535  07-04-88  09:25  (Read 112 times)
  5450.    from: MARK TELLIER (LEADER)
  5451.      to: BENTLY TURNER (Rcvd)
  5452. subject: R: R: C LANGUAGE  Reply to #5534
  5453.  
  5454. Bently,
  5455.  
  5456. The guy at work that used to teach the course is gone next week.  I will
  5457. ask him what he knows about the C course at UW-Ext. when he returns 7/11.
  5458.  
  5459. - mwt -
  5460.  
  5461. >>>>>>>>>> Msg 5457 reply #24
  5462.  
  5463.    conf: PROGRAMMING LANGUAGES  #5536  07-04-88  18:07  (Read 109 times)
  5464.    from: CHARLES PERRIN
  5465.      to: BENTLY TURNER (Rcvd)
  5466. subject: R: R: C LANGUAGE  Reply to #5531
  5467.  
  5468. Because the BRUN has all the run-time and you don't have to put it into
  5469. every .EXE file.  It helps save disk space and keeps me using QuickBasic
  5470. a LOT....
  5471.  
  5472. >>>>>>>>>> Msg 5457 reply #25
  5473.  
  5474.    conf: PROGRAMMING LANGUAGES  #5537  07-04-88  23:45  (Read 106 times)
  5475.    from: GLEN THOMPSON
  5476.      to: CHARLES PERRIN (Rcvd)
  5477. subject: R: R: C LANGUAGE  Reply to #5536
  5478.  
  5479. Charles,
  5480.   
  5481. The comments about BRUN don't make a lot of sense to me.  The C library
  5482. modules aren't all that large (compared to Basic).  I always prefer having
  5483. a program in one module if possible since it prevents forgetting to copy
  5484. the runtime.  Have you ever copied a program for somebody and forgot to
  5485. copy BRUN.EXE too?   With C I only have to include those routines that I
  5486. need.  With Basic and BRUN you have to carry along the whole toolbox.  So
  5487. my simple little C utility might take only 5k of disk space.  If I've got
  5488. 20 of them on the disk I still haven't used up as much space as BRUN.
  5489.   
  5490. glen
  5491.  
  5492. >>>>>>>>>> Msg 5457 reply #26
  5493.  
  5494.    conf: PROGRAMMING LANGUAGES  #5539  07-05-88  04:50  (Read 107 times)
  5495.    from: CHARLES PERRIN
  5496.      to: GLEN THOMPSON (Rcvd)
  5497. subject: R: R: C LANGUAGE  Reply to #5537
  5498.  
  5499. Evidently your "simple little utilities" don't use floating point.
  5500. Two or three floating point processing modules (in either C or
  5501. Basic) is about the size of BRUN.
  5502.  
  5503. >>>>>>>>>> Msg 5457 reply #27
  5504.  
  5505.    conf: PROGRAMMING LANGUAGES  #5544  07-05-88  17:12  (Read 106 times)
  5506.    from: GRANT ELLSWORTH
  5507.      to: DEAN ROTH (Rcvd)
  5508. subject: R: R: C LANGUAGE  Reply to #5505
  5509.  
  5510. Dean,,, tcdebug v1.01 matches name and author or what I downloaded.  I'll
  5511. get back to you with comments asx soon as I can test it out.  The doc
  5512. suggests that it has many (if not most) of hte featurres in codeview. GE
  5513.  
  5514. >>>>>>>>>> Msg 5457 reply #28
  5515.  
  5516.    conf: PROGRAMMING LANGUAGES  #5545  07-05-88  17:25  (Read 106 times)
  5517.    from: GRANT ELLSWORTH
  5518.      to: PHIL KATZ (Rcvd)
  5519. subject: R: R: C LANGUAGE  Reply to #5506
  5520.  
  5521. Phil, based on the published stats and comparision of msc 4.0 to wc, I'd
  5522. say s--l--o--w--e--r (intolerably so on an 8086/8 4.77 mhz model - and
  5523. about acceptable on a 10 mhz 80286 model).  But, oh gawd, the generated
  5524. code for compute bound problems is soooo much faster!  I recommend that an
  5525. interested developer get TC or QC for quick development of the essentials
  5526. and use #defines / #ifdefs, etc., to accomodate some i/o function
  5527. and memory manipulation differences in name/argument parmater order.
  5528. Then when satisfied with the  results... set up a MAKE run , start it up,
  5529. turn off monitor, go to an all night party(or longer), sober up, sleep it
  5530. off, and then  the WCX code will be ready to run.   (I don't have access to
  5531. msc 5.0/1, so I can't be precise just yet on the difference in compile time
  5532. - I just had some exe code to compare the run results with) ,, Grant
  5533.  
  5534. >>>>>>>>>> Msg 5457 reply #29
  5535.  
  5536.    conf: PROGRAMMING LANGUAGES  #5546  07-05-88  17:36  (Read 109 times)
  5537.    from: GRANT ELLSWORTH
  5538.      to: BENTLY TURNER (Rcvd)
  5539. subject: R: R: C LANGUAGE  Reply to #5532
  5540.  
  5541. Bently, you aren't going wrong by choosing QC.  You may even find the
  5542. integrated debugger interesting and a learning aid.  For your info, on
  5543. price comparison, the Programmer's Connection in Columbus OH (or nearby),
  5544. was offering TC 1.5 for $64 on myh last check-out.  I have heard of prices
  5545. as low as $58.  Also,I think QC supports only the small model (or did) but
  5546. I'm not sure - check that out before you commit the $$$ - I found the
  5547. small model insufficient for even my learing experiments.  Grant
  5548.  
  5549. >>>>>>>>>> Msg 5457 reply #30
  5550.  
  5551.    conf: PROGRAMMING LANGUAGES  #5549  07-05-88  21:47  (Read 103 times)
  5552.    from: GLEN THOMPSON
  5553.      to: CHARLES PERRIN (Rcvd)
  5554. subject: R: R: C LANGUAGE  Reply to #5539
  5555.  
  5556. Charles,
  5557.   
  5558. If I really need floating point, I generate inline 80x87 code for it.  Much
  5559. faster and much smaller.
  5560.   
  5561. Don't you remember the comments about real programmers?  "Real Programmers
  5562. (Phil Katz) don't use floating point.  That's for stress freaks that write
  5563. in Fortran."
  5564.   
  5565. I do try to avoid floating point if possible.  Of course, it rarely comes
  5566. up in my work.
  5567.   
  5568. glen
  5569.  
  5570. >>>>>>>>>> Msg 5457 reply #31
  5571.  
  5572.    conf: PROGRAMMING LANGUAGES  #5552  07-05-88  22:51  (Read 110 times)
  5573.    from: BENTLY TURNER
  5574.      to: GRANT ELLSWORTH (Rcvd)
  5575. subject: R: R: C LANGUAGE  Reply to #5546
  5576.  
  5577. Yeah, I figured that selecting Quick C would not be a bad choice.  I just
  5578. think that the debugger would be interesting and useful as a learning aid.
  5579. What do you mean when you talk about the "small model"?
  5580.   
  5581. Be waiting to hear from you,
  5582.   
  5583. Bently
  5584.  
  5585. >>>>>>>>>> Msg 5457 reply #32
  5586.  
  5587.    conf: PROGRAMMING LANGUAGES  #5553  07-05-88  22:54  (Read 108 times)
  5588.    from: BENTLY TURNER
  5589.      to: MARK TELLIER (LEADER) (Rcvd)
  5590. subject: R: R: C LANGUAGE  Reply to #5535
  5591.  
  5592. Mark,
  5593.    Thanks for working at getting me some answers about UW-Ext C course.
  5594. Let me know when you get anything from your co-worker.
  5595.   
  5596. Bently
  5597.  
  5598. >>>>>>>>>> Msg 5457 reply #33
  5599.  
  5600.    conf: PROGRAMMING LANGUAGES  #5554  07-05-88  22:57  (Read 108 times)
  5601.    from: BENTLY TURNER
  5602.      to: CHARLES PERRIN (Rcvd)
  5603. subject: R: R: C LANGUAGE  Reply to #5536
  5604.  
  5605. Charles,
  5606.   Thanks for making me BRUN literate.  I am in processing of looking at
  5607. MicroSoft QuickBasic and I can see the value of it.
  5608.   
  5609. Bently
  5610.  
  5611. >>>>>>>>>> Msg 5457 reply #34
  5612.  
  5613.    conf: PROGRAMMING LANGUAGES  #5555  07-06-88  05:33  (Read 110 times)
  5614.    from: CHARLES PERRIN
  5615.      to: GRANT ELLSWORTH (Rcvd)
  5616. subject: R: R: C LANGUAGE  Reply to #5546
  5617.  
  5618.      cc: BENTLY TURNER
  5619.  
  5620. Grant and Bently Turner,
  5621.     In interactive development, QC supports only the MEDIUM model for
  5622. code (many code segments, one data segment).  In QCL (traditional compiler
  5623. mode), one may write in either SMALL, MEDIUM, COMPACT, or LARGE.  The only
  5624. thing is one module may use only 64K code and 64K data.
  5625. Perfect programmers can use TC and write HUGE arrays (64K per array, if I
  5626. remember right) or upgrade to MSC ($$$) and have debuggability....
  5627.  
  5628. >>>>>>>>>> Msg 5457 reply #35
  5629.  
  5630.    conf: PROGRAMMING LANGUAGES  #5556  07-06-88  05:36  (Read 109 times)
  5631.    from: CHARLES PERRIN
  5632.      to: GLEN THOMPSON (Rcvd)
  5633. subject: R: R: C LANGUAGE  Reply to #5549
  5634.  
  5635. Actually, I prefer doing floating-point math in scaled BCD arrays.
  5636. (How about 1,000,000 places on "e"?)  I did "pi" to 2048 places on
  5637. a CP/M machine with two floppies back in 1984....
  5638. I might get some time to work math as I'm going to get away from the
  5639. overtime for a while (until they decide they don't like the NEW
  5640. schedule....).
  5641.  
  5642. >>>>>>>>>> Msg 5457 reply #36
  5643.  
  5644.    conf: PROGRAMMING LANGUAGES  #5558  07-06-88  06:56  (Read 112 times)
  5645.    from: BOB BLAIR
  5646.      to: GRANT ELLSWORTH (Rcvd)
  5647. subject: R: R: C LANGUAGE  Reply to #5545
  5648.  
  5649.      cc: PHIL KATZ
  5650.  
  5651. Grant & Phil,
  5652.      This week's COMPUTERWORLD has a piece several paragraphs long
  5653. contending that LOTUS is switching to the WATCOM C compiler 'cause of the
  5654. more compact code primarily and also faster execution.  Claims benefits
  5655. from   7 - 30 %   in code size.  Guess LOTUS 3.0 needs it.
  5656.                           Bob
  5657.  
  5658. >>>>>>>>>> Msg 5457 reply #37
  5659.  
  5660.    conf: PROGRAMMING LANGUAGES  #5561  07-06-88  16:28  (Read 110 times)
  5661.    from: GRANT ELLSWORTH
  5662.      to: BENTLY TURNER (Rcvd)
  5663. subject: R: R: C LANGUAGE  Reply to #5552
  5664.  
  5665. Bently ...
  5666.  
  5667. >what do you mean when you talk about the "small model"?
  5668.  
  5669. I think that if I tried to answer that quewstion here, I'd be typing for a
  5670. good while.  What I suggest you do is look at the TC and/or MSC books on
  5671. book store shelves and quickly scan the sections on memory models.  It
  5672. should make sense.  Unless some of our colleagues here have a good quick
  5673. hip-pocket explanation they'd like to take a crack at presenting ... Grant]
  5674.  
  5675. >>>>>>>>>> Msg 5457 reply #38
  5676.  
  5677.    conf: PROGRAMMING LANGUAGES  #5562  07-06-88  16:30  (Read 110 times)
  5678.    from: GRANT ELLSWORTH
  5679.      to: CHARLES PERRIN (Rcvd)
  5680. subject: R: R: C LANGUAGE  Reply to #5555
  5681.  
  5682. Charles, thanks for the clarification on the QC integrated environment
  5683. limitations.  TC does NOT suffere in that regard.  And we could debate the
  5684. improtance of a debugger indefinitely with no resolution.  Grant
  5685.  
  5686. >>>>>>>>>> Msg 5457 reply #39
  5687.  
  5688.    conf: PROGRAMMING LANGUAGES  #5565  06-06-88  23:20  (Read 112 times)
  5689.    from: BENTLY TURNER
  5690.      to: CHARLES PERRIN (Rcvd)
  5691. subject: R: R: C LANGUAGE  Reply to #5555
  5692.  
  5693. Thanks for insight into Quick C model support. Good technical stuff to be
  5694. aware of.
  5695.   
  5696. Bently
  5697.  
  5698. >>>>>>>>>> Msg 5457 reply #40
  5699.  
  5700.    conf: PROGRAMMING LANGUAGES  #5566  06-06-88  23:21  (Read 114 times)
  5701.    from: BENTLY TURNER
  5702.      to: GRANT ELLSWORTH (Rcvd)
  5703. subject: R: R: C LANGUAGE  Reply to #5561
  5704.  
  5705. I'll take your advice and scan sections on memory models for C programming.
  5706.  
  5707. Bently
  5708.  
  5709. >>>>>>>>>> Msg 5457 reply #41
  5710.  
  5711.    conf: PROGRAMMING LANGUAGES  #5567  06-06-88  23:57  (Read 115 times)
  5712.    from: EDWARD MARCH
  5713.      to: DEAN ROTH (Rcvd)
  5714. subject: R: R: C LANGUAGE  Reply to #5543
  5715.  
  5716. Dean,
  5717.   Yes I agree I'd like to see Borland get into the unix mrket too.
  5718. I personally think os/2 will be a flop, and ms-dos 4.0 or 5.x
  5719. or a third party product will take over in the next few years
  5720. CL july has a neat article "WHY OS/2 WILL FAIL!"
  5721. I agreed before reading it too....
  5722.  I personally like to see a unix and vms os, each have there
  5723. own problems unix is old and no thought was put in for windows etc...
  5724. MAC has the windows with a poor OS, but a nice user interface,
  5725. -some day some one will get it all together !
  5726. c-ya
  5727. -Ed
  5728.  
  5729. >>>>>>>>>> Msg 5457 reply #42
  5730.  
  5731.    conf: PROGRAMMING LANGUAGES  #5581  07-07-88  02:21  (Read 118 times)
  5732.    from: GLEN THOMPSON
  5733.      to: CHARLES PERRIN (Rcvd)
  5734. subject: R: R: C LANGUAGE  Reply to #5556
  5735.  
  5736. Charles,
  5737.   
  5738. One correction on C memory models.  Large models can have elements (arrays,
  5739.  structures, etc) up to 64k.  In the Huge model, they can be any size.
  5740.   
  5741. glen
  5742.  
  5743. >>>>>>>>>> Msg 5457 reply #43
  5744.  
  5745.    conf: PROGRAMMING LANGUAGES  #5582  07-07-88  07:50  (Read 118 times)
  5746.    from: CHARLES PERRIN
  5747.      to: GLEN THOMPSON (Rcvd)
  5748. subject: R: R: C LANGUAGE  Reply to #5581
  5749.  
  5750. Large is even better than I had it....
  5751.  
  5752. >>>>>>>>>> Msg 5457 reply #44
  5753.  
  5754.    conf: PROGRAMMING LANGUAGES  #5591  07-08-88  21:50  (Read 124 times)
  5755.    from: GRANT ELLSWORTH
  5756.      to: DEAN ROTH (Rcvd)
  5757. subject: R: R: C LANGUAGE  Reply to #5505
  5758.  
  5759. Dean, re: TCDEB101 .. Codeview has richer functionality and fancier
  5760. screens.  TCDEBUG, however, seems quite usable and does have many of the
  5761. same functions/features found in codeview.  Ihaven't had the time or the
  5762. appropriate problem, yet, to give it a thorough shakedown.  I've either
  5763. gone primitive with debugging via printf stmts, or have compiled with asm
  5764. source output and run am/link results into codeview/symdeb which I got with
  5765. my masm 5.0.  I am more adept at using symdebug than codeview right now.
  5766. It is kinda crude, but it does work.  Grant
  5767.  
  5768. >>>>>>>>>> Msg 5457 reply #45
  5769.  
  5770.    conf: PROGRAMMING LANGUAGES  #5592  07-08-88  21:54  (Read 124 times)
  5771.    from: GRANT ELLSWORTH
  5772.      to: BOB BLAIR (Rcvd)
  5773. subject: R: R: C LANGUAGE  Reply to #5558
  5774.  
  5775. Bob, It's no joke --- Watcom C Optimizing Compiler seems to do the best
  5776. optimizing job of any of the available commercial compilers.  I've sen this
  5777. with the code I've passed thru it.  Now, for ful utility, Lotus must have a
  5778. lot of 286 or 386 machines with 10+ Mhz to do their compiles.  WC on this
  5779. plain old pc just does not make it.  Grant
  5780.  
  5781. >>>>>>>>>> Msg 5457 reply #46
  5782.  
  5783.    conf: PROGRAMMING LANGUAGES  #5606  07-11-88  07:55  (Read 111 times)
  5784.    from: BOB BLAIR
  5785.      to: GRANT ELLSWORTH (Rcvd)
  5786. subject: R: R: C LANGUAGE  Reply to #5592
  5787.  
  5788. Grant,  ow all I have to do is move to LOTUS hq and pick up their "old"
  5789. MS 5.1 compilers and I'm in business.
  5790.                           Bob
  5791.  
  5792. >>>>>>>>>> Msg 5457 reply #47
  5793.  
  5794.    conf: PROGRAMMING LANGUAGES  #5616  07-11-88  23:39  (Read 111 times)
  5795.    from: MARK TELLIER (LEADER)
  5796.      to: BENTLY TURNER (Rcvd)
  5797. subject: R: R: C LANGUAGE  Reply to #5553
  5798.  
  5799. Bently,
  5800.  
  5801. I checked on the UW-Ext. course with the guy at work.  IT is INDEED being
  5802. offered this FALL regardless of what you heard.  You need to call Sandy
  5803. at the downtown UW-Ext. office, let me find a number .......  try
  5804. 227-3175.  If you don't get anywhere with that, give Mike Wagner a call at
  5805. 274-4230.  He is the person who teaches the course.  He will be able to get
  5806. the information for you, if its not available elsewhere.
  5807.  
  5808. - mwt -
  5809.  
  5810. >>>>>>>>>> Msg 5457 reply #48
  5811.  
  5812.    conf: PROGRAMMING LANGUAGES  #5624  07-12-88  22:36  (Read 111 times)
  5813.    from: GRANT ELLSWORTH
  5814.      to: BOB BLAIR (Rcvd)
  5815. subject: R: R: C LANGUAGE  Reply to #5606
  5816.  
  5817. Bob, yep!  good idea!  And ship me an extra.  I love experimenting with
  5818. soon-to-be-archaic overpriced software ... Grant
  5819.  
  5820. >>>>>>>>>> Msg 5457 reply #49
  5821.  
  5822.    conf: PROGRAMMING LANGUAGES  #5667  07-15-88  20:04  (Read 106 times)
  5823.    from: BENTLY TURNER
  5824.      to: MARK TELLIER (LEADER) (Rcvd)
  5825. subject: R: R: C LANGUAGE  Reply to #5616
  5826.  
  5827. Mark,
  5828.   Thank you for checking on the UW-EXT C Programming Course.  I will be
  5829. following up by calling the numbers you gave me.  I will keep you posted
  5830. as to my progress.
  5831.    
  5832.    Bently
  5833.  
  5834. >>>>>>>>>> Msg 5457 reply #50
  5835.  
  5836.    conf: PROGRAMMING LANGUAGES  #5845  08-02-88  21:59  (Read 108 times)
  5837.    from: MARK TELLIER (LEADER)
  5838.      to: BENTLY TURNER (Rcvd)
  5839. subject: R: R: C LANGUAGE  Reply to #5667
  5840.  
  5841. Bently,
  5842.  
  5843. I noticed that Marquette is offering a course titled "Introduction to 'C'
  5844. Programming".  It was listed in a special section for MU in this Sunday's
  5845. paper.  The class run 8 Wednesdays, Oct. 19th to Dec. 14th.  Cost is (by my
  5846. opinion) a little high:  $265 or $243 if registered before Oct. 14th.
  5847.  
  5848. Fee includes in class lab time, floppy disks and materials.
  5849.  
  5850. Meets from 3:30 to 6pm, which makes is tough for any one with a normal job.
  5851.  
  5852. Course No. is BL965 and is worth 2.0 CEU's.
  5853.  
  5854. As an aside, I just finished my MSEE degree at MU and have anything but
  5855. good recommendations about their MS program.  Night classes and/or
  5856. undergrad studies may be different, but I can't speak to these.
  5857.  
  5858. - mwt -
  5859.  
  5860. >>>>>>>>>> Msg 5457 reply #51
  5861.  
  5862.    conf: PROGRAMMING LANGUAGES  #5846  08-02-88  23:09  (Read 109 times)
  5863.    from: BENTLY TURNER
  5864.      to: MARK TELLIER (LEADER) (Rcvd)
  5865. subject: R: R: C LANGUAGE  Reply to #5845
  5866.  
  5867. Mark,
  5868.   It's good to hear from you...I got the information concerning the C
  5869. Programming Course at U.W.M. It is being offered this fall on Tuesday
  5870. evenings. I also talked to Mike Wagner and he gave me the scoop on the
  5871. class.  Thanks for the help in obtaining the information.  I will be
  5872. registering for the course in the next couple of weeks.
  5873.   So you attended Marquette's MS Program.  What is your opinion of it? I'd
  5874. be interested to hear it.
  5875.   
  5876.   Bently Turner
  5877.  
  5878. >>>>>>>>>> Msg 5457 reply #52
  5879.  
  5880.    conf: PROGRAMMING LANGUAGES  #5852  08-03-88  23:35  (Read 102 times)
  5881.    from: MARK TELLIER (LEADER)
  5882.      to: BENTLY TURNER (Rcvd)
  5883. subject: R: R: C LANGUAGE  Reply to #5846
  5884.  
  5885. Bently,
  5886.  
  5887. Re:  MU's MS Program.
  5888.  
  5889. My mom alway told me that if I had nothing good to say, then don't say
  5890. anything at all.  So about me MSEE degree . . .
  5891.  
  5892. - mwt -
  5893.  
  5894. >>>>>>>>>> Msg 5457 reply #53
  5895.  
  5896.    conf: PROGRAMMING LANGUAGES  #5856  08-04-88  07:30  (Read 102 times)
  5897.    from: BENTLY TURNER
  5898.      to: MARK TELLIER (LEADER) (Rcvd)
  5899. subject: R: R: C LANGUAGE  Reply to #5852
  5900.  
  5901. Yes, I guess your mother knows best
  5902.  
  5903. >>>>>>>>>> Msg 5457 reply #54  >>>Last msg in reply thread.
  5904. Returning to normal sequence.
  5905.  
  5906.    conf: PROGRAMMING LANGUAGES  #5462  06-24-88  23:25  (Read 104 times)
  5907.    from: GRANT ELLSWORTH
  5908.      to: ALL
  5909. subject: WATCOM C 6.0 WOW!
  5910.  
  5911. I recently got  WATCOM C 6.0.  While I did not find the  degree of
  5912. optization as powerful as the Computer Lang. and PCTJ articles say , I have
  5913. und it producing tighter (smaller) code and faster code for many, but not
  5914. all of  the functions listed in the CL articles.  However, I am using a
  5915. plain vanilla 4.7 mhz 8088 IBM PC - no 80286 or  co-processor.  Interesting
  5916. thing is that the Dhrystone test in TC and WatcomC optimizer are running at
  5917. about the same speed and TC is smaller.  WCEXP is not worth dealing with
  5918. against TC1.5.
  5919.  
  5920. The tests I have run all show consistently better performance (tight and
  5921. speeed) than MS 4.0 and 5.0.  And it costs much less (right now).
  5922.  
  5923. Have any of you experimented with WatcomC 6.0 yet?  If so, do you have any
  5924. comments?  Grant
  5925. ---------------
  5926.  
  5927.    conf: PROGRAMMING LANGUAGES  #5466  06-25-88  21:18  (Read 100 times)
  5928.    from: BRUCE SHERMAN
  5929.      to: THOMAS ATKINSON (Rcvd)
  5930. subject: R: R: TP3.00 MEM AVAIL?  Reply to #5459
  5931.  
  5932. Thanks very much for the lead on finding a free RAM program, with
  5933. Turbopascal source.  The file was downloaded, and modified, last night.  It
  5934. now
  5935. does exactly what I needed.  Thanks again!
  5936. ---------------
  5937.  
  5938.    conf: PROGRAMMING LANGUAGES  #5468  06-25-88  22:30  (Read 102 times)
  5939.    from: GREGORY JONES
  5940.      to: ALL
  5941. subject: MICROSOFT C 5.1
  5942.  
  5943. Can anyone tell me why the mouse driver (mouse.com version 6.13 dtd 3-7-88)
  5944. does not remove itself from memory when I enter mouse off <CR>.  My
  5945. previous mouse driver did (rsion 6.11 dtd 2-1-88).
  5946. ---------------
  5947.  
  5948.    conf: PROGRAMMING LANGUAGES  #5470  06-26-88  07:00  (Read 102 times)
  5949.    from: BRUCE SHERMAN
  5950.      to: ALL
  5951. subject: DISABLE CNTRL+BRK?
  5952.  
  5953. This might be a really simple question for you to answer . . .
  5954. how can I disable control + c   or   control + break,  from
  5955. breaking out of a batch file?
  5956. ---------------
  5957.  
  5958.    conf: PROGRAMMING LANGUAGES  #5472  06-26-88  11:20  (Read 101 times)
  5959.    from: GRANT ELLSWORTH
  5960.      to: ALL
  5961. subject: MORE ON WATCOMC 6.0
  5962.  
  5963. Another interesting, if not disappointing, note on WatcomC 6.0 - optimizing
  5964. compiler ...  While the optimization is very good, and in all functions
  5965. except vanilla i/o, code execution time is better than any of the others I
  5966. have tested it with, the Optimization Compile / Link time is UNACCEPTABLY
  5967. SLOW on a plain 8088 4.77 mhz pc.  To wit:  a Module with 370 lines with no
  5968. special calls to other than stnd library functions required 25 minutes ++
  5969. to compile, optimize, and link.  Fo me, this means it will require about 10
  5970. hrs on my 8088 pc/xt to compile, optimize, and link a large s/w system I am
  5971. experimenting with.  That does NOT go down well.  I have yet to try it out
  5972. on a 10 mhz 80286 system which I have available.  It may be that the
  5973. WatcomC Optimization system will only be useful and timely for major
  5974. systems compilation, optimization, and link, etc.. on 80286/80386 pc's.
  5975. Can we consider the old-line 8088 pc's dead territory for serious amatuer
  5976. s/w development now?  GE
  5977. ---------------
  5978.  
  5979.    conf: PROGRAMMING LANGUAGES  #5473  06-26-88  13:58  (Read 101 times)
  5980.    from: JOHN GRANT
  5981.      to: GRANT ELLSWORTH (Rcvd)
  5982. subject: R: MORE ON WATCOMC 6.0  Reply to #5472
  5983.  
  5984. Yes.
  5985.  
  5986. >>>>>>>>>> Msg 5472 reply #1  >>>Last msg in reply thread.
  5987. Returning to normal sequence.
  5988.  
  5989.    conf: PROGRAMMING LANGUAGES  #5475  06-27-88  05:13  (Read 99 times)
  5990.    from: BRUCE SHERMAN
  5991.      to: ALL
  5992. subject: PAINTING SCREENS
  5993.  
  5994. I am writing a program for mass distribution.  I want its opening screen
  5995. to be a little "flashy," by using CGA as well as EGA graphics.  What
  5996. programss, which are ShareWare, and which can be learned quickly, are
  5997. availableble to "paint" an opening screen for a Turbopascal 3.0 program?
  5998. ---------------
  5999.  
  6000.    conf: PROGRAMMING LANGUAGES  #5689  07-17-88  10:20  (Read 93 times)
  6001.    from: LEE THOMPSON
  6002.      to: BRUCE SHERMAN (Rcvd)
  6003. subject: R: PAINTING SCREENS  Reply to #5475
  6004.  
  6005. Bruce,
  6006. There are a couple of ways you can go about creating screens and screen
  6007. displays in your Turbo Pascal programs.  One drawing program you can use to
  6008. draw up a screen is TheDraw.  It's a shareware program in the Mahoney
  6009. Collection.  I've tried most of them out and find that this one is of the
  6010. most use.  The latest version comes with come pascal code that allows you
  6011. to read the drawings you create into your program to be displayed when you
  6012. need them.  TheDraw is for ANSI graphic screens.
  6013. Another way of going about creating screens is with the Turbo Boosters set
  6014. of utilities.  Boosters is a set of utilitties that let you write some
  6015. reaally flashy programs.  Instant screen writes, move around and display
  6016. blocks of video memory, create screens on the heap memory for instant
  6017. display without any snow on CGA monitors. Plus a whole lot more.  I've
  6018. upgraded to Turbo 4 and the Turbo 4 version of Boosters.  If you are
  6019. interested in Boosters for Turbo 3 let me know as I no longer need that
  6020. version.
  6021. I uploaded the 1988 and 1987 schedule for the Milwaukee Brewers Baseball
  6022. team.  All the screen displays were done with the screen creating program
  6023. in Boosters and displayed with Booster utilitys.  Download either one to
  6024. get an idea of the kinds of things you can do.  I can't remember the file
  6025. names used but if you can't come up with them I will.
  6026.  
  6027. -Lee
  6028.  
  6029. >>>>>>>>>> Msg 5475 reply #1  >>>Last msg in reply thread.
  6030. Returning to normal sequence.
  6031.  
  6032.    conf: PROGRAMMING LANGUAGES  #5488  06-29-88  21:36  (Read 106 times)
  6033.    from: DEAN ROTH
  6034.      to: BENTLY TURNER (Rcvd)
  6035. subject: R: R: C LANGUAGE  Reply to #5482
  6036.  
  6037. Bently,
  6038.  
  6039. Another random thought:
  6040.  
  6041. Why buy a compiler?  Public access UNIX systems exist.  Some charge a fee,
  6042. some do not.  I uploaded a list of some public access UNIX systems to the
  6043. UNIX file section.  With a terminal (or PC) and modem, one can have access
  6044. to a C compiler and UNIX.  Learning C on a system with memory management is
  6045. better, in my humble opinion. A wild pointer may mysteriously crash a PC
  6046. program, and the PC, but will probably generate a segmentation or bus error
  6047. on a computer with memory management hardware, resulting in the program
  6048. being aborted, but not a crashed system.
  6049.  
  6050. I have an account on a public access UNIX system.  You have not seen
  6051. conferencing until you see USENET - the UNIX news/confernece network. There
  6052. must be 500 or so conferences on EVERY topic, some even having to do with
  6053. computers 8-)
  6054.  
  6055. -Dean
  6056. ---------------
  6057.  
  6058.    conf: PROGRAMMING LANGUAGES  #5491  06-30-88  08:15  (Read 104 times)
  6059.    from: GEORGE KOFMAN
  6060.      to: JOHN GRANT (Rcvd)
  6061. subject: REAL DBMS
  6062.  
  6063. Would the REAL DBMS please stand up!
  6064.  
  6065.  
  6066. John,
  6067.  
  6068. something I read in the MIS Week(?):
  6069. Oracle and Wordtech systems to release a version of Wordtech's dBASE III+
  6070. compiler to include Oracle's SQL and Oracle's connectivity with remote
  6071. databases. This will blow A/T dBASE IV out of the water before it is even
  6072. released.
  6073. Did you read/see anything regarding this new product?
  6074.  
  6075. Is QS written by Wordtech systems?
  6076.  
  6077. George.
  6078. ---------------
  6079.  
  6080.    conf: PROGRAMMING LANGUAGES  #5494  06-30-88  13:44  (Read 112 times)
  6081.    from: JOHN GRANT
  6082.      to: GEORGE KOFMAN (Rcvd)
  6083. subject: R: REAL DBMS  Reply to #5491
  6084.  
  6085. Yes, and Wordtech has been hinting around at this in its newsletters for
  6086. some time now.
  6087.  
  6088. No serious database developer I know is holding his breath for dBASE IV.
  6089. The compiler market passed Ashton Tate by two years ago.  What can they do
  6090. short of breaking down and creating their own compiler to get back on top?
  6091.  
  6092. >>>>>>>>>> Msg 5491 reply #1  >>>Last msg in reply thread.
  6093. Returning to normal sequence.
  6094.  
  6095.    conf: PROGRAMMING LANGUAGES  #5496  06-30-88  23:15  (Read 109 times)
  6096.    from: DAVE KOCOL
  6097.      to: ALL
  6098. subject: NEED ADVICE ON PASCAL
  6099.  
  6100.      cc: SYSOP
  6101.      cc: MARK TELLIER
  6102.      cc: JUDY GETTS
  6103.  
  6104. Help,
  6105.  
  6106. I'm fairly new at computing and could use some advice from someone who
  6107. knows. I've recently completed a course in FORTRAN (a rather basic one) and
  6108. have a pretty good understanding of it. I've heard great things about
  6109. PASCAL and am interested in learning the language. I've got an opportunity
  6110. to buy Borland Turbo Pascal, and a Tubro Pascal tutor for about $50.00
  6111. (Turbo is version 3.0).
  6112.  
  6113. I have two questions:
  6114.  
  6115. Will a FORTRAN background sufficiently prepare me to get into PASCAL,
  6116. and,
  6117. Is $50.00 a fair price for the above disks (with doc's), or if not what is
  6118. the latest version, and what is it going for?
  6119.  
  6120. Your time in mulling over my situation is greatly appreciated.
  6121.  
  6122. Dave
  6123. ---------------
  6124.  
  6125.    conf: PROGRAMMING LANGUAGES  #5497  07-01-88  00:33  (Read 108 times)
  6126.    from: GARY EIDE
  6127.      to: DAVE KOCOL (Rcvd)
  6128. subject: R: NEED ADVICE ON PASCAL  Reply to #5496
  6129.  
  6130. Dave,
  6131. Turbo Pascal 3.0 is one step behind.  The current version is 4.0.  The 4.0
  6132. is a definite improvement over 3.0.  The 4.0 version is running $65 to buy
  6133. it from a mail order firm.  In fact as I recollect I paid $60 for it
  6134. locally thru Micro Magic here in Menomenee Falls.  So if I were you I would
  6135. get the 4.0.
  6136.    Gary
  6137.  
  6138. >>>>>>>>>> Msg 5496 reply #1
  6139.  
  6140.    conf: PROGRAMMING LANGUAGES  #5498  07-01-88  13:48  (Read 107 times)
  6141.    from: SYSOP
  6142.      to: DAVE KOCOL (Rcvd)
  6143. subject: R: NEED ADVICE ON PASCAL  Reply to #5496
  6144.  
  6145. I cannot advise you on the price or version question, although $50 sounds
  6146. like a great price if it is a late version of Turbo Pascal.
  6147.  
  6148. I can tell you that Fortran is an excellent stepping stone for working your
  6149. way into Pascal.  May people have used Turbo Pascal and its tutorial as
  6150. their very first computing language.  That means any prior experience is a
  6151. plus.
  6152.  
  6153. Personally, my first language was Ditran, a simply interpreted version of
  6154. Fortran in 1973.  Then the college class moved on to standard Fortran.  I
  6155. have found the Fortran experience to be an excellent basis for my use of
  6156. other computer languages.  Fortran has nice structures and syntax that are
  6157. quite similar to the concepts you will find in other friendly languages
  6158. like Pascal and Basic.  I have never felt that my Fortran experience was a
  6159. waste of time.
  6160. bob
  6161.  
  6162. >>>>>>>>>> Msg 5496 reply #2
  6163.  
  6164.    conf: PROGRAMMING LANGUAGES  #5499  07-01-88  14:49  (Read 106 times)
  6165.    from: MARK TELLIER (LEADER)
  6166.      to: DAVE KOCOL (Rcvd)
  6167. subject: R: NEED ADVICE ON PASCAL  Reply to #5496
  6168.  
  6169. Dave
  6170.  
  6171. I learned Basic and Fortran before I learned Pascal.  I picked up Pascal
  6172. from reading a book and having access to a compiler.  In my opinion, Pascal
  6173. is best described as an organized combination of Basic and Fortran.
  6174. Version 3.0 of TP is and old version.  If the $50.00 includes both the
  6175. compiler and the tutor, that is a real good deal (if the 3.0 compiler is
  6176. upgradable, i.e., its not the left over from some one else's upgrade).
  6177. Otherwise, I think buying new is the best way to go.  TP v4.0 is about
  6178. $65.00 (maybe less) mail order.  The tutor is about the same if my memory
  6179. serves me right.  You'll probably buy the latest TP if you get into it, and
  6180. the total cost for the non-upgradable and the cost of a new TP v4.0 are
  6181. about the same.  It depends on what you think will result from your
  6182. endeavor.
  6183.  
  6184. - mwt -
  6185.  
  6186. >>>>>>>>>> Msg 5496 reply #3
  6187.  
  6188.    conf: PROGRAMMING LANGUAGES  #5500  07-01-88  15:25  (Read 113 times)
  6189.    from: JUDY GETTS
  6190.      to: DAVE KOCOL (Rcvd)
  6191. subject: R: NEED ADVICE ON PASCAL  Reply to #5496
  6192.  
  6193. Dave,
  6194.  
  6195. Yeah, Fortran is certainly an adequate preparation for learning
  6196. Pascal.  In fact ... you might even want to skip Pascal and jump
  6197. into C.  You can get Borland C for not much more than the Pascal
  6198. ($67).  The current version of Turbo Pascal is 4.0.  Whether or not
  6199. 3.0 and the tutor are a good deal will depend on how good that Pascal
  6200. tutor is.  Probably not very good.  (I personally never like software
  6201. tutors.)
  6202.  
  6203. My advice is skip the Pascal, get a copy of Borland C for $67.
  6204. (By the way, version 4.0 of Turbo Pascal also sells for $67 from
  6205. PC Connection.)
  6206.  
  6207. Judy
  6208.  
  6209. >>>>>>>>>> Msg 5496 reply #4
  6210.  
  6211.    conf: PROGRAMMING LANGUAGES  #5501  07-01-88  16:15  (Read 106 times)
  6212.    from: JAMES SABATKE
  6213.      to: JUDY GETTS (Rcvd)
  6214. subject: R: R: NEED ADVICE ON PAS  Reply to #5500
  6215.  
  6216.      cc: DAVE KOCOL
  6217.  
  6218. Judy,
  6219.  
  6220.   I've not heard many folks that would recommend learning 'C' without a
  6221. good foundation in a "HIGHLY STRUCTURED" language like Pascal.  The
  6222. discipline enforced in a STRONGLY TYPED language like Pascal is essential
  6223. in mastering 'C'.  First you learn the rules of structure and only then
  6224. should you learn to break them.
  6225.  
  6226. Jim
  6227.  
  6228. >>>>>>>>>> Msg 5496 reply #5
  6229.  
  6230.    conf: PROGRAMMING LANGUAGES  #5504  07-01-88  20:10  (Read 104 times)
  6231.    from: GRANT ELLSWORTH
  6232.      to: JAMES SABATKE (Rcvd)
  6233. subject: R: R: NEED ADVICE ON PAS  Reply to #5501
  6234.  
  6235.      cc: JUDY GETTS
  6236.      cc: DAVE KOCOL
  6237.  
  6238. Jim, I agree wholeheatedly with your observation.  Judy, you are possibly a
  6239. genius for pgmg languages --- and you may be overestimating the novice's
  6240. ability to get onto C ... fast.
  6241.  
  6242. FOrtran is not a bad place to jump to PASCAL from.  I jumped in from faded
  6243. memories of Pascal's ancestor, ALGOL 61.  It wasn't hard.  While I view
  6244. BASIC as an expletive which should have been deleted long ago, that, too,
  6245. is not a bad place to jump to pascal from.  Best place to jumpt to C from
  6246. is from both pascal (or PL/I if you do heavy metal) and assemblers for at
  6247. least 2 different machine architectures/  Without both, trying C as a start
  6248. point will not be easy ,, ,and at least half the power will fly right by.
  6249.  
  6250. I do agree with Judy --- TC is a good buy for the price!  Grant
  6251.  
  6252. >>>>>>>>>> Msg 5496 reply #6
  6253.  
  6254.    conf: PROGRAMMING LANGUAGES  #5600  07-10-88  17:26  (Read 111 times)
  6255.    from: CURTIS ABRUE
  6256.      to: JUDY GETTS (Rcvd)
  6257. subject: R: R: NEED ADVICE ON PAS  Reply to #5500
  6258.  
  6259.      cc: DAVE KOCOL
  6260.  
  6261.      If you don't mind my jumping in here, I tried the Turbo Tutor
  6262. and it was really helpful.  I'm just getting my feet wet and after
  6263. months of not understanding TP, I finally had to admit that I was
  6264. wasting my time without the Turbo Tutor.
  6265.      i just completed writing my first mini-program, 15K and it's
  6266. only been 3 weeks since buying Tutor.
  6267.      
  6268.  
  6269. >>>>>>>>>> Msg 5496 reply #7
  6270.  
  6271.    conf: PROGRAMMING LANGUAGES  #5602  07-10-88  23:10  (Read 111 times)
  6272.    from: DAVE KOCOL
  6273.      to: CURTIS ABRUE (Rcvd)
  6274. subject: R: R: NEED ADVICE ON PAS  Reply to #5600
  6275.  
  6276.      cc: JUDY GETTS
  6277.  
  6278. Curtis,
  6279.  
  6280. As things turned out, I took the plunge and got my Turbo Tutor, and the 3.0
  6281. version of Turbo Pascal. I have a friend who will lend me his version of
  6282. 4.0 should I ask him to borrow it. It appears that 3.0 will keep me busy
  6283. until I master it, so I feel that your advice (and my action) was good
  6284. thinking, in my situation. Thanks for responding. If you write some modules
  6285. that you wish to share, feel free, as I'll do the same.
  6286.  
  6287. Dave
  6288.  
  6289. >>>>>>>>>> Msg 5496 reply #8  >>>Last msg in reply thread.
  6290. Returning to normal sequence.
  6291.  
  6292.    conf: PROGRAMMING LANGUAGES  #5507  07-02-88  07:38  (Read 101 times)
  6293.    from: BRUCE SHERMAN
  6294.      to: ALL
  6295. subject: $$ FOR TP3.0 CODE CHANGE
  6296.  
  6297. If you're interested in changing a TP 3.0 procedure, for displaying a menu,
  6298. for a reasonable fee, then please let me know.  The menu procedure
  6299. currently is limited to displaying about 17 items.  It should be
  6300. modified to display up to 50 items in a single column.  Because the
  6301. monitor can only display 25 items at a time, the user of the menu
  6302. should be able to press the PgUp key or the PgDn key to scroll
  6303. through the various items.  Then the user can select a menu item
  6304. by pressing the Enter key or by pressing the key representing the
  6305. first character of the menu item.  Note that you would simply modify
  6306. the existing code, to provide the additional function of scrolling
  6307. through 50 menu items.  If you're interested, leave me a message.
  6308. Then we can discuss getting the source code for the menu module to you.
  6309. ---------------
  6310.  
  6311.    conf: PROGRAMMING LANGUAGES  #5508  07-02-88  08:57  (Read 101 times)
  6312.    from: DAVE CLAY
  6313.      to: PHIL KATZ (Rcvd)
  6314. subject: HOW MUCH STACK MARGIN
  6315.  
  6316. Phil,  Thanks for your knowledgeable and helpful answer on how much stack
  6317. margin to allow.  Whow!  that is a lot more than I expected.  You have
  6318. saved me a lot of grief.
  6319.    BTW I hope you had a nice vacation. I see by the time stamp that you
  6320. stayed up all night (till midnight) just to answer my question.
  6321.                          Thanks again,  Dave Clay
  6322.  
  6323. ---------------
  6324.  
  6325.    conf: PROGRAMMING LANGUAGES  #5509  07-02-88  09:00  (Read 105 times)
  6326.    from: DAVE CLAY
  6327.      to: ALL
  6328. subject: BIOS SCRATCH AREA
  6329.  
  6330.      cc: PHIL KATZ
  6331.  
  6332. A little help or advice please.  While looking at a copy-protected program,
  6333. I found a very funny way for a program to detect that it is being traced.
  6334. It makes successive reads of location  0000:046C which is in the bios
  6335. scratch area.  If too many steps take place between the successive reads
  6336. of this magic location, bang, out you go.  The question is:
  6337.  
  6338.              What is DOS / BIOS doing with that word?
  6339.  
  6340.                                 Thanks,  Dave Clay
  6341.  
  6342. ---------------
  6343.  
  6344.    conf: PROGRAMMING LANGUAGES  #5512  07-02-88  20:36  (Read 102 times)
  6345.    from: PAUL ZIMMERMAN
  6346.      to: DAVE CLAY (Rcvd)
  6347. subject: R: BIOS SCRATCH AREA  Reply to #5509
  6348.  
  6349. According to Peter Norton, this is the place where the BIOS keeps the time
  6350. of day count.... So, in order to trace this program, I suggest you
  6351. intercept the timer int (not sure if int 8 or int 1C does the BIOS timer
  6352. update...) and slow it down.... maybe get a pop-up that can stop & start it
  6353. at the various rates you would choose. A substantial programming task in
  6354. itself... but if the program is an important enough job, it would be worth
  6355. it...
  6356.                                                                 Paul
  6357.  
  6358. >>>>>>>>>> Msg 5509 reply #1
  6359.  
  6360.    conf: PROGRAMMING LANGUAGES  #5568  06-07-88  02:49  (Read 108 times)
  6361.    from: PHIL KATZ
  6362.      to: DAVE CLAY (Rcvd)
  6363. subject: R: BIOS SCRATCH AREA  Reply to #5509
  6364.  
  6365. Dave,
  6366.  
  6367. 0:046C is the system timer double word.  It gets incremented
  6368. approximately every 55 milliseconds.  What the program was
  6369. doing was counting the time between two portions on code.
  6370. If the code was being traced or single-stepped, more time
  6371. would have elapsed than if the program were running normally.
  6372.  
  6373. >Phil>
  6374.  
  6375. >>>>>>>>>> Msg 5509 reply #2  >>>Last msg in reply thread.
  6376. Returning to normal sequence.
  6377.  
  6378.    conf: PROGRAMMING LANGUAGES  #5510  07-02-88  17:36  (Read 106 times)
  6379.    from: TOM SWENSON
  6380.      to: ALL
  6381. subject: C-COMPILERS
  6382.  
  6383. RATHER THAN READING THROUGH ALL THE MESSAGES ABOUT C-COMPILERS AT LONG
  6384. DISTANCE CHARGES, CAN I GET OPINIONS ABOUT WHAT WOULD BE THE BEST C-
  6385. COMPILER FOR ME TO GET INTO. I DO A LOT OF CLIPPER WORK AND WOULD LIKE
  6386. SOMETHING THAT WOULD BE PRETTY COMPATIBLE WITH IT. I'M LOOKING AT QUICKC
  6387. AND TURBO C BECAUSE OF THEIR PRICES, BUT I'M NOT SURE. ANY HELP WOULD BE
  6388. APPRECIATED. THANKS.  === TOM SWENSON ===
  6389. ---------------
  6390.  
  6391.    conf: PROGRAMMING LANGUAGES  #5515  07-02-88  21:46  (Read 104 times)
  6392.    from: EDWARD MARCH
  6393.      to: TOM SWENSON (Rcvd)
  6394. subject: R: C-COMPILERS  Reply to #5510
  6395.  
  6396. Hi Tom,
  6397.  this is a hot subject and you will get a lot of opinions on it.
  6398. I used microsoft C 4.0 at work, and I OWN Turbo-C 1.5 ($58 you cant loose)
  6399. Every benchmarh I see in computer magazine ads shows product XYZ vs
  6400. MSC and TC and some show TC over MCS and vice versa. One day
  6401. I decide to run some old byte magazine benchmarks and see if there were
  6402. right and I found TC was tigher code over MS... Phil Katz will argue
  6403. with me saying MS has a better optimization, perhaps it does, Byte
  6404. had a few articles about MS new quick C optinization techniques.
  6405. They sound good on paper..... Turbo C has the user interface that every-
  6406. one loves, far better than MS however there is NO DEBUGGER with TC.
  6407. No code view type of thing...
  6408.  I think it comes down to if you are a true C hacker and spend time
  6409. snipping off Nanseconds and a die hard speed freak and want
  6410. language to language compatability for future use go with MS,
  6411. if you want an easy to learn, super-friendly online help C manual (almost)
  6412. go with TC.
  6413. TC 1.5 has very good graphics support, there are a lot of PD window
  6414. librarys available.... if you a gambler try MIX-c with a debugger for $49!
  6415. c source is $10, TC lib source is $150 ! MS is about the same
  6416. TC is very professional and not a toy, what else can I say ??
  6417. --ed
  6418.  
  6419. >>>>>>>>>> Msg 5510 reply #1
  6420.  
  6421.    conf: PROGRAMMING LANGUAGES  #5522  07-03-88  12:53  (Read 102 times)
  6422.    from: EDWARD MARCH
  6423.      to: TOM SWENSON (Rcvd)
  6424. subject: R: R: C-COMPILERS  Reply to #5518
  6425.  
  6426. First it depends on the machine speed. My 12mhz AT has a 11.7 norton rating
  6427. and the link is fast a few seconds 4-5 for 3-4 modules.
  6428. TC lik is faster than QC link - no doubt, unless the linker changed !
  6429. -- WHat EXACTLY is clipper ?? and what is NO-LINK ??
  6430. Happy 4th!
  6431. -Ed
  6432.  
  6433. >>>>>>>>>> Msg 5510 reply #2
  6434.  
  6435.    conf: PROGRAMMING LANGUAGES  #5525  07-03-88  19:29  (Read 103 times)
  6436.    from: TOM FELLER
  6437.      to: TOM SWENSON (Rcvd)
  6438. subject: R: C-COMPILERS  Reply to #5510
  6439.  
  6440. I would recommend Turbo C because of various reasons. TC compiles
  6441. into fast tight code very fast. If you want tight code from
  6442. Microsoft you will need MSC 5.0 at a higher cost and slower
  6443. compile and link. Anything you can do with a debugger you
  6444. can do with printf statements. This may be slower but if you
  6445. don't know the location of the bug going through a debugger
  6446. can also be very slow. Can Clipper link with C modules? If so
  6447. you may need MSC if the .OBJ modules are not compatible with
  6448. TC. But you can always develop with TurboC and then convert to
  6449. MSC before you link to clipper. This could be faster. Most stuff
  6450. you do in TurboC can port over to MSC. Our company ported a 50000+
  6451. line program over to MSC because a clients .OBJ module for a interface
  6452. to some hardware was not compatible with TC. Only one module was modified
  6453. and that was due to the very poor way MSC handles conversion from huge
  6454. to far pointers. In TC all that is needed is:
  6455.  char far *fp;
  6456.  char huge *hp;
  6457.  fp = (char far *)hp;
  6458. In MSC you need a wierd conversion function. And I don't even know if you
  6459. can go in the other direction in MSC. In TC its just another type cast.
  6460. I don't see many people using huge pointers.
  6461. So you MSC 5.0 advocates what do you say about that.
  6462. Tom Feller
  6463.  
  6464. >>>>>>>>>> Msg 5510 reply #3
  6465.  
  6466.    conf: PROGRAMMING LANGUAGES  #5527  07-03-88  23:42  (Read 103 times)
  6467.    from: TOM SWENSON
  6468.      to: TOM FELLER (Rcvd)
  6469. subject: R: R: C-COMPILERS  Reply to #5525
  6470.  
  6471. TOM, CLIPPER DOES LINK TO OTHER C FILES I BELIEVE. IT WAS WRITTEN IN MSC I
  6472. I WAS TOLD ONCE ALSO. IT SOUNDS LIKE I'LL PROBABLY GO WITH TC AS YOU
  6473. MENTIONED... A VERY FAST COMPILING AND LINKING TIME IS VALUABLE TO ME.
  6474. THANKS FOR THE REPLY..... TOM
  6475.  
  6476. >>>>>>>>>> Msg 5510 reply #4
  6477.  
  6478.    conf: PROGRAMMING LANGUAGES  #5548  07-05-88  18:10  (Read 103 times)
  6479.    from: GRANT ELLSWORTH
  6480.      to: TOM FELLER (Rcvd)
  6481. subject: R: R: C-COMPILERS  Reply to #5525
  6482.  
  6483. Tom, just to correct 2 possible misconceptions ....
  6484.  
  6485. 1.  MSC obj code can link with TC  (i've done it experimentally) , but
  6486.     one must be careful about library function iuncomppatilbilities
  6487.  
  6488. 2.  TC obj can be linked with MSC obj, but same caveat applies
  6489.  
  6490. Grant
  6491.  
  6492. >>>>>>>>>> Msg 5510 reply #5
  6493.  
  6494.    conf: PROGRAMMING LANGUAGES  #5550  07-05-88  22:04  (Read 100 times)
  6495.    from: TOM FELLER
  6496.      to: GRANT ELLSWORTH (Rcvd)
  6497. subject: R: R: C-COMPILERS  Reply to #5548
  6498.  
  6499. I would not try that in the Large Memory Model with allocation.
  6500. Our company had a .OBJ module that worked with MSC from a BIG
  6501. computer company to run a Bar Code Scanner. In TURBO C the function
  6502. worked fine until we allocated some memory, bang, it allocated it
  6503. on top of the OBJ module code and as soon as we called the function
  6504. again CRASH!....
  6505. In Microsoft it worked fine. This .OBJ module was written in assembly
  6506. not in MSC so that may be the problem. Maybe a MSC module will link
  6507. with TC but I think I tried that once and it crashed. Also in the
  6508. Large memory model with allocation, that was. So try that. I will
  6509. bet you any amount of money I can make a MSC module that will
  6510. crash when linked and run with a Turbo C module! Of course I did not
  6511. say each module was bug free, Ha Ha.
  6512. Tom Feller
  6513.  
  6514. >>>>>>>>>> Msg 5510 reply #6
  6515.  
  6516.    conf: PROGRAMMING LANGUAGES  #5560  07-06-88  16:24  (Read 104 times)
  6517.    from: GRANT ELLSWORTH
  6518.      to: TOM FELLER (Rcvd)
  6519. subject: R: R: C-COMPILERS  Reply to #5550
  6520.  
  6521. Tom, like I wrote ... beware of library function incompatibilities.
  6522. Otherwise, it is posssible to link TC and MSC obj's together.  The object
  6523. forms are compatible.  Grant
  6524.  
  6525. >>>>>>>>>> Msg 5510 reply #7
  6526.  
  6527.    conf: PROGRAMMING LANGUAGES  #5563  06-06-88  22:23  (Read 105 times)
  6528.    from: TOM FELLER
  6529.      to: GRANT ELLSWORTH (Rcvd)
  6530. subject: R: R: C-COMPILERS  Reply to #5560
  6531.  
  6532. BS, the obj module was written in Assembly, it does not call
  6533. any library functions, it was the only non-TurboC module.
  6534. The TurboC malloc blasted it out of RAM like it did not exist.
  6535. You have to do some special things to make a .OBJ assembly
  6536. module that works with TurboC. I have proof from me and another
  6537. programmer in house and one at the company that wrote the
  6538. .OBJ module. DEBUG proved the address had the code and the
  6539. malloc said, OK use it. MSC may work with TC but not all
  6540. modules that work with MSC will work with TC!!! No Way Buddy!!
  6541. You want a copy of the module? I can link it into a Turbo
  6542. program and it will CRASH! If you read the TurboC manual
  6543. you can see what I mean. A in house programmer had to
  6544. make some minor mods to make a ASM program work with TC.
  6545. It must me modified to work with TC!!!
  6546. Tom Feller
  6547.  
  6548. >>>>>>>>>> Msg 5510 reply #8
  6549.  
  6550.    conf: PROGRAMMING LANGUAGES  #5588  07-08-88  21:05  (Read 116 times)
  6551.    from: GRANT ELLSWORTH
  6552.      to: TOM FELLER (Rcvd)
  6553. subject: R: R: C-COMPILERS  Reply to #5563
  6554.  
  6555. OK.  I believe you.  Based on admittedly very limited experience where I
  6556. had NO problems hooking up the products of MSC (4.0) , MASM(4.0), and TC
  6557. 1.5 - linked via TLINK and LINK 3.05 (MS), I reached a more general
  6558. conclusion than I should have.  Also, there was NO documentation from
  6559. Borland indicating that its obj modules were not MS Linker compatible.
  6560. There was some indication that they were compatible - with caveats.  Also,
  6561. I would be very surprised if all (or even most) TC objs. asm obs, etc..
  6562. would always work when hooked together.  My original point was that the
  6563. .obj formats were not inherently incompatible - and on that point your
  6564. unfortunate boom does not contradict.  GE
  6565.  
  6566. >>>>>>>>>> Msg 5510 reply #9  >>>Last msg in reply thread.
  6567. Returning to normal sequence.
  6568.  
  6569.    conf: PROGRAMMING LANGUAGES  #5513  07-02-88  21:30  (Read 97 times)
  6570.    from: BRUCE SHERMAN
  6571.      to: ALL
  6572. subject: TP3.0 MMRY OVRFLW #98
  6573.  
  6574. When compiling a Turbopascal 3.0 program, compiler error message #98
  6575. occurs.  This means: "Memory overflow -- You are trying to allocate
  6576. more storage for variables than is available."  How can I get around
  6577. this problem?
  6578. ---------------
  6579.  
  6580.    conf: PROGRAMMING LANGUAGES  #5514  07-02-88  21:41  (Read 93 times)
  6581.    from: THOMAS ATKINSON
  6582.      to: BRUCE SHERMAN (Rcvd)
  6583. subject: R: TP3.0 MMRY OVRFLW #98  Reply to #5513
  6584.  
  6585. Add more memory...
  6586.  
  6587. >>>>>>>>>> Msg 5513 reply #1
  6588.  
  6589.    conf: PROGRAMMING LANGUAGES  #5519  07-03-88  05:03  (Read 96 times)
  6590.    from: CHARLES PERRIN
  6591.      to: THOMAS ATKINSON (Rcvd)
  6592. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5514
  6593.  
  6594.      cc: BRUCE SHERMAN
  6595.  
  6596. Thomas and Bruce Sherman:
  6597.    Remember, Turbo Pascal 3.0 is a "medium model" structure, so no more
  6598. than 64K can be uninitialized data, 64K stack data, and 64K code.
  6599. However, the rest of the machine can be filled with dynamically
  6600. allocated areas...
  6601.  
  6602. >>>>>>>>>> Msg 5513 reply #2
  6603.  
  6604.    conf: PROGRAMMING LANGUAGES  #5520  07-03-88  07:48  (Read 97 times)
  6605.    from: BRUCE SHERMAN
  6606.      to: THOMAS ATKINSON (Rcvd)
  6607. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5514
  6608.  
  6609. My system already has 640K memory, so that doesn't seem to be the problem.
  6610.  
  6611. >>>>>>>>>> Msg 5513 reply #3
  6612.  
  6613.    conf: PROGRAMMING LANGUAGES  #5521  07-03-88  07:50  (Read 97 times)
  6614.    from: BRUCE SHERMAN
  6615.      to: CHARLES PERRIN (Rcvd)
  6616. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5519
  6617.  
  6618. How can I determine the amount of memory, broken down by 'uninitialized
  6619. data,' '64K stack data,' and '64K code,' being used by a particular
  6620. Turbopascal 3.0 program?
  6621.  
  6622. >>>>>>>>>> Msg 5513 reply #4
  6623.  
  6624.    conf: PROGRAMMING LANGUAGES  #5523  07-03-88  17:42  (Read 95 times)
  6625.    from: CHARLES PERRIN
  6626.      to: BRUCE SHERMAN (Rcvd)
  6627. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5521
  6628.  
  6629. It outputs "size of data segment" and "size of code segment" info
  6630. as it's compiling.  Look at the statement on which it gagged.  If
  6631. it's a global declaration, your data segment is too large.  If it
  6632. gagged on a procedure, you've got too much being pushed on the stack.
  6633.  
  6634. >>>>>>>>>> Msg 5513 reply #5
  6635.  
  6636.    conf: PROGRAMMING LANGUAGES  #5524  07-03-88  19:11  (Read 96 times)
  6637.    from: TOM FELLER
  6638.      to: BRUCE SHERMAN (Rcvd)
  6639. subject: R: TP3.0 MMRY OVRFLW #98  Reply to #5513
  6640.  
  6641. This is most likely too much global data. Local data would generate
  6642. a stack overflow at run time, but the compiler may check that too.
  6643. Allocate the big data you are using. You may wish to convert to
  6644. "C" for better allocation control.
  6645. Tom Feller
  6646.  
  6647. >>>>>>>>>> Msg 5513 reply #6
  6648.  
  6649.    conf: PROGRAMMING LANGUAGES  #5528  07-04-88  03:32  (Read 96 times)
  6650.    from: THOMAS ATKINSON
  6651.      to: BRUCE SHERMAN (Rcvd)
  6652. subject: R: TP3.0 MMRY OVRFLW #98  Reply to #5513
  6653.  
  6654. I am not a Pascal pro but it seems if you can move some of the variables
  6655. you are using to being declared in the procedures you call you may free up
  6656. some memory.  Having them in a global include file that you load makes them
  6657. static do they not ? , having them disposed after a procedure call seems to
  6658. be a first step.  If you are using some gigantic array, maybe you
  6659. could/will have to make it a disk file ?  I just purchased a product titled
  6660. Turbo Professional for TP4, you may still be able to get one (if it was
  6661. made for TP3) that allows arrays to be stored in extended/expanded or as a
  6662. disk array.  I am not into linked lists and such, but you may be leaving
  6663. some storage allocated and not disposed after use
  6664.  
  6665. >>>>>>>>>> Msg 5513 reply #7
  6666.  
  6667.    conf: PROGRAMMING LANGUAGES  #5529  07-04-88  03:35  (Read 97 times)
  6668.    from: THOMAS ATKINSON
  6669.      to: BRUCE SHERMAN (Rcvd)
  6670. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5521
  6671.  
  6672. As the Exec does not have a Pascal conference it may pay to find a NETMAIL
  6673. board that carries the national PASCAL conference.  That area will supply
  6674. an answer for all your needs on the subject.  I believe Borland itself has
  6675. a node for the conference...
  6676.  
  6677. >>>>>>>>>> Msg 5513 reply #8
  6678.  
  6679.    conf: PROGRAMMING LANGUAGES  #5540  07-05-88  05:25  (Read 100 times)
  6680.    from: BRUCE SHERMAN
  6681.      to: CHARLES PERRIN (Rcvd)
  6682. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5523
  6683.  
  6684. Is is possible to reduce the likelihood of memory overflow by
  6685. changing, wherever possible, global variable declarations to
  6686. LOCAL (i.e. within a procedure or function) variable declarations?
  6687.  
  6688. >>>>>>>>>> Msg 5513 reply #9
  6689.  
  6690.    conf: PROGRAMMING LANGUAGES  #5542  07-05-88  14:40  (Read 96 times)
  6691.    from: THOMAS ATKINSON
  6692.      to: BRUCE SHERMAN (Rcvd)
  6693. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5541
  6694.  
  6695. Here is a number from my nodes list for your area. 1-313-553-9274, if that
  6696. is not in service, here are a couple of more from the 313 code,
  6697. 882-7104,946-4821. I am not sure if any of these carry the Pascal
  6698. conference, but they might lead you to a board in the area that does.
  6699.  
  6700. >>>>>>>>>> Msg 5513 reply #10
  6701.  
  6702.    conf: PROGRAMMING LANGUAGES  #5557  07-06-88  05:39  (Read 104 times)
  6703.    from: CHARLES PERRIN
  6704.      to: BRUCE SHERMAN (Rcvd)
  6705. subject: R: R: TP3.0 MMRY OVRFLW  Reply to #5540
  6706.  
  6707. That will help although variables allocated with "new" (pointed to) will
  6708. help break the 64K barrier.  (It will also slow down execution.)
  6709. Although locals are accessed with stack offsets, I doubt it would be
  6710. much worse than locals are.
  6711.  
  6712. >>>>>>>>>> Msg 5513 reply #11  >>>Last msg in reply thread.
  6713. Returning to normal sequence.
  6714.  
  6715.    conf: PROGRAMMING LANGUAGES  #5551  07-05-88  22:32  (Read 95 times)
  6716.    from: TOM SWENSON
  6717.      to: GLEN THOMPSON (Rcvd)
  6718. subject: R: R: C-COMPILERS  Reply to #5538
  6719.  
  6720. glen... sorry about the caps, i guess my caps lock key must be broken, do
  6721. you spose? do you know how compatible turbo-c is with clipper? thanks for
  6722. for your help and suggestions. I hope I don't offend anybody by the caps!!!
  6723. tom
  6724. ---------------
  6725.  
  6726.    conf: PROGRAMMING LANGUAGES  #5580  07-07-88  02:09  (Read 110 times)
  6727.    from: GLEN THOMPSON
  6728.      to: TOM SWENSON (Rcvd)
  6729. subject: R: R: C-COMPILERS  Reply to #5551
  6730.  
  6731. Tom,
  6732.   
  6733. Since I don't use either Turbo-C or Clipper, I'm not sure how compatible
  6734. they are.  I've had Microsoft C from vers 3 so I've gone the upgrade route
  6735. as opposed to looking at new compilers.  Since I don't write any complex
  6736. systems in C, I haven't run into any problems with it.  I tried Quick C
  6737. since it came with the ver 5 upgrade but dumped it and now use Qedit, batch
  6738. compiles, and Codeview.  Codeview makes the Quick C debugger look sick.
  6739. Some people buy Quick C and Masm so they can get Codeview.
  6740.   
  6741. If I were buying a C compiler from scratch I would have to seriously
  6742. consider Turbo-C.  I've been very happy with Borland's other products.
  6743.   
  6744. glen
  6745.  
  6746. >>>>>>>>>> Msg 5551 reply #1
  6747.  
  6748.    conf: PROGRAMMING LANGUAGES  #5583  07-07-88  07:53  (Read 110 times)
  6749.    from: CHARLES PERRIN
  6750.      to: GLEN THOMPSON (Rcvd)
  6751. subject: R: R: C-COMPILERS  Reply to #5580
  6752.  
  6753. Or QuickBasic and MASM (although I got MASM originally for a
  6754. Christmas present in 1986....).
  6755.  
  6756. >>>>>>>>>> Msg 5551 reply #2
  6757.  
  6758.    conf: PROGRAMMING LANGUAGES  #5585  07-08-88  12:10  (Read 111 times)
  6759.    from: TOM SWENSON
  6760.      to: GLEN THOMPSON (Rcvd)
  6761. subject: R: R: C-COMPILERS  Reply to #5580
  6762.  
  6763. THANKS FOR THE REPLY, GLEN. SO FAR TC LOOKS LIKE THE WAY TO GO... ISN'T
  6764. THERE ANY CLIPPER PROGRAMMERS OUT THERE WHO MESS WITH 'C'. LINKING TO
  6765. CLIPPER IS MY FINAL CONSIDERATION IN COMPILERS. I HAVE SEEN CODEVIEW BEFORE
  6766. AND WAS VERY IMPRESSED, ALTHOUGH I DID NOT SEE IT DEBUGGING A C PROGRAM,
  6767. JUST ASSEMBLY. SOUNDS LIKE TURBO-C THOUGH. THANKS TOM
  6768.  
  6769. >>>>>>>>>> Msg 5551 reply #3
  6770.  
  6771.    conf: PROGRAMMING LANGUAGES  #5598  07-10-88  16:24  (Read 108 times)
  6772.    from: DAVID NYE
  6773.      to: CHARLES PERRIN (Rcvd)
  6774. subject: R: R: C-COMPILERS  Reply to #5583
  6775.  
  6776.   I bought MASM a couple of years ago but recently junked it in favor of
  6777. Eric Isaacson's A86.  The companion debugger D86 is as good as Codeview, in
  6778. my opinion.  Both A86 and D86 are shareware.
  6779.  
  6780. >>>>>>>>>> Msg 5551 reply #4
  6781.  
  6782.    conf: PROGRAMMING LANGUAGES  #5605  07-11-88  05:54  (Read 109 times)
  6783.    from: CHARLES PERRIN
  6784.      to: DAVID NYE (Rcvd)
  6785. subject: R: R: C-COMPILERS  Reply to #5598
  6786.  
  6787. I'd define it as "harassmentware", I got the basic impression that you
  6788. could hardly look at it without paying....
  6789.  
  6790. >>>>>>>>>> Msg 5551 reply #5
  6791.  
  6792.    conf: PROGRAMMING LANGUAGES  #5734  07-19-88  23:49  (Read 95 times)
  6793.    from: DAVID NYE
  6794.      to: CHARLES PERRIN (Rcvd)
  6795. subject: R: R: C-COMPILERS  Reply to #5605
  6796.  
  6797. Re: A86/D86 as "harassmentware":  I agree his "pay up or I'll get you"
  6798. message is a little heavy-handed.  I briefly looked at A86 about two years
  6799. ago and was put off by that message sufficiently that I didn't look into
  6800. the package further until just recently.  He claims to be able to tell if
  6801. you used his assembler by a unique "footprint" in the code it generates.  I
  6802. don't have to worry, anyway.  I sent him the money.
  6803.  
  6804. >>>>>>>>>> Msg 5551 reply #6
  6805.  
  6806.    conf: PROGRAMMING LANGUAGES  #5737  07-20-88  07:50  (Read 100 times)
  6807.    from: STEVEN KEY
  6808.      to: DAVID NYE (Rcvd)
  6809. subject: R: R: C-COMPILERS  Reply to #5734
  6810.  
  6811. David,
  6812.  
  6813. Nobody who has read Eric's manuals could accuse him of being bashful. The
  6814. "threat" didn't bother me - I think it was aimed at commercial users, but I
  6815. wouldn't call it harassment anyway.  The newer versions of A86 and D86 are
  6816. much improved over older ones - especially the debugger.  I'd never go back
  6817. to MASM.  When used with a small, fast editor like QEDIT, they make a super
  6818. quick development environment.
  6819.   
  6820. Steve
  6821.  
  6822. >>>>>>>>>> Msg 5551 reply #7  >>>Last msg in reply thread.
  6823. Returning to normal sequence.
  6824.  
  6825.    conf: PROGRAMMING LANGUAGES  #5559  07-06-88  13:05  (Read 100 times)
  6826.    from: JEFFREY BROWN
  6827.      to: ALL
  6828. subject: TP 3.0 PATCH
  6829.  
  6830. Can anyone tell me how to patch a Turbo Pascal 3.0 (or possibly earlier)
  6831. program, to which I do not have the source code, to enable Ctrl-Break
  6832. checking? The damn thing seems to have no way of exiting the program
  6833. gracefully.
  6834.                            Thanks
  6835.                                      Jeff
  6836. ---------------
  6837.  
  6838.    conf: PROGRAMMING LANGUAGES  #5576  06-07-88  19:46  (Read 101 times)
  6839.    from: RALPH KREIPLE
  6840.      to: JEFFREY BROWN (Rcvd)
  6841. subject: R: TP 3.0 PATCH  Reply to #5559
  6842.  
  6843.   I donot have my TP 3.0 manual here right now and haven't used it for a
  6844. while, but near the back of it is a chapter or a section of a chapter that
  6845. has all the switch information you will need to enable CTRL-C checking.  I
  6846. found this a while back when I created an endless loop, was unable to break
  6847. the program, and I had to reboot-loosing about 2 hours of editing which I
  6848. haden't saved.  Look in the index under directives.
  6849.  
  6850. Ralph
  6851.  
  6852. PS I now save more frequently, isn't it amazing how fast a bad habit can be
  6853. broken.
  6854.  
  6855. >>>>>>>>>> Msg 5559 reply #1
  6856.  
  6857.    conf: PROGRAMMING LANGUAGES  #5608  07-11-88  08:54  (Read 104 times)
  6858.    from: JEFFREY BROWN
  6859.      to: RALPH KREIPLE (Rcvd)
  6860. subject: R: R: TP 3.0 PATCH  Reply to #5576
  6861.  
  6862. Thanks, Ralph. I'll check in the manual.
  6863.   
  6864.                                 Jeff
  6865.  
  6866. >>>>>>>>>> Msg 5559 reply #2  >>>Last msg in reply thread.
  6867. Returning to normal sequence.
  6868.  
  6869.    conf: PROGRAMMING LANGUAGES  #5564  06-06-88  23:09  (Read 107 times)
  6870.    from: CHRIS KLANN
  6871.      to: ALL
  6872. subject: C HELP
  6873.  
  6874.      cc: PHIL KATZ
  6875.  
  6876. Can someone help me on this one?  I'm looking for 3 letters that are placed
  6877. in memory from a particular program.  The documentation for the program
  6878. gives some .ASM code showing how this can be done, but I'd like to do it in
  6879. C (MSC 5.1). The doc's specify that you can determine if a program is in
  6880. memory by checking offset 103h for each interrupt from 60h to 7Fh.  Here's
  6881. a hunk of the .ASM example:
  6882. .
  6883.         MOV     AH,35h          ;DOS function call ID - get interrupt
  6884.         MOV     AL,INTVAL       ;Initialize first valid interrupt to check
  6885. NEXTINT: INT    21h             ;Get the interrupt vector from DOS
  6886.         LEA     SI,STFID        ;Offset (CS) of search string
  6887.         MOV     DI,0103h        ;Offset (ES) to be compared
  6888.         MOV     CX,STFLEN       ;Length of string
  6889.                                 ;Is this the STF interrupt?
  6890.         REPNE   CMPS CS:STFID[SI],ES:[DI]
  6891.         JE      FOUND           ;Yes - jump to FOUND
  6892.         INC     INTVAL          ;No - look at the next valid interrupt
  6893.         MOV     AL,INTVAL       ;Set AL to the next interrupt to check
  6894.         CMP     AL,080h         ;Was the last valid interrupt checked
  6895.         JB      NEXTINT         ;No- Check the interrupt vector
  6896.         MOV     AL,0            ;Yes - return FALSE to the caller
  6897.         JMP     FEXIT           ;Exit
  6898. FOUND:  MOV     INTVAL,AL       ;Set interrupt value to STF interrupt
  6899.         MOV     AL,1            ;Return TRUE to the calling program
  6900. .
  6901. I figured I could use the MSC library function _dos_getvect() to execute
  6902. the DOS 35h function call of 21h interrupt, but how do I use the seg:offset
  6903. that's returned along with the 103h offset to see if that memory location
  6904. has the three letters ('STF')?   Any help would be appreciated!
  6905. ...Chris.....
  6906. ---------------
  6907.  
  6908.    conf: PROGRAMMING LANGUAGES  #5569  06-07-88  03:02  (Read 113 times)
  6909.    from: PHIL KATZ
  6910.      to: CHRIS KLANN (Rcvd)
  6911. subject: R: C HELP  Reply to #5564
  6912.  
  6913. Chris,
  6914.  
  6915. Well, this isn't very portable, BUT:
  6916.  
  6917. 1) cast the return result from _dos_getvect() to a 'long' or
  6918.    'unsigned long' value and assign it to such a variable.
  6919. 2) Assuming that the long above was named 'xyzzy', do this:
  6920.  
  6921.    char far *ptr;
  6922.    long xyzzy;
  6923.  
  6924.    xyzzy=(long)_dos_getvect(whatever);
  6925.    ptr=(char far *)((xyzzy & 0xffff0000) | 0x103);
  6926.  
  6927. 3) Now, if you are using the large model, you can use memcmp()
  6928.    to cmp what's at *ptr to "STF".  However, if you are using a
  6929.    small data model, than it's probably easiest just to test if
  6930.    ptr[0]=='S', ptr[1]=='T' and so on.
  6931.  
  6932. >Phil>
  6933.  
  6934. >>>>>>>>>> Msg 5564 reply #1
  6935.  
  6936.    conf: PROGRAMMING LANGUAGES  #5572  06-07-88  08:09  (Read 108 times)
  6937.    from: CHRIS KLANN
  6938.      to: PHIL KATZ (Rcvd)
  6939. subject: R: R: C HELP  Reply to #5569
  6940.  
  6941. Phil:
  6942.    Once again, thanks for your reply.  I'll mull it over & see if I can get
  6943. your idea to work.
  6944. Thanks...Chris.....
  6945.  
  6946. >>>>>>>>>> Msg 5564 reply #2
  6947.  
  6948.    conf: PROGRAMMING LANGUAGES  #5586  07-07-88  13:51  (Read 119 times)
  6949.    from: CHRIS KLANN
  6950.      to: PHIL KATZ (Rcvd)
  6951. subject: R: R: C HELP  Reply to #5569
  6952.  
  6953. Phil:
  6954.     Sure enuf, the sucker worked!  Here's the sample code for your total
  6955. edification
  6956. .
  6957. #include<dos.h>
  6958. .
  6959. int stffound();
  6960. .
  6961. main()
  6962. {
  6963.     if(stffound())
  6964.         printf("Yeaaa! I found STF loaded\n");
  6965.     else
  6966.         printf("STF is not loaded\n");
  6967. }
  6968. .
  6969. int stffound()
  6970. {
  6971.     unsigned i;
  6972.     char far *ptr;
  6973.     long xyzzy;
  6974.     for(i=96; i<=127; i++) {
  6975.         xyzzy=(long)_dos_getvect(i);
  6976.         ptr=(char far *)((xyzzy & 0xffff0000) | 0x103);
  6977.         if(ptr[0]=='S' && ptr[1]=='T' && ptr[2]=='F')
  6978.             return(1);
  6979.     }
  6980.     return(0);
  6981. }
  6982. .
  6983. I guess I'm sorta fuzzy on the details of what you're doing here - let me
  6984. see if I can walk through it...
  6985. =>xyzzy=(long)_dos_getvect(i);
  6986.     -casting the retrun value of _dos_getvect() to a long & assigning it to
  6987.      the (long) variable xyzzy.
  6988. =>ptr=(char far *)((xyzzy & 0xffff0000) | 0x103);
  6989.     -ummmm, taking the variable *xyzzy*, anding it with 0xffff0000 to get
  6990.      just the segment portion of the address, and then or'ing that result
  6991.      with 0x0103 to get the proper seg:offset (which was specified to be
  6992.      0x0103) and casting that as a far pointer & assigning that value to
  6993.      far pointer *ptr*.
  6994. ...well, I'm not sure if I said that all correctly, but it sorta seems to
  6995. make sense (as long as I say it slowly)!   Thanks again...Chris.....
  6996.  
  6997. >>>>>>>>>> Msg 5564 reply #3
  6998.  
  6999.    conf: PROGRAMMING LANGUAGES  #5587  07-08-88  17:30  (Read 117 times)
  7000.    from: PHIL KATZ
  7001.      to: CHRIS KLANN (Rcvd)
  7002. subject: R: R: C HELP  Reply to #5586
  7003.  
  7004. Chris,
  7005.  
  7006. Your description of how that code works is 100% correct.  By placing
  7007. the vector returned by _dos_getvect() into a 'long' variable, you
  7008. can do math on it without the compiler getting too upset.  Then
  7009. you can cast the value back to a pointer and use the pointer.
  7010.  
  7011. However, this is generally a very poor programming practice, and is
  7012. completely non-portable.  The code I gave you not only assumes
  7013. what the size of long's are, but 'far' pointers as well.  It also
  7014. assumes the pointers are in Intel segment:offset form.
  7015.  
  7016. On the other hand, it works just fine on any 80x8x family CPU,
  7017. and is as portable as the equivalent portion of assembly code
  7018. that you listed.
  7019.  
  7020. >Phil>
  7021.  
  7022. >>>>>>>>>> Msg 5564 reply #4
  7023.  
  7024.    conf: PROGRAMMING LANGUAGES  #5593  07-08-88  23:15  (Read 117 times)
  7025.    from: CHRIS KLANN
  7026.      to: PHIL KATZ (Rcvd)
  7027. subject: R: R: C HELP  Reply to #5587
  7028.  
  7029. Phil:
  7030.    I don't think I'll be trying to port that to a Mac or VAX or any other
  7031. type of machine in the distant future - it's dealing with a PC passing info
  7032. to & from a S/36...
  7033.  
  7034. >>>>>>>>>> Msg 5564 reply #5  >>>Last msg in reply thread.
  7035. Returning to normal sequence.
  7036.  
  7037.    conf: PROGRAMMING LANGUAGES  #5570  06-07-88  03:09  (Read 103 times)
  7038.    from: LARRY EDWARDS
  7039.      to: ALL
  7040. subject: FASTER COMPILE ?
  7041.  
  7042. I have been wondering if installing an 8087 coprocessor might speed up
  7043. compiles and links under Turbo-C.  I know it is basically for floating
  7044. point math,  but wonder if compilers are able to use it to advantage.
  7045.    Any idea if an 8087 will help, and if it will, how much?   Thanks!
  7046. ---------------
  7047.  
  7048.    conf: PROGRAMMING LANGUAGES  #5571  06-07-88  03:52  (Read 102 times)
  7049.    from: CHARLES PERRIN
  7050.      to: LARRY EDWARDS
  7051. subject: R: FASTER COMPILE ?  Reply to #5570
  7052.  
  7053. If you're doing a lot of floating point, an 8087 is definitely
  7054. worth the money spent on it.  (Us floating freaks find it to be
  7055. useful drawing our cardioids....)
  7056.  
  7057. >>>>>>>>>> Msg 5570 reply #1  >>>Last msg in reply thread.
  7058. Returning to normal sequence.
  7059.  
  7060.    conf: PROGRAMMING LANGUAGES  #5574  07-07-88  13:45  (Read 101 times)
  7061.    from: TOM PETERS
  7062.      to: ALL
  7063. subject: FIND_NEXT
  7064.  
  7065.      cc: PHIL KATZ
  7066.  
  7067. I wrote a program in MASM5.0 that accepts a filename and type on the
  7068. command line. It writes a temporary file whose name is the same as the
  7069. input filename, and whose type is .BT7. The program performs a rename to
  7070. the original name, first deleting the original file.
  7071.  
  7072. My problem is that I recently rewrote it using DOS FIND_FIRST and FIND_NEXT
  7073. functions, so you can now use wildcarded filenames. You can tell it to
  7074. process *.DOC or XYZZY.* or any such thing.
  7075.  
  7076. Trouble is, it processes some files twice. If you specify *.doc, it's
  7077. likely to process 3 of 7 files two times. Sometimes, especillay with BIG
  7078. files, specifying a name with no wildcards (like XYZZY.DOC) will cause that
  7079. file to be processed twice. I guess it's not too hard to guess why; DOS
  7080. must keep track of something more than just the file's name in order to
  7081. keep track of itself for the next call to FIND_NEXT, and by copying,
  7082. deleting, and renaming, I'm tricking DOS into thinking that the new copy of
  7083. the old file is in fact another file to be mung'ed.
  7084.  
  7085. Is there any easy way out of this? Adding the calls to FIND_FIRST and
  7086. FIND_NEXT was relatively easy; if I have to do repeated calls to FIND_NEXT
  7087. and buffer up all of the filenames before I process any files, it's going
  7088. to get ugly.
  7089. ---------------
  7090.  
  7091.    conf: PROGRAMMING LANGUAGES  #5577  07-07-88  20:16  (Read 98 times)
  7092.    from: PHIL KATZ
  7093.      to: TOM PETERS (Rcvd)
  7094. subject: R: FIND_NEXT  Reply to #5574
  7095.  
  7096. Tom,
  7097.  
  7098. Well, you've pretty much figured it out.  What the DOS find_next
  7099. function does is keep track of the *directory* position that it
  7100. last searched.  If you create a new file later in the directory
  7101. with a matching filename, then that filename will be returned
  7102. by the find_next function.
  7103.  
  7104. What I would suggest doing is in your init code, read and save
  7105. the current date & time.  Then, when find_next returns a filename,
  7106. part of the info it returns in the DTA is the file's date & time.
  7107. If this date & time are LATER than when your program started
  7108. running, then you know that you have already processed this file
  7109. and don't need to process it again.  If it's dated earlier, than
  7110. the program hasn't seen this file yet.  Comparing the times would
  7111. be much easier than storing all the filenames before processing any.
  7112.  
  7113. >Phil>
  7114.  
  7115. >>>>>>>>>> Msg 5574 reply #1
  7116.  
  7117.    conf: PROGRAMMING LANGUAGES  #5611  07-11-88  13:09  (Read 102 times)
  7118.    from: TOM PETERS
  7119.      to: PHIL KATZ (Rcvd)
  7120. subject: R: R: FIND_NEXT  Reply to #5577
  7121.  
  7122. Ah, cleverness itself. I can perhaps just pretend the time & date values
  7123. are just words and compare them, depending on the bit positions. I will try
  7124. this. THX.
  7125.  
  7126. >>>>>>>>>> Msg 5574 reply #2  >>>Last msg in reply thread.
  7127. Returning to normal sequence.
  7128.  
  7129.    conf: PROGRAMMING LANGUAGES  #5575  07-07-88  17:58  (Read 105 times)
  7130.    from: JOHN KASTER
  7131.      to: ALL
  7132. subject: LINKED LISTS IN C
  7133.  
  7134. Ok.  I've taken the big step.  I'm converting (sort of) a HUGE amount of my
  7135. TPascal source code to Turbo C.  One of the things I Absolutely need is a
  7136. routine to read in a file and assign each part of the line to a linked list
  7137. item record.  Anybody have any suggestions for books to get or source code
  7138. to look at?  I have tried a PD tutorial package, and can't get their sample
  7139. source code to work.  I'm using The C Programmer's handbook by Thom Hogan (
  7140. the guy can't even spell his name right!), K&R's C Bible, and The C Primer
  7141. by two other guys at AT&T.
  7142.   
  7143. Thanks for your attention.
  7144.    John Kaster
  7145. ---------------
  7146.  
  7147.    conf: PROGRAMMING LANGUAGES  #5589  07-08-88  21:21  (Read 115 times)
  7148.    from: GRANT ELLSWORTH
  7149.      to: JOHN KASTER (Rcvd)
  7150. subject: R: LINKED LISTS IN C  Reply to #5575
  7151.  
  7152. John, The C Toolbox, by William James Hunt, had some examples of liked list
  7153. manipulation in it (if I remember rightly) in its sxection on BTREE
  7154. manipulation (as an example of linked list manipulation).  Book published
  7155. by Addison-Wesley (c. 1986).  Grant
  7156.  
  7157. >>>>>>>>>> Msg 5575 reply #1
  7158.  
  7159.    conf: PROGRAMMING LANGUAGES  #5612  07-11-88  14:51  (Read 108 times)
  7160.    from: JOHN KASTER
  7161.      to: GRANT ELLSWORTH (Rcvd)
  7162. subject: R: R: LINKED LISTS IN C  Reply to #5589
  7163.  
  7164. Grant, thanks.  I'll look for it.  In the meantime, I found Borland-Osborne
  7165. McGraw-Hill (how's that for contraction?)'s book The Complete Turbo C
  7166. Reference to be helpful.  I successfully got Herbert Schildt's mailing list
  7167. example program to work.  Now all I have to do is figure out why his code
  7168. worked and mine didn't.
  7169.  
  7170. John
  7171.  
  7172. >>>>>>>>>> Msg 5575 reply #2
  7173.  
  7174.    conf: PROGRAMMING LANGUAGES  #5626  07-12-88  22:42  (Read 107 times)
  7175.    from: GRANT ELLSWORTH
  7176.      to: JOHN KASTER (Rcvd)
  7177. subject: R: R: LINKED LISTS IN C  Reply to #5612
  7178.  
  7179. John, I've helped some folks debug linked list proceedures in C, Pascal,
  7180. and mainframe ALC ... common error all made was to fail to set 1st node
  7181. null at initialization, or reset null for a re-cycle.  Other error was
  7182. failure to initialize children nodes *next to null when creating linked
  7183. list entry ... results have been everything from garbage results to
  7184. stack-clobber and a well-hung machine.  Grant
  7185.  
  7186. If you want to ship me source for exam and diag, let me know... we'll
  7187. figure out a way to do it.  Include symptoms for expediting diags.
  7188.  
  7189. >>>>>>>>>> Msg 5575 reply #3
  7190.  
  7191.    conf: PROGRAMMING LANGUAGES  #5628  07-13-88  11:29  (Read 105 times)
  7192.    from: JOHN KASTER
  7193.      to: GRANT ELLSWORTH (Rcvd)
  7194. subject: R: R: LINKED LISTS IN C  Reply to #5626
  7195.  
  7196. Grant, thanks for the offer.  I might take you up on it.  Your name sounds
  7197. familiar - do you use Clipper by any chance?  I don't know if you noticed,
  7198. but I'm in VA.  I think we have talked on boards around here.  Anyway, my
  7199. current assignment (for myself) is to implement functions for TP's POS and
  7200. COPY string routines in "C".  I haven't found anything quite like them, but
  7201. I've got oodles of whether or not a single character occurs in the text or
  7202. a string is contained in the text.  Not one that I can easily convert to
  7203. indicate WHERE this string occurs (at least not with my EXTREMELY limited
  7204. knowledge of C).  Any further suggestions on that would be appreciated.
  7205. The Turbo C book I mentioned above seems to be helping me quite a bit, and
  7206. I've been able to use his doubly-linked lists routines.  I would appreciate
  7207. your leaving a message (privately) with a voice # I can reach you at -
  7208. there's some other things I would like to ask you about that are too
  7209. complicated to get into here.  Thanks again.
  7210.   
  7211. John
  7212.  
  7213. >>>>>>>>>> Msg 5575 reply #4
  7214.  
  7215.    conf: PROGRAMMING LANGUAGES  #5636  07-13-88  21:27  (Read 102 times)
  7216.    from: GRANT ELLSWORTH
  7217.      to: JOHN KASTER (Rcvd)
  7218. subject: R: R: LINKED LISTS IN C  Reply to #5628
  7219.  
  7220. John, It's quite possible that our paths have crossed on some DC area bbs.
  7221. (Kwibble, Techmail, Norske?).
  7222.  
  7223. On your C/TPas equivalencies:  seems to me that there are some C library
  7224. routines wich either do same thing as those TP functions, or, in some
  7225. combination, they can be used to imitate the TP routines.  Check out the
  7226. str...() functions and the mem...() functions.  E.g. strchr(), gives
  7227. location of char in a string, strcmp() compares partial strings... etc.
  7228. Something that may help you is to re-write the desired function in TPas
  7229. using lower level primatives ... and then converting the lower level to C.
  7230. I'll leave voice/contact numbers in the pvt msg area.  Grant
  7231.  
  7232. >>>>>>>>>> Msg 5575 reply #5
  7233.  
  7234.    conf: PROGRAMMING LANGUAGES  #5661  07-15-88  10:59  (Read 104 times)
  7235.    from: JOHN KASTER
  7236.      to: GRANT ELLSWORTH (Rcvd)
  7237. subject: R: R: LINKED LISTS IN C  Reply to #5636
  7238.  
  7239. I seem to have found a solution with the strstr() function and some lucky
  7240. (extremely lucky) discoveries about "C" when I was experimenting.  Got the
  7241. doubly linked list working, along with a replicate function similar to
  7242. dbase's, and some other handy ones.  Thanks again for your help.  I'll
  7243. probably upload a file of the "C" routines when I'm done.  Not that they're
  7244. any good, but some other poor TP programmer might be struggling along with
  7245. "C" and desperately need these routines also.
  7246.   
  7247. Thanks again.
  7248.   
  7249.   John
  7250.  
  7251. >>>>>>>>>> Msg 5575 reply #6
  7252.  
  7253.    conf: PROGRAMMING LANGUAGES  #5668  07-15-88  21:05  (Read 105 times)
  7254.    from: GRANT ELLSWORTH
  7255.      to: JOHN KASTER (Rcvd)
  7256. subject: R: R: LINKED LISTS IN C  Reply to #5661
  7257.  
  7258. John,  yep.  Any sample guideline routines for TP pgmrs moving to Cwould be
  7259. real useful examples.  Especially linked lists processing.
  7260.  
  7261. Also, of obscure but significant note for your other problem (scan code
  7262. detection, etc..), BEWARE of TC's kbhit() function.  It uses dos function
  7263. 0x0B ... not the bios int 0x16 function ... dos function traps ^C , ^S,
  7264. and ctrl-brk, which may interfere with your keyboard-reading routine.
  7265. You can use the INT 0x16 / ah=1, or the TC bioskey(1) for the kbhit()
  7266. function, and bioskey(0) to get the character(s).
  7267.  
  7268.  ... and there are other obscurities which would be of interest to TP pgmrs
  7269. trying to move constructs to C.
  7270.  
  7271. So, the more examples, the better.  Grant
  7272.  
  7273. >>>>>>>>>> Msg 5575 reply #7
  7274.  
  7275.    conf: PROGRAMMING LANGUAGES  #5704  07-18-88  11:18  (Read 102 times)
  7276.    from: JOHN KASTER
  7277.      to: GRANT ELLSWORTH (Rcvd)
  7278. subject: R: R: LINKED LISTS IN C  Reply to #5668
  7279.  
  7280. I'm trying to use bioskey(), and I can successfully retrieve the value for
  7281. a normal keystroke, but I'm having problems masking out the hi (or is it
  7282. lo) order bit for the extended keys.  I don't want to have to convert the
  7283. string using base 16 from the bioskey() return, but I might end up doing
  7284. that since my masking (I'm using & 65280) of the bioskey() return doesn't
  7285. seem to be working.  Anyway, thanks for the suggestions.
  7286.  
  7287. John
  7288.  
  7289. >>>>>>>>>> Msg 5575 reply #8
  7290.  
  7291.    conf: PROGRAMMING LANGUAGES  #5711  07-19-88  00:25  (Read 94 times)
  7292.    from: GRANT ELLSWORTH
  7293.      to: JOHN KASTER (Rcvd)
  7294. subject: R: R: LINKED LISTS IN C  Reply to #5704
  7295.  
  7296. John, see my big "tome" to Dale Ulmer on the ctrl-brk handler.
  7297.  
  7298. briefly, you should receive return from bioskey(0) in an unsigned integer
  7299. and get real chacter from lo-byte if low-byte is non-zero ....
  7300.  
  7301. e.g. ...
  7302.  
  7303.   unsigned int mychar;
  7304.   unsigned char usechar;
  7305.    ....
  7306.   mychar = bioskey(0); /* get 2-byte kbd code */
  7307.   usechar = (unsigned char) mychar; /*get low order byte */
  7308.        /* easier than trying to AND off unwanted bits */
  7309.   if (usechar == 0x00) usechar = (mychar >> 8) + 256;
  7310.      /* which is one way to establish unique scan char values, if needed */
  7311.  
  7312. Grant
  7313.  
  7314. >>>>>>>>>> Msg 5575 reply #9
  7315.  
  7316.    conf: PROGRAMMING LANGUAGES  #5741  07-20-88  11:34  (Read 106 times)
  7317.    from: JOHN KASTER
  7318.      to: GRANT ELLSWORTH (Rcvd)
  7319. subject: R: R: LINKED LISTS IN C  Reply to #5711
  7320.  
  7321. I did something almost Identical to that - and it works completely.  I'll
  7322. upload it after I have all the extended keys defined so nobody else has to
  7323. do that piddly work.  I have another question that I'll leave a message
  7324. about later (Bob is going to reset the board right now).
  7325.   
  7326. John
  7327.  
  7328. >>>>>>>>>> Msg 5575 reply #10  >>>Last msg in reply thread.
  7329. Returning to normal sequence.
  7330.  
  7331.    conf: PROGRAMMING LANGUAGES  #5578  07-07-88  20:39  (Read 100 times)
  7332.    from: PHIL KATZ
  7333.      to: GRANT ELLSWORTH (Rcvd)
  7334. subject: EXPRESS C?
  7335.  
  7336. Grant,
  7337.  
  7338. According to the Watcom C ads, they bundle in "Express C" with
  7339. Watcom C 6.0.  Express C is also available seperately for
  7340. about $70.  From what I can tell, Express C is Watcom's version
  7341. of Turbo C or Quick C, with integrated editor & debugger.  They
  7342. claim that Express C's compile times are faster than Turbo C
  7343. or Quick C (it's an ad after all).
  7344.  
  7345. Have you had the chance to try Express C?  If it is any decent
  7346. than the slow compile times of Watcom's command line C might
  7347. not be so bad, if like Quick C, Express C can be used for
  7348. development, and then the command line compiler used for production
  7349. code.
  7350.  
  7351. >Phil>
  7352. ---------------
  7353.  
  7354.    conf: PROGRAMMING LANGUAGES  #5590  07-08-88  21:38  (Read 111 times)
  7355.    from: GRANT ELLSWORTH
  7356.      to: PHIL KATZ (Rcvd)
  7357. subject: R: EXPRESS C?  Reply to #5578
  7358.  
  7359. Phil, Watcom Express C had a very short life on my system.  Yep,, it is
  7360. fast - about as fast as TC (maybe a little faster).  Debugger is ok.
  7361. Express C supports only the Medium model - integrated environment or not.
  7362. Most of my C code uses the compact model.  The watcom c integrated environ-
  7363. ment is not good (only the built-in debugger gives it any saving grace).
  7364. In all, I found Express C more trouble than it was worth.  If an aspiring
  7365. c-programmer/hobbyist wants to limit expenses to less than $100 , s/he
  7366. would be better off spending the $ on QC, TC, or the Mix C system.  What I
  7367. have found  "acceptable" is to build the code and shake it out in TC, then,
  7368. with discrete use of preprocessor directives, compile for super-duper opt-
  7369. imization with Watcom C 6.0 optimizer.  This, of course, requires an
  7370. all-night seance with the pc.  I'm going to be trying my code sample on MSC
  7371. 5.0 and may be able to give you some real-world compile/execute time
  7372. comparisons in a few days.  Grant
  7373.  
  7374. >>>>>>>>>> Msg 5578 reply #1  >>>Last msg in reply thread.
  7375. Returning to normal sequence.
  7376.  
  7377.    conf: PROGRAMMING LANGUAGES  #5584  07-08-88  10:45  (Read 110 times)
  7378.    from: KAREN LITTLE
  7379.      to: ALL
  7380. subject: CLARION
  7381.  
  7382. It was suggested that I ask this question here, so here goes ...
  7383.  
  7384. I just got a tutorial from Clarion and it seems really neat.
  7385.  
  7386. Has anyone ever used it?  And how does it compare to Rbase for DOS?  Is it
  7387. a similar kind of product because it is "code self-generating?"
  7388.  
  7389. Karen
  7390. ---------------
  7391.  
  7392.    conf: PROGRAMMING LANGUAGES  #5609  07-11-88  09:14  (Read 106 times)
  7393.    from: NED REITER
  7394.      to: KAREN LITTLE (Rcvd)
  7395. subject: R: CLARION  Reply to #5584
  7396.  
  7397. Karen, I have been using Clarion Professional Developer version 2.0
  7398. for about month now and I am very impressed.  The Designer allows
  7399. you to develop a complete application, from file design through
  7400. screen and report definition to running program (can be an .EXE
  7401. file using the Translator) without writing any code.  It supports
  7402. the use of table screens for file lookup and form screens for
  7403. file maintenance.  If you need to do something that the Designer
  7404. won't, you can write your own module in Clarion using the Editor
  7405. and have it included in the final program.  Although Clarion is
  7406. not inexpensive, it is quite powerful.  The cost is comparable to
  7407. a good DBMS plus programming language, and the Designer is a bonus.
  7408. .
  7409. I can't make a comparison to R-Base, since I haven't used it, but
  7410. it seems to serve a similar function.  However, the Clarion
  7411. language was designed to be a logical method of programming.  The
  7412. rationale for the language is very interesting.  If you didn
  7413. get the demo direct from Clarion, call them and ask for the inof
  7414. package.
  7415. .
  7416. If you would like to see Clarion in action, please feel free to
  7417. call me at 414-744-4546.
  7418. .
  7419. Ned
  7420.  
  7421. >>>>>>>>>> Msg 5584 reply #1
  7422.  
  7423.    conf: PROGRAMMING LANGUAGES  #5610  07-11-88  12:44  (Read 112 times)
  7424.    from: KAREN LITTLE
  7425.      to: NED REITER (Rcvd)
  7426. subject: R: R: CLARION  Reply to #5609
  7427.  
  7428.      cc: TOM DUNLAVEY
  7429.      cc: MIKE WESOLOWSKI
  7430.  
  7431. Net, I'll call you later this week about seeing Clarion in action.  If you
  7432. don't mind, perhaps I could include a friend who knows RBase.  I know you
  7433. CAN'T create a stand alone program inRBase without a $1,000 new "program
  7434. translator".
  7435.  
  7436. I read today about Lotus' new information management system ... I am
  7437. forever dreaming these things up and then using FileExpress.  One that I am
  7438. working on lately is doing crossreferences on a correspondence system and
  7439. that could be crossreferenced to meetings and other contacts.  You see,
  7440. when you run an organization based on "networking" through meetings, etc.,
  7441. each person is a gold mine of information.  If one person quits, a GREAT
  7442. deal of information is lost and may never be made up.  Anyway, I have this
  7443. module and that module.  I'd like to be able to program on the fly without
  7444. getting caught up in learning the language ... and don't know if I am nieve
  7445. (however that word is spelled) in my goal.   ... The friend I'd like to
  7446. come along (who doesn't know it yet) is Tom Dunlavey.
  7447.  
  7448. Thanks, Karen
  7449.  
  7450. >>>>>>>>>> Msg 5584 reply #2
  7451.  
  7452.    conf: PROGRAMMING LANGUAGES  #5619  07-12-88  08:34  (Read 103 times)
  7453.    from: NED REITER
  7454.      to: KAREN LITTLE (Rcvd)
  7455. subject: R: R: CLARION  Reply to #5610
  7456.  
  7457. Fine, just give me a call.  Tom is welcome, too.  I will be at
  7458. clients all day Thursday, however, so Wednesday or Friday would
  7459. be best.
  7460.  
  7461. Rbase wants $1000 for the translator?  Clarion Professional Developer
  7462. cost less than that including the translator.  I think it may be
  7463. just what you are looking for.
  7464. Ned
  7465.  
  7466. >>>>>>>>>> Msg 5584 reply #3  >>>Last msg in reply thread.
  7467. Returning to normal sequence.
  7468.  
  7469.    conf: PROGRAMMING LANGUAGES  #5594  07-09-88  04:13  (Read 111 times)
  7470.    from: BRUCE SHERMAN
  7471.      to: KAREN LITTLE (Rcvd)
  7472. subject: PROGRAM GENERATORS
  7473.  
  7474. Like you, I have the Clarion demo.  But, I have been so busy that I
  7475. haven't tried it yet.  If you're interested in generating applications,
  7476. including creating .EXE files, then you might want to wait a little
  7477. bit longer for dBase IV.
  7478. ---------------
  7479.  
  7480.    conf: PROGRAMMING LANGUAGES  #5599  07-10-88  16:24  (Read 107 times)
  7481.    from: KAREN LITTLE
  7482.      to: BRUCE SHERMAN (Rcvd)
  7483. subject: R: PROGRAM GENERATORS  Reply to #5594
  7484.  
  7485. I played with Clarion on Friday evening ... it sure seemed a lot like R
  7486. base for DOS (which I have, but have not learned yet).
  7487.  
  7488. I am into EASY ... I do too much to have to play with programming, and so I
  7489. have deferred to File Express for a lot of things.  A friend is helping me
  7490. by writing out an extensive application in ... he hasn't chosen it yet, but
  7491. I think it will end up in dBase as FoxBase didn't do it for him.
  7492.  
  7493. I like the idea of generating .exe files rather than booting up a program,
  7494. then going into a file, etc.
  7495.  
  7496. RBase took up !@#$!@ much memory ... while my friends learned how to use it
  7497. with ease, and while I UNDERSTOOD some of the concepts, there was an
  7498. irritation factor there which prompted me to avoid the program.  I
  7499. absolutely hated dBase III.  RBase isn't a good program for a 20 mg hard
  7500. drive ... now I have 40 mgs maybe I will see things differently.  Let me
  7501. know what you think of the Clarion demo.
  7502.  
  7503. Karen
  7504.  
  7505. >>>>>>>>>> Msg 5594 reply #1
  7506.  
  7507.    conf: PROGRAMMING LANGUAGES  #5675  07-16-88  07:02  (Read 104 times)
  7508.    from: LOWELL DENNING
  7509.      to: KAREN LITTLE (Rcvd)
  7510. subject: R: R: PROGRAM GENERATORS  Reply to #5599
  7511.  
  7512. Karen,
  7513.    Infoworld reviewed a number of relational database program environment
  7514. s about a week ago.  They picked Clarion as the best total package on the
  7515. market for developing applications!
  7516.            Lowell
  7517.  
  7518. >>>>>>>>>> Msg 5594 reply #2
  7519.  
  7520.    conf: PROGRAMMING LANGUAGES  #5677  07-16-88  10:56  (Read 106 times)
  7521.    from: KAREN LITTLE
  7522.      to: LOWELL DENNING (Rcvd)
  7523. subject: R: R: PROGRAM GENERATORS  Reply to #5675
  7524.  
  7525.      cc: NED REITER
  7526.      cc: STEPHEN ROSS
  7527.  
  7528. Lowell,
  7529.  
  7530. I met with Ned Reiter (I hope that's how his last name is spelled...I'm not
  7531. by his card at the moment).  He has 22 years plus experience as a
  7532. programmer and he talks really strongly for Clarion.
  7533.  
  7534. I AM impressed.
  7535.  
  7536. The $700 it would take to get into it ... especially seeing as I own Rbase
  7537. for DOS ... I am hesitating.
  7538.  
  7539. I have a friend who is doing Paradox and really got sucked into the "fun
  7540. and excitement" of programming when actually his talents lie in another
  7541. place.  I REALLY need to develop special "on the fly FAST."
  7542.  
  7543. So my worry is that if I get into EASY Clarion I will be spending 48 hours
  7544. on developing something and thereby neglecting my other work.
  7545.  
  7546. I need a sense of fastness with the program ... I wish Clarion would put it
  7547. on trial for a month.  I am going to upload CLARION.ARC demo today for
  7548. anyone who'd wish to use it.
  7549.  
  7550. Karen
  7551.  
  7552. >>>>>>>>>> Msg 5594 reply #3
  7553.  
  7554.    conf: PROGRAMMING LANGUAGES  #5678  07-16-88  11:19  (Read 104 times)
  7555.    from: STEPHEN ROSS
  7556.      to: KAREN LITTLE (Rcvd)
  7557. subject: R: R: PROGRAM GENERATORS  Reply to #5677
  7558.  
  7559. Thanks, buddy, dear friend of mine ... after telling me to quit programming
  7560. and get to what I'm good at, now you entice me with a new "better" way to
  7561. do what Ishouldn't be doing.  I'll download Clarion.Arc next log on.
  7562.  
  7563. With friends like you ...
  7564.  
  7565. Hugs, anyway,
  7566.  
  7567. Steve
  7568.  
  7569. >>>>>>>>>> Msg 5594 reply #4
  7570.  
  7571.    conf: PROGRAMMING LANGUAGES  #5708  07-18-88  19:19  (Read 96 times)
  7572.    from: KAREN LITTLE
  7573.      to: STEPHEN ROSS (Rcvd)
  7574. subject: R: R: PROGRAM GENERATORS  Reply to #5678
  7575.  
  7576. Stop
  7577.  
  7578.      the current CLARION.ARC is the OLD version
  7579.  
  7580. I have asked Mahoney to remove it so I can put up the new version.
  7581.  
  7582. I will wait another day, check it, and hopefully by Wednesday the NEW
  7583. clarion.arc will appear.
  7584.  
  7585. hugs, eh?
  7586.  
  7587. I should have come on this conference long ago, Karen
  7588. {
  7589. z
  7590.  
  7591. >>>>>>>>>> Msg 5594 reply #5  >>>Last msg in reply thread.
  7592. Returning to normal sequence.
  7593.  
  7594.    conf: PROGRAMMING LANGUAGES  #5595  07-09-88  08:40  (Read 107 times)
  7595.    from: DAVE CLAY
  7596.      to: PAUL ZIMMERMAN (Rcvd)
  7597. subject: BIOS  SCRATCH AREA
  7598.  
  7599.      cc: PHIL KATZ
  7600.  
  7601. Paul and Plil,
  7602. Thanks for your explanation of the time of day being stored in 0000:046C
  7603. That helps a lot.  Your wise council is always appreciated.
  7604.                  Thanks again,   Dave Clay
  7605. ---------------
  7606.  
  7607.    conf: PROGRAMMING LANGUAGES  #5596  07-09-88  18:07  (Read 102 times)
  7608.    from: JACK KETTER
  7609.      to: ALL
  7610. subject: BASICA GRAPHICS
  7611.  
  7612. Does anyone know of a basica routine to rotate a square on the screen
  7613. with the axis being in the center of the square?
  7614.    Thanks
  7615. ---------------
  7616.  
  7617.    conf: PROGRAMMING LANGUAGES  #5597  07-09-88  20:42  (Read 102 times)
  7618.    from: JAMES SABATKE
  7619.      to: PHIL KATZ (Rcvd)
  7620. subject: SEAVPKW.ARC
  7621.  
  7622. Phil,
  7623.  
  7624.    After reading the file vercomp.fin I wonder if the inventor of a "better
  7625. mouse-trap" would find a world of lawyers beating a path to his door.
  7626.  
  7627. Jim
  7628. ---------------
  7629.  
  7630.    conf: PROGRAMMING LANGUAGES  #5601  07-10-88  17:45  (Read 105 times)
  7631.    from: CURTIS ABRUE
  7632.      to: DAVE KOCOL (Rcvd)
  7633. subject: T-PASCAL
  7634.  
  7635. Dave:
  7636.      Just out of curiosity...what type of a program did you want to
  7637. write that motivates you to learn a language...?
  7638.      The reason I'm asking is because I picked out Pascal after I
  7639. heard it was originally designed by a mathematician, and the app
  7640. I wanted to write was a math application.
  7641.      I am also studying Turbo Prolog for an expert application i
  7642. have in mind.
  7643.      My point is, it depends on what you want to do with it.  Any
  7644. language is fine, even BASIC, depending on what you want to do with
  7645. it.
  7646.      Good luck whatever you choose!
  7647. Curt
  7648. ---------------
  7649.  
  7650.    conf: PROGRAMMING LANGUAGES  #5603  07-10-88  23:20  (Read 106 times)
  7651.    from: DAVE KOCOL
  7652.      to: CURTIS ABRUE (Rcvd)
  7653. subject: R: T-PASCAL  Reply to #5601
  7654.  
  7655. Curtis,
  7656.  
  7657. I want to write a multifunction bulletin board type program, which would
  7658. include the following:
  7659.  
  7660. 1. A data input section, for uploading data from a specific form (field
  7661. service report).
  7662. 2. A message base (E-Mail type setup).
  7663. 3. A hard copy message center (upload message directly to printer).
  7664. 4. Small database, about 6 fields.
  7665.  
  7666. I work as a field service engineer for a large company. We use laptops
  7667. daily as part of our jobs. Unfortunatly, the way data is retrieved from the
  7668. field (us F.E.'s calling in), is on an old CP/M machine. I'm on a crusade
  7669. to upgrade this old dinosaur to an AT or 386, and put a 140Meg HD to store
  7670. the data. Although the program itself seems quite ambitious, breaking it
  7671. down into small conquerable parts shouldn't be too bad. Hope to run it by
  7672. October. Drop me a line every once in a while to see how I'm doing.
  7673. Does all this make sense?
  7674.  
  7675. Dave
  7676.  
  7677. >>>>>>>>>> Msg 5601 reply #1
  7678.  
  7679.    conf: PROGRAMMING LANGUAGES  #5614  07-11-88  18:41  (Read 104 times)
  7680.    from: JOHN GRANT
  7681.      to: DAVE KOCOL (Rcvd)
  7682. subject: R: R: T-PASCAL  Reply to #5603
  7683.  
  7684. Why not write standalone data entry modules for the remote PCs that can be
  7685. batched (and edited) remotely and uploaded to a BBS with some sort of
  7686. script file?
  7687.  
  7688. There are plenty of good BBS packages that could be modified thus, and a
  7689. six-field database shouldn't be that hard to program for the standalones.
  7690.  
  7691. >>>>>>>>>> Msg 5601 reply #2
  7692.  
  7693.    conf: PROGRAMMING LANGUAGES  #5641  07-13-88  22:06  (Read 100 times)
  7694.    from: DAVE KOCOL
  7695.      to: JOHN GRANT (Rcvd)
  7696. subject: R: R: T-PASCAL  Reply to #5614
  7697.  
  7698. John,
  7699.  
  7700. The content of your message (the one I am replying to) sounds good, can you
  7701. elaborate? One of the reasons that I'm tring to write the file is that it
  7702. must be fool proof, as many fools will be using it. It must be able to be
  7703. used by someone who is very computer illiterate. In addition to that, my
  7704. boss is cheap, and would be hard to persuade to use some of his hard fought
  7705. budget on software. He is not a computer literate type, and has difficulty
  7706. in trusting things he doesn't understand. Sound interesting? Thanks for the
  7707. input, I'll be looking for your response.
  7708.  
  7709. Dave
  7710.  
  7711. >>>>>>>>>> Msg 5601 reply #3  >>>Last msg in reply thread.
  7712. Returning to normal sequence.
  7713.  
  7714.    conf: PROGRAMMING LANGUAGES  #5604  07-11-88  02:51  (Read 107 times)
  7715.    from: PAUL SCHMIDT
  7716.      to: ALL
  7717. subject: CODEVIEW? WHAT CODEVIEW?
  7718.  
  7719. With all of the discussion about which 'C' to buy and what functions the
  7720. debuggers have, I've been amused to find a lot of interest in these areas.
  7721. Do you people really use the debuggers included with these compilers?
  7722.  
  7723. I also chuckled a bit when someone accused Phil Katz of being a 'Real
  7724. Programmer' as if it were some kind of insult.  If Mr. Katz is the Mr. Katz
  7725. I'm thinking of, he is truely a 'Real Programmer'.  Phil, are you the Phil
  7726. Katz who did the original Graftrix graphics subsystem?  Hm....
  7727.  
  7728. About the debuggers, I've used MS C 3.x, 4.x, and 5.x (now on 5.1), and
  7729. I've dabbled with Codeview enough to know that it's useless for operating
  7730. system shells, memory resident programs, programs that accellerate the
  7731. system clock...really most of what I do.  In writing Reference File (a
  7732. memory resident database), I found it more cumbersome to use a debugger
  7733. than guess.  Oh well, REAL programmers have E.S.P.
  7734.  
  7735. On a constructive note, I discovered something in the last project I did
  7736. that decreased my development time by an incredible amount, and I swear
  7737. I'll never write another large application without it.  I was writing a
  7738. graphics operating system for a CAD/CAE company to write appilcations with,
  7739. and I was using pointing devices for input.  Since I had the routines for
  7740. serial handling already resident in the code, I modified them to run with a
  7741. second serial port and put in all sorts of traps to output stuff to the
  7742. second serial port.
  7743.     HEY!  I can tell what the hell the program is doing, and I don't need a
  7744. debugger all of the sudden.  Since I had an operating system that accepted
  7745. calls from applications exec'd from it, I output the calls in C source
  7746. format on the second terminal, and whammo, I have executable code that
  7747. duplicates what happened.
  7748.   This type of debugging environment allows the second terminal to act as a
  7749. bonehead debugger if you also put in code to listen to the terminal, single
  7750. stepping, string traps, etc.  I even have a mode in it so I can step around
  7751. through memory and look at what's really there.
  7752.  
  7753.   My nickname for this debugging fascility is 'E.S.P.'...Hm....
  7754.  
  7755. Would anyone out there be interested in buying a TSR that did these
  7756. functions with a COM port if I were to write a marketable version of it?
  7757. ---------------
  7758.  
  7759.    conf: PROGRAMMING LANGUAGES  #5615  07-11-88  20:49  (Read 107 times)
  7760.    from: PHIL KATZ
  7761.      to: PAUL SCHMIDT (Rcvd)
  7762. subject: R: CODEVIEW? WHAT CODEVI  Reply to #5604
  7763.  
  7764. Paul,
  7765.  
  7766. I read somewhere that "Real programmers don't eat quiche - they
  7767. eat twinkies, coke, and palette scorching Szechwan food."
  7768.  
  7769. Well, that describes me to a T.  However, I haven't written
  7770. in Graftex software.
  7771.  
  7772. >Phil>
  7773.  
  7774. >>>>>>>>>> Msg 5604 reply #1  >>>Last msg in reply thread.
  7775. Returning to normal sequence.
  7776.  
  7777.    conf: PROGRAMMING LANGUAGES  #5607  07-11-88  07:58  (Read 103 times)
  7778.    from: STEVEN KEY
  7779.      to: JEFF WELCH
  7780. subject: A86STUFF
  7781.  
  7782. As an a86 user I like to keep the latest version.  I have 3.17. Is
  7783. the "latest" version you uploaded newer than that ?
  7784.  
  7785. Thanks.
  7786. ---------------
  7787.  
  7788.    conf: PROGRAMMING LANGUAGES  #5613  07-11-88  16:51  (Read 104 times)
  7789.    from: RICHARD HILLIARD
  7790.      to: ALL
  7791. subject: PROGRAMMER WANTED
  7792.  
  7793.  
  7794. I am looking for one or more DataFlex people to assist me in a large
  7795. project.
  7796.  
  7797. If you are interested please contact me in private.
  7798.  
  7799.  
  7800. ---------------
  7801.  
  7802.    conf: PROGRAMMING LANGUAGES  #5763  07-22-88  12:26  (Read 106 times)
  7803.    from: STEVEN KEY
  7804.      to: RICHARD HILLIARD (Rcvd)
  7805. subject: R: PROGRAMMER WANTED  Reply to #5613
  7806.  
  7807. I have a friend in Madison who has done quite a bit of Dataflex work.  He
  7808. does not keep an account on this board. He asked me to help him get in
  7809. touch with you.  If you like, you can call him at 608 837 5527, name of Jim
  7810. Wargula.  If you would prefer, you can leave me your number, and I will
  7811. give it to him.
  7812.  
  7813. Steve
  7814. s}i~
  7815. `
  7816.  
  7817. >>>>>>>>>> Msg 5613 reply #1
  7818.  
  7819.    conf: PROGRAMMING LANGUAGES  #5770  07-23-88  06:12  (Read 105 times)
  7820.    from: RICHARD HILLIARD
  7821.      to: STEVEN KEY (Rcvd)
  7822. subject: R: R: PROGRAMMER WANTED  Reply to #5763
  7823.  
  7824. Thank You I will contact him.
  7825.  
  7826. >>>>>>>>>> Msg 5613 reply #2  >>>Last msg in reply thread.
  7827. Returning to normal sequence.
  7828.  
  7829.    conf: PROGRAMMING LANGUAGES  #5617  07-12-88  01:44  (Read 110 times)
  7830.    from: JAMES DICKE
  7831.      to: ALL
  7832. subject: C SCREEN HELP
  7833.  
  7834.      cc: PHIL KATZ
  7835.  
  7836. I have been tring to get the DOS INT calls working though Quick C v5.
  7837. I was able to get INT 5 print screen to work fine. But the registers
  7838. don't seem to be passed correctly cause any combination on them does
  7839. nothing. Could any one help me out? What I'm eventually tring to do
  7840. is make a "TEXT SCREEN" editor that allows you to "cursor" around the
  7841. screen and enter text. Then I will read the screen data (directly at
  7842. B000 or B800 i guess) to save it. I am very new to the C world and
  7843. could use any guidence. Am I barking up the wrong tree? From what I
  7844. can figure out, C dosn't have any screen handling functions so I
  7845. figured I have to use BIOS.
  7846.  
  7847. P.S. How do I specify a hex number in C? Is it a hex() function?
  7848.  
  7849. James
  7850.  
  7851. --------------------------------------
  7852.  
  7853. #include <stdio.h>
  7854. #include <conio.h>
  7855. #include <dos.h>
  7856. union REGS regs;
  7857.  
  7858. main()
  7859. {
  7860. char    ch;
  7861.  
  7862. printf ("To begin press return:");
  7863. getch ( ch );
  7864.  
  7865. scroll_left( 1 );
  7866.  
  7867. exit (0);
  7868. }
  7869.  
  7870. /*---------------------------*/
  7871.  
  7872. scroll_left( int lines )
  7873. {
  7874.         regs.h.ah = 115;    /* function number  73H   */
  7875.         regs.h.al = lines;  /* number lines to scroll */
  7876.         regs.h.bh = 0;      /* attr setting           */
  7877.         regs.h.ch = 5;      /* upper left row         */
  7878.         regs.h.cl = 5;      /* upper left column      */
  7879.         regs.h.dh = 25;     /* lower right row        */
  7880.         regs.h.dl = 80;     /* lower right column     */
  7881.  
  7882.       int86( 10, ®s, ®s );
  7883.  
  7884. }
  7885.  
  7886. ---------------
  7887.  
  7888.    conf: PROGRAMMING LANGUAGES  #5618  07-12-88  02:15  (Read 102 times)
  7889.    from: PAUL SCHMIDT
  7890.      to: JAMES DICKE (Rcvd)
  7891. subject: R: C SCREEN HELP  Reply to #5617
  7892.  
  7893. James,
  7894.   Hex numbers are specified with the prefix '0x'.  For example, the
  7895. overplayed 70's rock group ABBA in hex would be assigned to a variable
  7896. 'rax_munch' like this:
  7897.  
  7898.       rax_munch = 0xabba;       /* for rax to watch Abba while eating */
  7899.  
  7900.   The screen handling on the PC is really rediculous, and the standards
  7901. that are out there are so non-standard and inconsistent that they become a
  7902. subject for a bestseller all by themselves.  A great help for me to learn C
  7903. when I was using C86 (by Computer Innovations) was to write a screen
  7904. handling package that used BIOS or went directly to screen memory.  I
  7905. learned about far pointers and compiler bugs, etc. and have since ported it
  7906. all into assembly, but that package is the basis for all of my software
  7907. screen handling even today.
  7908.   If you're really interested in learning C, write a library for yourself
  7909. that is not written for any particular application, but is designed to link
  7910. with any application.  You'll learn a lot, and get a feel for C at the same
  7911. time.
  7912.   Oh, by the way, printf(...) calls in most of the floating point libraries
  7913. in most of the major C compilers.  If it's use can be avoided, you're saved
  7914. 3-8K in your .EXE file.
  7915.  
  7916. >>>>>>>>>> Msg 5617 reply #1
  7917.  
  7918.    conf: PROGRAMMING LANGUAGES  #5625  07-12-88  22:42  (Read 100 times)
  7919.    from: PHIL KATZ
  7920.      to: JAMES DICKE (Rcvd)
  7921. subject: R: C SCREEN HELP  Reply to #5617
  7922.  
  7923. James,
  7924.  
  7925. Well, Paul pretty much explained hex numbers in C for you.
  7926.  
  7927. To perform screen I/O functions, you can use ANSI
  7928. control sequences for such things as moving the cursor,
  7929. selecting colors etc., but this is pretty slow.
  7930. A faster method is to use the BIOS screen services, or
  7931. directly manipulate the video RAM yourself.  Anyway,
  7932. just as a tip, the BIOS maps out the screen as starting
  7933. at row 0, column 0 in the upper left, with the bottom
  7934. right of the screen being row 24, column 79, not row 25
  7935. column 80.
  7936.  
  7937. Also, I don't think there is a BIOS video function 115 or
  7938. 0x73, nor have I heard of any BIOS functions that do
  7939. sideways left or right scrolling.  There are a few good
  7940. files in the file collection documenting the BIOS and DOS
  7941. calls.  Also, the IBM technical reference manual and many
  7942. aftermarket books describe this stuff as well.
  7943.  
  7944. >Phil>
  7945.  
  7946. >>>>>>>>>> Msg 5617 reply #2
  7947.  
  7948.    conf: PROGRAMMING LANGUAGES  #5630  07-13-88  16:49  (Read 97 times)
  7949.    from: JAMES DICKE
  7950.      to: PHIL KATZ (Rcvd)
  7951. subject: R: R: C SCREEN HELP  Reply to #5625
  7952.  
  7953. Well thanks for the replys, but thing is Quick C dosn't work with NANSI.SYS
  7954. (the esc sequence just prints normal) whil in the editer/environment. Also
  7955. I got the 115 0x.73 from a DOS call list that was on this system. It says
  7956. "INT 10" set ah to 0x73 and thats a scroll left routine. Ack. I think I'll
  7957. just do this in QuickBASIC and get it done with. Thanks for the input
  7958. though! I hope I have better luck in the future with C.Oh, so your saying
  7959. the way I set up the call should work fine ? (I mean the registers should
  7960. be passed just fine the way I had it?)
  7961.  
  7962. James
  7963.  
  7964. >>>>>>>>>> Msg 5617 reply #3
  7965.  
  7966.    conf: PROGRAMMING LANGUAGES  #5634  07-13-88  21:14  (Read 95 times)
  7967.    from: PAUL ZIMMERMAN
  7968.      to: PHIL KATZ (Rcvd)
  7969. subject: R: R: C SCREEN HELP  Reply to #5625
  7970.  
  7971. There is a BIOS function for sideways scrolling in the Tandy 1000!
  7972. (I ought to know, I OWN one... :-) Tandy made the left & right scroll
  7973. functions 75 & 76 hex so as to not get caught by expansion. And, they
  7974. guessed pretty well. Those numbers didn't conflict with IBM's Int 10
  7975. extensions for the EGA.... (of course, no one ever USES those functions on
  7976. the T1k, since only IBM features matter... but they are there...)
  7977. If the guy asking the question doesn't have a T1k or other tandy machine,
  7978. he is out of luck on this feature, I think. Have heard of no other machines
  7979. that have it...
  7980.                                                           Paul
  7981.  
  7982. >>>>>>>>>> Msg 5617 reply #4
  7983.  
  7984.    conf: PROGRAMMING LANGUAGES  #5635  07-13-88  21:16  (Read 96 times)
  7985.    from: PAUL ZIMMERMAN
  7986.      to: JAMES DICKE (Rcvd)
  7987. subject: R: R: C SCREEN HELP  Reply to #5630
  7988.  
  7989. See my reply to Phil #5634... What you want exists only on the Tandy 1000
  7990. as far as I know. Since it it meant to be a clones of the PC Jr... maybe
  7991. those have it too??? could be... Else, you are out of luck.
  7992.  
  7993. >>>>>>>>>> Msg 5617 reply #5
  7994.  
  7995.    conf: PROGRAMMING LANGUAGES  #5644  07-14-88  01:42  (Read 97 times)
  7996.    from: PHIL KATZ
  7997.      to: JAMES DICKE (Rcvd)
  7998. subject: R: R: C SCREEN HELP  Reply to #5630
  7999.  
  8000. James,
  8001.  
  8002. Yeah, the way you set up the call was fine.  However, I don't
  8003. think that function number 115 for the Video BIOS is a valid
  8004. function number on most machines.  According to Paul, Tandy
  8005. T-1000's have that function, but normal IBM's don't.
  8006.  
  8007. >Phil>
  8008.  
  8009. >>>>>>>>>> Msg 5617 reply #6
  8010.  
  8011.    conf: PROGRAMMING LANGUAGES  #5697  07-17-88  17:01  (Read 98 times)
  8012.    from: JAMES DICKE
  8013.      to: PHIL KATZ (Rcvd)
  8014. subject: R: R: C SCREEN HELP  Reply to #5644
  8015.  
  8016.      cc: PAUL ZIMMERMAN
  8017.  
  8018. Thank you
  8019.  
  8020. jamesd@lakesys.UUCP
  8021.     Call the infamous City of Aldimar adventure system @ (414) 527-4779
  8022.       Not a BBS- but an ongoing adventure GAME in a wondrous world.
  8023. (Spells, Monsters, Combat, Dungeons, Equipment, Treasures, Term-emu, &
  8024. more)
  8025.  
  8026. >>>>>>>>>> Msg 5617 reply #7  >>>Last msg in reply thread.
  8027. Returning to normal sequence.
  8028.  
  8029.    conf: PROGRAMMING LANGUAGES  #5620  07-12-88  12:46  (Read 114 times)
  8030.    from: BILL RANINEN
  8031.      to: KENNETH STRYSICK (Rcvd)
  8032. subject: R: R: QB4 PROGRAMMING QU  Reply to #5511
  8033.  
  8034. KEN,
  8035.  
  8036. I WOULD *REALLY* APPRECIATE IT! THANKS...
  8037. THE ADDRESS IS...
  8038.  
  8039. BILL RANINEN
  8040. C/O MARK GEER
  8041. 6217 N. LAKE DRIVE
  8042. WHITEFISH BAY, WI  53217-4341
  8043.  
  8044. P.S. THANX AGAIN!
  8045. ---------------
  8046.  
  8047.    conf: PROGRAMMING LANGUAGES  #5621  07-12-88  15:00  (Read 104 times)
  8048.    from: SCOTT CHAMBERLAIN
  8049.      to: ALL
  8050. subject: NEW CLIPPER MANUAL
  8051.  
  8052. This is just a quick note for those that care.  I received today my
  8053. replacement chapters for my Summer '87 manual.  Evidently the noise that
  8054. us users made about having to insert pages, cross out old incorrect
  8055. information so as to retain the stuff printed on the back, etc., made a big
  8056. impression on the fellas at Nantucket.  What I got was a new table of
  8057. contents first page, a new chapter 5 (command reference), new chapter 6
  8058. (function reference), and a new index.  These are full replacements, you
  8059. pull out the old chapters in total and replace them with the new ones.  The
  8060. printing quality is the same as the rest of the manual - same styling, same
  8061. two color (blue/black) printing.
  8062.  
  8063. God, it feels good that they care about us so much.  This is the first time
  8064. I have seen that the company realizes the documentation is as important, if
  8065. not more so, than the program itself.
  8066.  
  8067. Later,
  8068.    Scott
  8069. ---------------
  8070.  
  8071.    conf: PROGRAMMING LANGUAGES  #5657  07-15-88  05:25  (Read 95 times)
  8072.    from: TOM SWENSON
  8073.      to: SCOTT CHAMBERLAIN (Rcvd)
  8074. subject: R: NEW CLIPPER MANUAL  Reply to #5621
  8075.  
  8076. Scott, I also received my two new chapters with an index!!! great to
  8077. receive such support. But, yesterday I was trying something new, and I got
  8078. an error I had never seen before, so I went to the appendix with the error
  8079. code listings for a hint... and there was nothing there. Nantucket has been
  8080. great for free upgrades and the additional work on the manual, but I feel
  8081. they still have left the manual unfinished, and would also like some
  8082. exaamples of all features of the language... such as how do you use a udf
  8083. in ACHOICE()... I finally found out, but not from the manual.
  8084.    Tom Swenson
  8085.  
  8086. >>>>>>>>>> Msg 5621 reply #1
  8087.  
  8088.    conf: PROGRAMMING LANGUAGES  #5660  07-15-88  08:43  (Read 103 times)
  8089.    from: SCOTT CHAMBERLAIN
  8090.      to: TOM SWENSON (Rcvd)
  8091. subject: R: R: NEW CLIPPER MANUAL  Reply to #5657
  8092.  
  8093. If your error message wasn't detailed in the manual, I'd re-link the
  8094. program with the DEBUG.OBJ and ALTERROR.OBJ modules, and try it again.  I
  8095. think the current debugging environment is light-years ahead of what was
  8096. available in the A'86 version, but I still have problems with it.
  8097.  
  8098. Currently I am developing a comprehensive manufacturing control and
  8099. reporting system, covering nearly every phase of business for a job shop.
  8100. The system runs on a Novell Advanced Netware 286 net that uses Thin
  8101. Ethernet segments to hook it up.  I just developed some Netware/Clipper
  8102. interface routines to perform critical process synchronization between
  8103. multiple workstations running the same application concurrently.
  8104.  
  8105. The problem came in debugging the interface routines themselves, written in
  8106. assembly language.  I spent two days trying to find a particularly nasty
  8107. bug that was preventing the whole thing from working, and was causing
  8108. intermittent workstation crashes, and at one point I could crash the
  8109. FILESERVER!  The problem came in the fact that the Clipper debugging
  8110. system captures the Ctrl-Break vector from Debug and never lets me break
  8111. out of the program at that low level.  And, I have no desire to single step
  8112. the code until I got through all of Clipper's initialization routines and
  8113. such to find the first of my test function calls!
  8114.  
  8115. Fortunately, I was able through a process of elimination to figure out that
  8116. the problem was in how I was setting up the DS register before the Netware
  8117. function call - thus triggering the dire conseqences.  The irony is that if
  8118. I could have coordinated Clipper's debugger and Debug I would have spotted
  8119. the incorrect value in the segment register much more quickly and would
  8120. have solved the problem in about an hour's time.
  8121.  
  8122. One day I may just spring (or talk the accountants at my client into
  8123. springing) for an Atron Bugbuster or a Periscope debugger, but it's a
  8124. little tough to justify up to $5000 for this kind of thing.  Well,one can
  8125. wish can't one?
  8126.  
  8127. Later,
  8128.    Scott
  8129.  
  8130. >>>>>>>>>> Msg 5621 reply #2  >>>Last msg in reply thread.
  8131. Returning to normal sequence.
  8132.  
  8133.    conf: PROGRAMMING LANGUAGES  #5622  07-12-88  16:01  (Read 103 times)
  8134.    from: TOM PETERS
  8135.      to: DAVID NYE (Rcvd)
  8136. subject: CLOCK PROGRAMS
  8137.  
  8138. David: I took a few clock programs apart for you.
  8139.  
  8140. HYPERCLK.COM  does INs from ports at 2C1, 281, 2CE, 2C7, 2C6, 2C5.
  8141.  
  8142. A program called SETDOS that reads the clock and sets the DOS time &
  8143. date from it does INs from ports at 171 and outs to a port at 170.
  8144.  
  8145. SETRTC sets the clock chip and does a lot of peculiar things. This
  8146. sequence shows up a lot:
  8147. xxxx:0351 JMP SHORT 352
  8148. xxxx:0352 JMP SHORT 353
  8149.                          and then more code. The two meaningless jumps
  8150. are used after every OUT instruction, presumably to flush the prefetch
  8151. queue on '286 and '386 computers, or waste time, or both. It might be
  8152. wise for you to do the same. I think MASM lets you code them as JMP $+1
  8153.  
  8154. SETRTC has some code like this in it:
  8155. MOV DX,170
  8156. MOV AL,0A
  8157. OUT DX,AL
  8158. JMP $+1
  8159. JMP $+1
  8160. MOV AL,26
  8161. INC DX
  8162. OUT DX,AL
  8163. DEC DX
  8164. JMP $+1
  8165. JMP $+1
  8166. MOV AL,0B
  8167. OUT DX,AL
  8168. JMP $+1
  8169. JMP $+1
  8170. MOV DX,171
  8171. MOV AL,82
  8172. OUT DX,AL              and etcetera. Why they bash so many constants out
  8173. I can't tell you.  Hope this helps.
  8174.  
  8175. ---------------
  8176.  
  8177.    conf: PROGRAMMING LANGUAGES  #5735  07-19-88  23:58  (Read 88 times)
  8178.    from: DAVID NYE
  8179.      to: TOM PETERS (Rcvd)
  8180. subject: R: CLOCK PROGRAMS  Reply to #5622
  8181.  
  8182. Thanks.  I found a program a friend had which works on my system.  It
  8183. accesses a block of ports starting at 01ED.
  8184.  
  8185. >>>>>>>>>> Msg 5622 reply #1  >>>Last msg in reply thread.
  8186. Returning to normal sequence.
  8187.  
  8188.    conf: PROGRAMMING LANGUAGES  #5623  07-12-88  16:02  (Read 107 times)
  8189.    from: TOM PETERS
  8190.      to: PHIL KATZ (Rcvd)
  8191. subject: INTERESTING CODE
  8192.  
  8193. Phil: I disassembled a program for a guy and found that this
  8194. sequence shows up a lot:
  8195. xxxx:0351 JMP SHORT 352
  8196. xxxx:0352 JMP SHORT 353
  8197.                          and then more code. The two meaningless jumps
  8198. are used after every OUT instruction, presumably to flush the prefetch
  8199. queue on '286 and '386 computers, or waste time, or both. Are jumps like
  8200. that often used after In/Out? Why?
  8201.  
  8202. I think MASM lets you code them as JMP $+1. Will that wind up being a
  8203. short jump (least bytes required for instructions) or would one have to
  8204. code it as JMP SHORT $+1 ? Or would MASM force me to assign labels and
  8205. JMP SHORT label?
  8206.  
  8207. Here's a real cute piece of code. This routine is called from a location
  8208. that has a $ terminated message embedded in the code space right after the
  8209. call, and the next instruction to execute lives right after the $ at the
  8210. end of the message. I thought it was clever, once I figured out what it
  8211. does, especially the JMP SI. You don't have to load the address of a
  8212. message to print out to the console, just embed it in the code and call
  8213. this routine. Too bad it won't work so well in EXE files, nor places where
  8214. the code and data have to be separate.
  8215.  
  8216. MSG:  POP SI
  8217.       CLD
  8218. AGN:  LODSB
  8219.       CMP AL,24
  8220.       JE QUIT
  8221.       MOV DL,AL
  8222.       MOV AH,2
  8223.       INT 21
  8224.       JMP AGN
  8225. QUIT: JMP SI
  8226.  
  8227. ---------------
  8228.  
  8229.    conf: PROGRAMMING LANGUAGES  #5627  07-12-88  22:55  (Read 107 times)
  8230.    from: PHIL KATZ
  8231.      to: TOM PETERS (Rcvd)
  8232. subject: R: INTERESTING CODE  Reply to #5623
  8233.  
  8234. Tom,
  8235.  
  8236. In IBM's AT technical reference manual, they recommend placing
  8237. jmp short $+2 statements between back-to-back port I/O statements.
  8238. The reason is to allow slower I/O devices enough time to respond
  8239. to each operation, especially for slower cards that were designed
  8240. for 4.77MHz PC's etc.
  8241.  
  8242. Basically, if you don't do something time consuming between
  8243. operations, it's usually a good idea to put a jmp short $+2
  8244. after a I/O instruction.  For example,
  8245.  
  8246. in al,dx
  8247. jmp short $+2
  8248. and al,0feh
  8249. out dx,al
  8250.  
  8251. Since the AND instruction is very fast.  As you said, the JMP
  8252. instruction causes the prefetch to be cleared, wasting enough
  8253. time for the I/O device to recover.
  8254.  
  8255. With todays faster computers and cards designed to run at higher
  8256. speeds, I don't know how worthwhile this practice really is, but
  8257. it's probably better to be safe than sorry.  #-)
  8258.  
  8259. >Phil>
  8260.  
  8261. >>>>>>>>>> Msg 5623 reply #1  >>>Last msg in reply thread.
  8262. Returning to normal sequence.
  8263.  
  8264.    conf: PROGRAMMING LANGUAGES  #5629  07-13-88  13:02  (Read 98 times)
  8265.    from: TOM PETERS
  8266.      to: ALL
  8267. subject: MASM PSEUDO OP
  8268.  
  8269. DOES MASM HAVE A IFDEF PSEUDO OPERATOR?
  8270.  
  8271. I have a routine that uses a data area at the label SWITCH_TABLE and the
  8272. routine is in my library of my own commonly used routines. Now any routine
  8273. that searches my library causes the linker to croak, since not all programs
  8274. that search that library don't call PARSE_N and consequently don't define
  8275. SWITCH_TABLE. I didn't realize it until recently because the programs I've
  8276. assembled recently all call PARSE_N and also define SWITCH_TABLE. What I
  8277. need is a way to define SWITCH_TABLE as dummy values if the main routine
  8278. doesn't do so.
  8279.  
  8280. A deeper question arises: I thought that the linker includes code ONLY for
  8281. routines that are called or referenced. Why then does the linker bother
  8282. with SWITCH_TABLE, a structure only refernced by PARSE_N, a routine I don't
  8283. even call or reference? Does the EXTRN pseudo op make LINK include the
  8284. code?
  8285. ---------------
  8286.  
  8287.    conf: PROGRAMMING LANGUAGES  #5637  07-13-88  21:36  (Read 94 times)
  8288.    from: GRANT ELLSWORTH
  8289.      to: TOM PETERS (Rcvd)
  8290. subject: R: MASM PSEUDO OP  Reply to #5629
  8291.  
  8292. Tom, MASM does have an IFDEF type of pseudo op.  As in C, the MASM command
  8293. line invocation does accept a -Dsymbol[=xxxx] option to control assembly.
  8294. It's the IFDEF directive.  Works very much like the C form.  Grant
  8295.  
  8296. >>>>>>>>>> Msg 5629 reply #1
  8297.  
  8298.    conf: PROGRAMMING LANGUAGES  #5643  07-14-88  01:38  (Read 94 times)
  8299.    from: PHIL KATZ
  8300.      to: TOM PETERS (Rcvd)
  8301. subject: R: MASM PSEUDO OP  Reply to #5629
  8302.  
  8303. Tom,
  8304.  
  8305. Using the EXTRN operator in MASM, causes the linker to try and
  8306. resolve that symbol, whether you actually use it later on
  8307. in the program or not.  Also, the linker links in OBJECT files
  8308. as they are referenced.  Say you were to have a .ASM file with
  8309. 6 subroutines in it.  Even if you call just one routine in that
  8310. module, the entire object module with all 6 subroutines will
  8311. be linked in.
  8312.  
  8313. >Phil>
  8314.  
  8315. >>>>>>>>>> Msg 5629 reply #2
  8316.  
  8317.    conf: PROGRAMMING LANGUAGES  #5649  07-14-88  11:31  (Read 96 times)
  8318.    from: TOM PETERS
  8319.      to: GRANT ELLSWORTH (Rcvd)
  8320. subject: R: R: MASM PSEUDO OP  Reply to #5637
  8321.  
  8322. What I want is to define a variable if it's not already defined elsewhere:
  8323.  
  8324. IFNDEF  SWITCH_TABLE
  8325.   SWITCH_TABLE      DB     0,0,0,0,'$'
  8326. ENDIF
  8327.  
  8328. Like so.
  8329.  
  8330. >>>>>>>>>> Msg 5629 reply #3
  8331.  
  8332.    conf: PROGRAMMING LANGUAGES  #5650  07-14-88  11:34  (Read 98 times)
  8333.    from: TOM PETERS
  8334.      to: PHIL KATZ (Rcvd)
  8335. subject: R: R: MASM PSEUDO OP  Reply to #5643
  8336.  
  8337. Ok, so I take my EXTRN reference out for that troublesome routine.
  8338.  
  8339. All my routines in my little library were assembled and linked separately,
  8340. except for some that are always used together. There were inserted into my
  8341. DOS_NEAR library one at a time as I converted and debugged them. This
  8342. should result in the least amount of code being linked in right? Only what
  8343. is called should be ilcluded in the EXE file by LINK, as I understand it.
  8344.  
  8345. >>>>>>>>>> Msg 5629 reply #4
  8346.  
  8347.    conf: PROGRAMMING LANGUAGES  #5654  07-14-88  23:03  (Read 94 times)
  8348.    from: GRANT ELLSWORTH
  8349.      to: TOM PETERS (Rcvd)
  8350. subject: R: R: MASM PSEUDO OP  Reply to #5649
  8351.  
  8352. Tom, You can do it just about as you described.  Have you tried it yet and
  8353. got errors of some kind?  What are the results?  What version of MASM are
  8354. you using?  IFDEF/IFNDEF ... ENDIF is available in masm 4.0 and up.  Grant
  8355.  
  8356. >>>>>>>>>> Msg 5629 reply #5
  8357.  
  8358.    conf: PROGRAMMING LANGUAGES  #5662  07-15-88  12:18  (Read 94 times)
  8359.    from: TOM PETERS
  8360.      to: GRANT ELLSWORTH (Rcvd)
  8361. subject: R: R: MASM PSEUDO OP  Reply to #5654
  8362.  
  8363. IFNDEF isn't going to help me. I made the EXTRN PARSE_N:PROC statement and
  8364. certain other things into include files, and made some other changes, and
  8365. that solves this particular problem.
  8366.  
  8367. IFNDEF does help, I just realized, because 1. I don't need SWITCH_TABLE to
  8368. be defined always. Only if there are calls to PARSE_N and 2. PARSE_N will
  8369. have been already assembled and shoved into a library. MASM doesn't know
  8370. whether SWITCH_TABLE is defined or not, because it could be in a library
  8371. module. Only LINK knows for sure.
  8372.  
  8373. My big problem was that I had the name of EVERY one of my library routines
  8374. listed in EXTRN statements in EXTRN.INC which I routinely included in my
  8375. code. So I guess the linker was trying to resolve EVERY one. MAybe I should
  8376. give EXTRN routine:PROC only for sub's I actually call, maybe LINK could do
  8377. it's thing faster.
  8378.  
  8379. >>>>>>>>>> Msg 5629 reply #6
  8380.  
  8381.    conf: PROGRAMMING LANGUAGES  #5669  07-15-88  21:08  (Read 97 times)
  8382.    from: GRANT ELLSWORTH
  8383.      to: TOM PETERS (Rcvd)
  8384. subject: R: R: MASM PSEUDO OP  Reply to #5662
  8385.  
  8386. Tom, I'm a little lost ... but your overall plan to activate only the
  8387. routines actually used for externs reads  like the right strategy.  Grant
  8388.  
  8389. >>>>>>>>>> Msg 5629 reply #7  >>>Last msg in reply thread.
  8390. Returning to normal sequence.
  8391.  
  8392.    conf: PROGRAMMING LANGUAGES  #5631  07-13-88  17:03  (Read 97 times)
  8393.    from: BILL RANINEN
  8394.      to: ALL
  8395. subject: VIEWING ANSI VIA "BASIC"
  8396.  
  8397. HELP!
  8398.  
  8399. DEAR COMPUTER WIZES,
  8400.  
  8401. I WOULD LIKE TO CREATE A BASIC PROGRAM THAT WILL ALLOW ME TO INPUT AND VIEW
  8402. A ANSI (.ANS) FILE. I'VE TRIED THE REGULAR PRINT STATEMENT...ALL THAT DOES
  8403. IS GIVE ME THE RAW CHARACTERS...IT DOES NOT CONTROL THE COLOR OR OTHER
  8404. FUCTIONS OF ANSI...I WOULD LIKE TO COMPILEE IT ALSO. I HAVE TBASIC AND
  8405. QBASIC. ONCVE COMPILED, I WOULD LIKE TO RUN THE PROGRAM...BE PROPTED WITH
  8406. THE FILENAME...AND IT WILL READ THE FILE AND DISPLAY (IN FULL ANSI) IT.  IT
  8407. IS SIMULAR TO "TYPE" COMMAND...ALTHOUGH, I WOULD LIKE TO VARY THE SPEED.
  8408.  
  8409. IF ANYONE WOULD KNOW OF THIS SITUATION, I WOULD APPRECIATE IT MUCH.
  8410.  
  8411. THANK YOU,
  8412.  
  8413. BILL RANINEN
  8414. ---------------
  8415.  
  8416.    conf: PROGRAMMING LANGUAGES  #5664  07-15-88  13:26  (Read 96 times)
  8417.    from: BILL RANINEN
  8418.      to: PHIL KATZ (Rcvd)
  8419. subject: R: R: VIEWING ANSI VIA "  Reply to #5645
  8420.  
  8421. THANX PHIL!
  8422.  
  8423. >>>>>>>>>> Msg 5631 reply #1
  8424.  
  8425.    conf: PROGRAMMING LANGUAGES  #5665  07-15-88  13:29  (Read 95 times)
  8426.    from: BILL RANINEN
  8427.      to: STEVEN KEY (Rcvd)
  8428. subject: R: R: VIEWING ANSI VIA "  Reply to #5648
  8429.  
  8430. STEVE,
  8431.  
  8432. THANX FOR TRHE INFO. YES, I KNOW ABOUT THE ANSI.SYS. I CREATE ANSI SCREENS
  8433. FOR A BBS SYSTEM HERE IN MILW...ALTHOUGH, SOME PEOPLE WISH TO D/L THEM AND
  8434. HAVE IT DISPLAYED WITH VARIBALE SPEEDS, CAUSE I PUT ANIMATION INTO THEM.
  8435.  
  8436. BILL
  8437. //
  8438. S
  8439.  
  8440. >>>>>>>>>> Msg 5631 reply #2
  8441.  
  8442.    conf: PROGRAMMING LANGUAGES  #5742  07-20-88  13:15  (Read 92 times)
  8443.    from: BILL RANINEN
  8444.      to: STEVEN KEY (Rcvd)
  8445. subject: R: R: VIEWING ANSI VIA "  Reply to #5666
  8446.  
  8447. Steve,
  8448.  
  8449. I just wrote the program in Tbasic. I used...
  8450. C=NUMLINES: FOR A=1 TO C:FOR B=1 TO LEN(L$(A)):? MID$(L$(A),B,1);:NEXT:NEXT
  8451. Statements. It seems to work well. I also let the user vary the speed.
  8452.  
  8453. Thanx Again,
  8454. //
  8455.  
  8456. >>>>>>>>>> Msg 5631 reply #3  >>>Last msg in reply thread.
  8457. Returning to normal sequence.
  8458.  
  8459.    conf: PROGRAMMING LANGUAGES  #5632  07-13-88  17:40  (Read 103 times)
  8460.    from: SCOTT KLEINHANS
  8461.      to: ALL
  8462. subject: LARGE CLIPPER/DBASE FILE
  8463.  
  8464.    I've got a few very big dbase files that when Archived are bigger than
  8465. 720k and I need to get them on disketts (360k/720k).  Does anyone know of
  8466. a program that is available to split archived files apart and then able
  8467. to restore the entire file ?
  8468. Thanks
  8469. Scott
  8470. ---------------
  8471.  
  8472.    conf: PROGRAMMING LANGUAGES  #5640  07-13-88  21:56  (Read 102 times)
  8473.    from: TOM FELLER
  8474.      to: SCOTT KLEINHANS (Rcvd)
  8475. subject: R: LARGE CLIPPER/DBASE F  Reply to #5632
  8476.  
  8477. Try DOS BACKUP. Its in the MS-DOS manual!
  8478.  
  8479. >>>>>>>>>> Msg 5632 reply #1
  8480.  
  8481.    conf: PROGRAMMING LANGUAGES  #5658  07-15-88  05:29  (Read 101 times)
  8482.    from: TOM SWENSON
  8483.      to: SCOTT KLEINHANS (Rcvd)
  8484. subject: R: LARGE CLIPPER/DBASE F  Reply to #5632
  8485.  
  8486. Scott, you can use the dos backup.com program, but I don't care too much
  8487. for it myself. If it is just a matter of backing up to floppy .dbf files b
  8488. bigger than the size of the disk... I wrote a program which will copies so
  8489. many records onto each disk using the commmands:
  8490. use master
  8491. copy to file backup1.dbf next 750
  8492. with some other control code... you can have a user change destination disk
  8493. sizes and break a program down and backup the big file to floppies..
  8494. Hope that helped.
  8495. Tom Swenson
  8496.  
  8497. >>>>>>>>>> Msg 5632 reply #2  >>>Last msg in reply thread.
  8498. Returning to normal sequence.
  8499.  
  8500.    conf: PROGRAMMING LANGUAGES  #5633  07-13-88  21:08  (Read 98 times)
  8501.    from: BILL PREW
  8502.      to: ALL
  8503. subject: DOS DEVICE DRIVERS
  8504.  
  8505.   I've recently upgraded to #Com 3+Share, and have to load nearly 150K
  8506. worth of device drivers for it.  Needless to say, I'm running into memory
  8507. problems sometimes.  What I'm looking for is a utility to load device
  8508. drivers after boot-up, instead of from config.sys.
  8509.  
  8510.   It seems like this should be workable, and I'm thinking of writing
  8511. something myself, unless someone responds with an existing tool.  My
  8512. approach would involve creating a program that would load the desired
  8513. device drivers into memory, and call them with the INIT code.  The program
  8514. that loads them would terminate like a TSR, and leave the memory used by
  8515. the drivers allocated to DOS.
  8516.  
  8517.   Anyone have any comments on this approach, any reasons why it won't work,
  8518. or any holes to watch out for.  Any help greatly appreciated.
  8519.  
  8520. Thanks,
  8521.   Bill
  8522. ---------------
  8523.  
  8524.    conf: PROGRAMMING LANGUAGES  #5638  07-13-88  21:47  (Read 95 times)
  8525.    from: GRANT ELLSWORTH
  8526.      to: BILL PREW (Rcvd)
  8527. subject: R: DOS DEVICE DRIVERS  Reply to #5633
  8528.  
  8529. Bill,  What's the problem with letting everything come in at boot time?
  8530. If you want your driver's to be transient to maximize memoray available
  8531. when you need it and make driver impactas marginal, your general approach
  8532. is not quite right.  You'd trap you non-device code in memory behind your
  8533. tsr.  The way i'd approach it would be somehting like this:
  8534.  
  8535. o write a device driver which would load/execute/ delete the real driver
  8536.   code
  8537. o put all data areas which must be retained across driver calls in the
  8538.   bootstrapping driver
  8539.  
  8540. To avoid having to load (and therefore read from disk) the real driver
  8541. for every i/o event, I'd try to limit the load/delete to only once per
  8542. process.
  8543.  
  8544. Otherwise, you have the right idea.  Grant
  8545.  
  8546. >>>>>>>>>> Msg 5633 reply #1
  8547.  
  8548.    conf: PROGRAMMING LANGUAGES  #5646  07-14-88  01:46  (Read 98 times)
  8549.    from: PHIL KATZ
  8550.      to: BILL PREW (Rcvd)
  8551. subject: R: DOS DEVICE DRIVERS  Reply to #5633
  8552.  
  8553. Bill,
  8554.  
  8555. It costs more, but if you get the Ether+ or 3+ or whatever network
  8556. cards with RAM on the cards, most of the network software can be
  8557. loaded into the card RAM, leaving most of your 640K space free.
  8558.  
  8559. >Phil>
  8560.  
  8561. >>>>>>>>>> Msg 5633 reply #2
  8562.  
  8563.    conf: PROGRAMMING LANGUAGES  #5651  07-14-88  18:29  (Read 99 times)
  8564.    from: BILL PREW
  8565.      to: PHIL KATZ (Rcvd)
  8566. subject: R: R: DOS DEVICE DRIVERS  Reply to #5646
  8567.  
  8568.   Interesting approach, I have seen that discussed other places, and now
  8569. that you mention it I remember reading something to that effect.  The 3+
  8570. drivers are the main offender, although I would like to be able to
  8571. dynamically load other drivers.  Since I'm a corporate user, I can probably
  8572. get the smart card approach if it looks right, although I have heard one
  8573. problem.  I have heard that running a 20mHz '386 box as I am, that the
  8574. smart card can actually reduce network interface performance compared to
  8575. the dumb board.  I assume this is because my '386 can execute the driver
  8576. code faster than the processor on the board.  May not be a significant
  8577. drawback, I'll have to find out more.
  8578.  
  8579.   I hope your legal troubles with SEA are behind you, hate to see good
  8580. software developers getting the wrong end of things.  Thanks for the input.
  8581.  
  8582. Bill
  8583.  
  8584. >>>>>>>>>> Msg 5633 reply #3
  8585.  
  8586.    conf: PROGRAMMING LANGUAGES  #5652  07-14-88  18:35  (Read 98 times)
  8587.    from: BILL PREW
  8588.      to: GRANT ELLSWORTH (Rcvd)
  8589. subject: R: R: DOS DEVICE DRIVERS  Reply to #5638
  8590.  
  8591.   Grant, here's the deal.  I'm running a '386 machine, and want to take
  8592. advantage of Windows/386.  This can provide multiple 640 partitions on the
  8593. system.  The problem is that since Windows loads after all device drivers
  8594. loaded by config.sys are in memory, each partition size is reduced in size
  8595. by the driver overhead (some 150k).
  8596.  
  8597.   I haden't envisioned reloading the drivers every call, only once in a
  8598. while.  What I mean is that from the command line they could be loaded and
  8599. then stay in memory just like they would from config.sys.  A further
  8600. enhancement would allow removal by a command, but I could live without
  8601. that.  By loading them from the command line, I could have seperate windows
  8602. with just the drivers needed loaded, and also still have a window with few
  8603. drivers and lots of ram.
  8604.  
  8605.   I've looked at a program called COMP, but it doesn't seem complete.  It
  8606. also seems like more than I really need.  Thanks for your inputs, keep 'em
  8607. coming.
  8608.  
  8609. Bill
  8610.  
  8611. >>>>>>>>>> Msg 5633 reply #4
  8612.  
  8613.    conf: PROGRAMMING LANGUAGES  #5655  07-14-88  23:07  (Read 96 times)
  8614.    from: GRANT ELLSWORTH
  8615.      to: BILL PREW (Rcvd)
  8616. subject: R: R: DOS DEVICE DRIVERS  Reply to #5652
  8617.  
  8618. I think, the technique I described --- process/task/program based
  8619. activation and deletion of the selected device drivers as needed, should
  8620. solve your problem.  Was my suggestion in my original commentary clear
  8621. enough?  Grant
  8622.  
  8623. >>>>>>>>>> Msg 5633 reply #5
  8624.  
  8625.    conf: PROGRAMMING LANGUAGES  #5674  07-16-88  05:30  (Read 97 times)
  8626.    from: BILL PREW
  8627.      to: GRANT ELLSWORTH (Rcvd)
  8628. subject: R: R: DOS DEVICE DRIVERS  Reply to #5655
  8629.  
  8630.   Yes, I understood basically what you were saying.  Haven't heard much
  8631. from anyone else on this topic, guess I'll just have to try and see what
  8632. happens.
  8633.  
  8634. Later,
  8635.   Bill
  8636.  
  8637. >>>>>>>>>> Msg 5633 reply #6  >>>Last msg in reply thread.
  8638. Returning to normal sequence.
  8639.  
  8640.    conf: PROGRAMMING LANGUAGES  #5639  07-13-88  21:50  (Read 93 times)
  8641.    from: TOM FELLER
  8642.      to: ALL
  8643. subject: MSC MEMAVAIL
  8644.  
  8645. O.K. someone help me. In TurboC you can get the total memory available
  8646. by useing the coreleft function. MSC has no function to do this.
  8647. We called and they said so. They said "you have to do it manually"
  8648. . We asked how? They said "I don't know". Great! What does manually
  8649. mean? go into a DOS shell and do a chkdsk? I have a way to do it
  8650. but it's too slow. I did a binary search using a halloc. I got
  8651. a tolerance of +-32 bytes in 11 iterations. But, it took over 1/4th
  8652. of a second. We are using this in a kernal with our program in test
  8653. mode. It displays the bytes free at the bottom right side of the screen
  8654. continuously. But, it's so slow its makes our program respond jerky.
  8655. Does anyone have a faster method, assembly language is O.K.
  8656. I thought of stack pointer - heap pointer but the heap is not
  8657. contiguous is it. I am using the large memory model so the Microsoft
  8658. memavail function is to no avail. It, along with all the other Microsoft
  8659. avail functions only show available memory for the current data segment
  8660. or near heap, the same thing. I need to know all memory available.
  8661. Our testers use this function to find weak spots in our program.
  8662. If the users run out of memory they are not happy campers.
  8663. Help!
  8664. -Tom Feller-
  8665. ---------------
  8666.  
  8667.    conf: PROGRAMMING LANGUAGES  #5647  07-14-88  01:54  (Read 97 times)
  8668.    from: PHIL KATZ
  8669.      to: TOM FELLER (Rcvd)
  8670. subject: R: MSC MEMAVAIL  Reply to #5639
  8671.  
  8672. Tom,
  8673.  
  8674. Have you looked at the _freect() function in MSC?  I believe
  8675. that if you call _freect(1), that it should return the number
  8676. of bytes left.  In the large model, it appears that this would
  8677. mean the number of bytes left in the far heap.
  8678.  
  8679. >Phil>
  8680.  
  8681. >>>>>>>>>> Msg 5639 reply #1
  8682.  
  8683.    conf: PROGRAMMING LANGUAGES  #5653  07-14-88  22:30  (Read 98 times)
  8684.    from: TOM FELLER
  8685.      to: PHIL KATZ (Rcvd)
  8686. subject: R: R: MSC MEMAVAIL  Reply to #5647
  8687.  
  8688. I was wrong about the time of my function.
  8689. It took 1/100th of a second. But, DOS is only good to 1/100 th
  8690. so it may be less. The program is still more jerky than with turbo's
  8691. coreleft. I will try that function. I thought that was for the near heap.
  8692. And why (1), I will look it up in the manual at work.
  8693. Thanks
  8694. Tom Feller
  8695.  
  8696. >>>>>>>>>> Msg 5639 reply #2
  8697.  
  8698.    conf: PROGRAMMING LANGUAGES  #5656  07-15-88  01:25  (Read 91 times)
  8699.    from: PAUL SCHMIDT
  8700.      to: TOM FELLER (Rcvd)
  8701. subject: R: R: MSC MEMAVAIL  Reply to #5653
  8702.  
  8703. Tom,
  8704.   Even though DOS returns time values through calls to the time function in
  8705. 100ths of a second, it is still dependent on the system clock tick which is
  8706. only updated about 18.2 times a second.  If you write a quick assembly
  8707. language routine to write directly to screen ram and write the value that
  8708. dos returns to the screen, you won't see it change 100 times a second.  For
  8709. that matter, since the screen is only about 30 times a second, you probably
  8710. won't see anything interesting.  Scratch that idea.  Anyway, the time is
  8711. based on the clock tick, so your routine could have taken anywhere from
  8712. virtually no time to 1/9th of a second.
  8713. void *poof;
  8714.  
  8715. >>>>>>>>>> Msg 5639 reply #3
  8716.  
  8717.    conf: PROGRAMMING LANGUAGES  #5672  07-15-88  22:48  (Read 94 times)
  8718.    from: TOM FELLER
  8719.      to: PAUL SCHMIDT (Rcvd)
  8720. subject: R: R: MSC MEMAVAIL  Reply to #5656
  8721.  
  8722. Yea, I think you are right, the results are not too good lower than 1/10
  8723. th of a second. I should run the function 100 times for a benchmark.
  8724. MSC should have coreleft(). MSC is very weak for the cost. Turbo is
  8725. better in so many ways. A friend at work is selling MSC. He said he
  8726. spent most of his time doing non c related stuff with MSC. With TurboC
  8727. he can get to work. Our company hates MSC. Its a waste of time.
  8728. It compiles to slow. If we used MSC we would be 6 months behind on our
  8729. projects. Now, we are almost running out of work!
  8730. Tom
  8731.  
  8732. >>>>>>>>>> Msg 5639 reply #4
  8733.  
  8734.    conf: PROGRAMMING LANGUAGES  #5684  07-16-88  20:39  (Read 92 times)
  8735.    from: TIM NESHAM
  8736.      to: TOM FELLER (Rcvd)
  8737. subject: R: R: MSC MEMAVAIL  Reply to #5672
  8738.  
  8739.  Perhaps you can write your code in AutoLISP and use a AutoLISP to C
  8740. translator. Heck, you'll have all the work you need then and it will still
  8741. probably be faster than MSC. But seriously folks....
  8742.  
  8743.   C'mon Tom! 6 months? True, it takes 6 months to learn MSC, codeview. But
  8744. that is so short compared to the time it will take to use OS/2.
  8745.  
  8746. >>>>>>>>>> Msg 5639 reply #5  >>>Last msg in reply thread.
  8747. Returning to normal sequence.
  8748.  
  8749.    conf: PROGRAMMING LANGUAGES  #5642  07-14-88  00:10  (Read 95 times)
  8750.    from: GRANT ELLSWORTH
  8751.      to: ALL
  8752. subject: PASCAL TO C TRANSLATORS
  8753.  
  8754. For those of you who are interested in Pascal to C translations ...
  8755. In the Mahoney collection , there is now TPTC17G, a pascal to c translation
  8756. system.  I've been trying it out for a while and find it pretty darn good.
  8757. It's better than any other I've found in shareware or public domain.  It is
  8758. a darn sight better than its own predecessors (tptc17f ... tptc16 ...
  8759. TPC15 ... or pretpc15).  Sam Smith at the Tool Shop in Phoenix, AZ has done
  8760. a tremendous job with this software since I first found it last fall.  It
  8761. has improved tremendously since.  There are still a few problems in
  8762. translating obscure and obtuse With ... DO ... constructs, but otherwise,
  8763. it is quite sound.  If you have a need to translate some substantial amount
  8764. of Pascal (Turbo or other) to C, and don't want to spend big $$$ on a
  8765. strictly commercial package, give this one a try.
  8766.  
  8767. As mentioned, there are problems with the translations of statements in a
  8768. WITH ... DO ... construct; the majro problem is when 2 or more structures
  8769. have member entities of the same name and same type ... then the
  8770. translation gets confused.  That is the ONLY major problem I've found.
  8771. Sam will be working on an upgrade sometime soon - and will probably address
  8772. this problem then.
  8773.  
  8774. The other area which can be a problem for some translations is that the
  8775. system over-uses  called functions for some typoes fo TP function
  8776. conversions to C.  These you can fix in the supplied and generated code.
  8777.  
  8778. I'd be interested in any comments and problems you may have on this trans-
  8779. lator.  Have fun with it.  Grant
  8780.  
  8781. ps:  There are 3 ARCs in the system.  TPTC17G, the operational code and
  8782. supporting files; TPTC17GS, the source code and other docs; TPTC17GT, the
  8783. test cases.
  8784. ---------------
  8785.  
  8786.    conf: PROGRAMMING LANGUAGES  #5659  07-15-88  05:50  (Read 92 times)
  8787.    from: TOM SWENSON
  8788.      to: SCOTT KLEINHANS (Rcvd)
  8789. subject: CLIPPER BACKUP
  8790.  
  8791. Scott, after I had sent my message I realized the command I gave
  8792. you was incorrect... what Ihad meant was:
  8793. use master
  8794. copy to a:backup1.dbf next 750
  8795. when you have used this the current record will be 750.
  8796. you can then run the same command for the next 750 until end of file
  8797. sorry for the mistake... Tom Swenson
  8798. ---------------
  8799.  
  8800.    conf: PROGRAMMING LANGUAGES  #5722  07-19-88  16:07  (Read 88 times)
  8801.    from: SCOTT KLEINHANS
  8802.      to: TOM SWENSON (Rcvd)
  8803. subject: R: CLIPPER BACKUP  Reply to #5659
  8804.  
  8805. Tom
  8806.   I have not tried the DOS Backup command yet.  What I have is several
  8807. large .DBF files, the largest is 3.5 million bytes (unarchived) it is
  8808. just under 800 thousand bytes archived I need to sent this file to
  8809. several locations in Europe.  And I cannot garentee that all locations
  8810. are using the same version of DOS as myself (3.3).  So what I want is
  8811. to break this file up onto two disketts and send it around the world. I
  8812. would rather not leave the file Un-archived.   I guess I'll try the DOS
  8813. backup command and see how it works.
  8814. Thanks for the ideas
  8815. Scott.
  8816.  
  8817. >>>>>>>>>> Msg 5659 reply #1
  8818.  
  8819.    conf: PROGRAMMING LANGUAGES  #5731  07-19-88  20:28  (Read 88 times)
  8820.    from: GLEN THOMPSON
  8821.      to: SCOTT KLEINHANS (Rcvd)
  8822. subject: R: R: CLIPPER BACKUP  Reply to #5722
  8823.  
  8824. Scott,
  8825.   
  8826. Previous versions of DOS cannot read the 3.3 backups.  They changed the
  8827. format on disk for greater speed.  To date, I haven't figured a way to use
  8828. backup to transfer the files.
  8829.   
  8830. As mentioned before, you might want to use SPLIT or CHOP or CUT or the
  8831. other file splitting utilities, then have the receipents recombine them.
  8832.   
  8833. glen
  8834.  
  8835. >>>>>>>>>> Msg 5659 reply #2
  8836.  
  8837.    conf: PROGRAMMING LANGUAGES  #5736  07-20-88  05:17  (Read 91 times)
  8838.    from: TOM SWENSON
  8839.      to: SCOTT KLEINHANS (Rcvd)
  8840. subject: R: R: CLIPPER BACKUP  Reply to #5722
  8841.  
  8842. Scott, it sounds like the backup command will be the way to go... but you
  8843. could also use dbase to copy half the records to one file and half to
  8844. another, and then archive each one. These two files (or maybe break it into
  8845. thirds) will possibly fit onto separate disks if the archive size is less
  8846. than 360k( I'm assuming use are using this size of drive). Doing this will
  8847. avoid usage of the backup command which do not care for. I have also seen
  8848. some incompatilities between dos versions with the backup command. It may
  8849. be just a matter of command syntax, but it may not. In past versions I
  8850. remember hereing lots of complaints. Do what you feel is best. If I can
  8851. help let me know. If you separate the files into pieces first, It would be
  8852. just a matter of unarchiving each one and then 'appending from' each one at
  8853. a time. I would tend to trust this better than the backup command.  tom
  8854.  
  8855. >>>>>>>>>> Msg 5659 reply #3
  8856.  
  8857.    conf: PROGRAMMING LANGUAGES  #5740  07-20-88  11:11  (Read 94 times)
  8858.    from: SCOTT KLEINHANS
  8859.      to: GLEN THOMPSON (Rcvd)
  8860. subject: R: R: CLIPPER BACKUP  Reply to #5731
  8861.  
  8862. Glen
  8863.   That is what I want to do (Split,Chop or Cut) But I don't know where
  8864. I can locate that type of utility.
  8865. Thanks
  8866. Scott
  8867.  
  8868. >>>>>>>>>> Msg 5659 reply #4
  8869.  
  8870.    conf: PROGRAMMING LANGUAGES  #5750  07-20-88  20:17  (Read 100 times)
  8871.    from: GLEN THOMPSON
  8872.      to: SCOTT KLEINHANS (Rcvd)
  8873. subject: R: R: CLIPPER BACKUP  Reply to #5740
  8874.  
  8875. Scott,
  8876.   
  8877. Do a scan in the file collection for the strings: SPLIT or DIVIDE or
  8878. something like that.  You should be able to find a suitable program.
  8879.   
  8880. glen
  8881.  
  8882. >>>>>>>>>> Msg 5659 reply #5
  8883.  
  8884.    conf: PROGRAMMING LANGUAGES  #5760  07-22-88  07:43  (Read 101 times)
  8885.    from: SCOTT KLEINHANS
  8886.      to: GLEN THOMPSON (Rcvd)
  8887. subject: R: R: CLIPPER BACKUP  Reply to #5750
  8888.  
  8889. Glen
  8890.   Thanks I did a scan and found two files/programs that should do the trick
  8891. SBREAK30.ARC and SPLITC.ARC.
  8892. Thanks again
  8893. Scott
  8894.  
  8895. >>>>>>>>>> Msg 5659 reply #6  >>>Last msg in reply thread.
  8896. Returning to normal sequence.
  8897.  
  8898.    conf: PROGRAMMING LANGUAGES  #5663  07-15-88  12:58  (Read 99 times)
  8899.    from: TOM PETERS
  8900.      to: ALL
  8901. subject: MASM5.1 ERROR
  8902.  
  8903.      cc: GRANT ELLSWORTH
  8904.      cc: PHIL KATZ
  8905.  
  8906. I just installed MASM 5.1 upgrade and I have NEW warning messages.This
  8907. message 5036 doesn't seem to be in the release notes and is certainly
  8908. not in my 5.0 manuals. I am using /W2 so I get my JMP SHORT help.
  8909. ASM> SET MASM=/B62/W2/Z
  8910. C:\LANG\MASM> masm /Zi bit7x,bit7x,bit7x,nul.crf
  8911. Microsoft (R) Macro Assembler Version 5.10
  8912. Copyright (C) Microsoft Corp 1981, 1988.  All rights reserved.
  8913.  
  8914. bit7x.ASM(488): warning A5036: Extra NOP inserted
  8915. bit7x.ASM(490): warning A5036: Extra NOP inserted
  8916. bit7x.ASM(504): warning A5036: Extra NOP inserted
  8917. bit7x.ASM(527): warning A5036: Extra NOP inserted
  8918.  
  8919.   47360 + 192747 Bytes symbol space free
  8920.   
  8921.       4 Warning Errors
  8922.       0 Severe  Errors
  8923.  
  8924. Here's the code from the LST file:
  8925.   ...
  8926.  = 0000    FALSE  EQU 0
  8927.  = FFFF    TRUE   EQU NOT FALSE ; "BUT WHAT IS TRUTH?" - PONTIUS PILATE
  8928.   ...
  8929.  0267  2E: C6 06 03B5 R 00              MOV CS:DID_G_FLAG,BYTE PTR FALSE
  8930. bit7x.ASM(488): warning A5036: Extra NOP inserted
  8931.        90
  8932.  026E  8A D8                            MOV BL,AL           ; SAVE
  8933.  0270  2E: C6 06 03AF R 00              MOV CS:IGNORE_FLAG,BYTE PTR TRUE
  8934. bit7x.ASM(490): warning A5036: Extra NOP inserted
  8935.   ...
  8936.  028B  C6 06 0B8D R 01 90               MOV     READSTAT,byte ptr 1
  8937. bit7x.ASM(504): warning A5036: Extra NOP inserted
  8938.  
  8939. The other error is similar. Do I have to, or should I, recode that stu
  8940. so it compiles neater? How? Got a clue, boys?
  8941. ---------------
  8942.  
  8943.    conf: PROGRAMMING LANGUAGES  #5670  07-15-88  21:15  (Read 92 times)
  8944.    from: GRANT ELLSWORTH
  8945.      to: TOM PETERS (Rcvd)
  8946. subject: R: MASM5.1 ERROR  Reply to #5663
  8947.  
  8948. Tom, I'm wondering .... has MASM 5.0 gone a little bonkers over equated
  8949. symbols ,,, after 4 "rational" releases?  What happens  in 5.0?
  8950.  
  8951. It looks like a stunt in 5.1 to insert nops where it suspects they might be
  8952. needed to eliminate some of those obnoxious  "phase" errors.  BTW, SLR's
  8953. optasm has all but eradicated "phase" error from the asm 8086/286, etc..
  8954. world .. or so I read.  MS fouls up again. (sigh)  Grant
  8955.  
  8956. >>>>>>>>>> Msg 5663 reply #1
  8957.  
  8958.    conf: PROGRAMMING LANGUAGES  #5698  07-17-88  21:19  (Read 96 times)
  8959.    from: PHIL KATZ
  8960.      to: TOM PETERS (Rcvd)
  8961. subject: R: MASM5.1 ERROR  Reply to #5663
  8962.  
  8963. Tom,
  8964.  
  8965. I think the problem there is trying to cast TRUE or FALSE (or 1 or 0)
  8966. to a pointer of any type.  When you say:
  8967.  
  8968. mov cs:flag,byte ptr TRUE
  8969.  
  8970. I think what you really mean to say is:
  8971.  
  8972. mov byte ptr cs:flag,TRUE
  8973.  
  8974. The difference is in the first case it is trying to use TRUE or FALSE
  8975. as an *address*!  When what it appears that you really want to do
  8976. is just move a byte (as opposed to a word), into a variable that
  8977. you might have declared as a word.  If [flag] as above is declared
  8978. as a byte, than the "byte ptr" cast has no affect.  However, if
  8979. it is declared as something else, then you would need to say "byte
  8980. ptr" if you just wanted to move one byte.
  8981.  
  8982. >Phil>
  8983.  
  8984. >>>>>>>>>> Msg 5663 reply #2
  8985.  
  8986.    conf: PROGRAMMING LANGUAGES  #5703  07-18-88  11:16  (Read 91 times)
  8987.    from: TOM PETERS
  8988.      to: PHIL KATZ (Rcvd)
  8989. subject: R: R: MASM5.1 ERROR  Reply to #5698
  8990.  
  8991. I think I had trouble at some point with moves and compares when the size
  8992. of operands was in doubt, hence the BYTE PTR stuff. Using equates to set
  8993. values doesn't make them any kind or size, IE TRUE EQU 0 doesn't make TRUE
  8994. a byte. The 4.1 MASM objected to lot's of things I did without  BYTE PTR
  8995. but maybe its time to try more intuitive code with 5.1 and see how it does!
  8996.  
  8997. >>>>>>>>>> Msg 5663 reply #3  >>>Last msg in reply thread.
  8998. Returning to normal sequence.
  8999.  
  9000.    conf: PROGRAMMING LANGUAGES  #5671  07-15-88  21:33  (Read 96 times)
  9001.    from: GRANT ELLSWORTH
  9002.      to: PHIL KATZ (Rcvd)
  9003. subject: 370 ALC, ETC..
  9004.  
  9005. Phil, sometime back a few weeks , we were discussing the problems of doing
  9006. an LZW compressor on the ibm 370 mainframe.  I found something in the
  9007. mahoney collection you may want to look at as background material on 370
  9008. ALC.  See IBM370TU.ARC.  Looks like a "credible" intro to the instruction
  9009. set and some of the programming conventions.  The i/o constructs in the
  9010. similator code examples, the register conventions in the examples, and the
  9011. lack of a real macro processor make it a little weak ... the examples are a
  9012. little off-base, and the use of the EQU in some of the code leads to pgm
  9013. bombouts if imitated too carelessly.  However, it's one ofthe better places
  9014. to start among those I've seen for vets without mainframe exposure.  Look
  9015. it over if you have the time, and tell me what you think.  Grant
  9016. ---------------
  9017.  
  9018.    conf: PROGRAMMING LANGUAGES  #5673  07-15-88  23:00  (Read 94 times)
  9019.    from: TOM FELLER
  9020.      to: PHIL KATZ (Rcvd)
  9021. subject: MSC MEMAVAIL
  9022.  
  9023. No, freect(1) did not work. How could it? it returns a unsigned int.
  9024. I think the large memory model has more than 64k of memory.
  9025. Maybe you never used the large model. We also tried freect(10)
  9026. but as the manual said freect only returns the free memory in the
  9027. current data segment. MSC is very weak. The compiler is too slow.
  9028. I can do debugging better without codeview. With TurboC I comment
  9029. out parts, or put in printf statements or other stuff. I have seen
  9030. other programmers spend hours wasting time looking at codeview.
  9031. It's not worth the time. The latest word on OS/2 is that it will
  9032. be impossible to debug because the hardware and DLL combinations
  9033. run into the millions. MS-DOS will outlive OS/2!
  9034. I also hear that UNIX or XENIX will be standardized and cost much
  9035. less than OS/2.
  9036. Tom Feller
  9037. ---------------
  9038.  
  9039.    conf: PROGRAMMING LANGUAGES  #5676  07-16-88  10:42  (Read 91 times)
  9040.    from: JAMES SABATKE
  9041.      to: TOM FELLER (Rcvd)
  9042. subject: R: MSC MEMAVAIL  Reply to #5673
  9043.  
  9044. Tom,
  9045.  
  9046. RE: "The latest word on OS/2 is that it will be impossible to debug because
  9047. the hardware and DLL combinations will run into the millions."
  9048.  
  9049.   I imagine that you are referring to the EOF article (editorial?) in the
  9050. latest Computer Language magazine.  I was shocked to see such an
  9051. irresponsible article in a magazine that I have always had high regard for.
  9052. The author (Bruce Tonkin) asserts that there are too many versions of OS/2
  9053. out already and that each of these must be tested with each device driver.
  9054. It is true that OS/2 is very hardware specific.  That is why the different
  9055. versions exist, but these different versions provide for compatibility
  9056. across different vendors - not differences.  This OS should be even better
  9057. than UNIX for portibility as at this time the OS is dealing with one family
  9058. of processors (80286 - 80386).  Don't forget that when MS/DOS was newer
  9059. that many of the "compatibles" had their own versions also.  The Leading
  9060. Edge (M) that I am using right now is an example of this.  The author also
  9061. ignored that OS/2 is providing a "real" operating system that takes
  9062. advantage of the resources of the machine.  I get the feeling that Tonkin
  9063. is, more than any other reason, uncomfortable with having to learn a new
  9064. OS.
  9065.  
  9066. Long live OS/2.
  9067.  
  9068. Jim
  9069.  
  9070. >>>>>>>>>> Msg 5673 reply #1
  9071.  
  9072.    conf: PROGRAMMING LANGUAGES  #5683  07-16-88  20:15  (Read 89 times)
  9073.    from: TOM FELLER
  9074.      to: JAMES SABATKE (Rcvd)
  9075. subject: R: R: MSC MEMAVAIL  Reply to #5676
  9076.  
  9077. OS/2 more portable than UNIX? Ha Ha Ha! You will never see OS/2
  9078. running on any Motorola CPU. It's only going to run on intel CPUs.
  9079. UNIX is already running on both and there is a 386 version that
  9080. kills OS/2 in multitasking. Also UNIX is running on many other
  9081. mini and micro computers including the VAX.
  9082. We will never see OS/2 on a VAX! OS/2 portable? You can buy SCO UNIX
  9083. for any current 386 machine that runs MS-DOS. That's a generic version!
  9084. If you want OS/2 you have to get it from the vendor that sold you the
  9085. computer. Heil, OS/2! Heil, Microsoft! I guess they want OS/2 to fail.
  9086. Long live UNIX. Long live freedom! Long live "C".
  9087.  
  9088. >>>>>>>>>> Msg 5673 reply #2
  9089.  
  9090.    conf: PROGRAMMING LANGUAGES  #5685  07-16-88  20:43  (Read 90 times)
  9091.    from: TIM NESHAM
  9092.      to: TOM FELLER (Rcvd)
  9093. subject: R: R: MSC MEMAVAIL  Reply to #5683
  9094.  
  9095.   Calm down Tom. Don't want a stack overflow!
  9096.  
  9097. >>>>>>>>>> Msg 5673 reply #3
  9098.  
  9099.    conf: PROGRAMMING LANGUAGES  #5686  07-16-88  22:52  (Read 90 times)
  9100.    from: JAMES SABATKE
  9101.      to: TOM FELLER (Rcvd)
  9102. subject: R: R: MSC MEMAVAIL  Reply to #5683
  9103.  
  9104. Tom,
  9105.  
  9106.   If you notice, I did limit my portability statement to the 80x86 chips. I
  9107. was noting that it should run on all of the 'compatibles' that care to
  9108. invest in the version specific for their machines.  I agree that UNIX may
  9109. well be a better choice, but the resistance out there to UNIX will be
  9110. difficult to overcome.  At least OS/2 may provide a foothold in the
  9111. business world for a multitasking OS.  Also, single user workstations
  9112. usually don't need the multi-user capability of UNIX.  I really think that
  9113. OS/2 will provide a nice environment with UNIX type capabilities.  Also,
  9114. IBM plans to port OS/2 across it's entire line of iron.
  9115.  
  9116.    BTW, I particularly enjoy programming in UNIX 'C'.
  9117.  
  9118. Jim
  9119.  
  9120. >>>>>>>>>> Msg 5673 reply #4
  9121.  
  9122.    conf: PROGRAMMING LANGUAGES  #5699  07-17-88  21:26  (Read 96 times)
  9123.    from: PHIL KATZ
  9124.      to: TOM FELLER (Rcvd)
  9125. subject: R: MSC MEMAVAIL  Reply to #5673
  9126.  
  9127. Tom,
  9128.  
  9129. According to my MSC manual, _freect(x) returns the number of
  9130. times that you can call malloc(x) requesting a block of size x.
  9131.  
  9132. Assuming this is correct, you could call _freect(16) and it
  9133. could return a value up to 65535 meaning that malloc() could
  9134. return about 1,048,576 bytes.  Now, malloc() is supposed to map
  9135. into _fmalloc() in the large model.  The desciption for _freect()
  9136. says nothing about the static data segment.
  9137.  
  9138. However, I've never tried using _freect(), so I don't know if it
  9139. works as MSC says it does or not.
  9140.  
  9141. >Phil>
  9142.  
  9143. >>>>>>>>>> Msg 5673 reply #5
  9144.  
  9145.    conf: PROGRAMMING LANGUAGES  #5701  07-17-88  23:15  (Read 97 times)
  9146.    from: TOM FELLER
  9147.      to: PHIL KATZ (Rcvd)
  9148. subject: R: R: MSC MEMAVAIL  Reply to #5699
  9149.  
  9150. The MSC manual clearly states: "default data segment". A segment is
  9151. only 64k, so the bytes free from freect would be <= 64k.
  9152. We tried freect(16) and the value returned times 16 = about 5k.
  9153. We are using the large memory model and we know there is over
  9154. 200k free. I don't think freect works correctly in the large memory
  9155. model, based on the number of mallocs. The manual seems to contradict
  9156. itself on freect().
  9157. -Tom Feller-
  9158.  
  9159. >>>>>>>>>> Msg 5673 reply #6  >>>Last msg in reply thread.
  9160. Returning to normal sequence.
  9161.  
  9162.    conf: PROGRAMMING LANGUAGES  #5679  07-16-88  13:28  (Read 97 times)
  9163.    from: GRANT ELLSWORTH
  9164.      to: ALL
  9165. subject: DISABLING CTL-BRK
  9166.  
  9167. How does one totally, completely, and utterly , eradicate bios/dos
  9168. sensing the ctrl-brk key (no - I don't mean ^@ or ^C - i mean the
  9169. (gross expletive deleted) ctrl + brk (scroll lock) key)?????  I want to
  9170. handle the ctrl-brk as if user had keyed a ^C (ctrl-c).
  9171.  
  9172. I tried the following:
  9173.  
  9174. 1.  In TC ...
  9175.     setcbrk(0) - to disable cbrk, or so i thought
  9176.     bioskey(1) - to test keyboard status
  9177.     bioskey(0) - to wait/get next keystroke from kbd
  9178.  
  9179. 2.  In asm ...
  9180.     INT 21h , ax=3301h, dx=0000h to disable
  9181.     int 16h, ah=0 / wait,get keystroke, etc..
  9182.  
  9183. ... and in all instances I get a  <cr>^C transmitted to screen at
  9184. end of program (or after all screen writes, etc..)
  9185.  
  9186. I also tried , in tc, to override the ctrl-brk vector (int 23) using
  9187. the ctrlbrk(routn-name) function with an ungetch(xxxx) ... same darned
  9188. results = a <cr> ^C at end of pgm sitting on the screen.
  9189. Note: I issued a non-0 return code ( return(1)) after the ungetch!
  9190.  
  9191. Am I missing something?
  9192.  
  9193. MSDOS book suggests stomping on INT 1bh ... haven't tried that ... yet.
  9194. Is that necessary?  Seems to me there ought to be an easier way to curtail
  9195. that key!
  9196.  
  9197. Grant
  9198. ---------------
  9199.  
  9200.    conf: PROGRAMMING LANGUAGES  #5680  07-16-88  19:36  (Read 88 times)
  9201.    from: DALE ULMER
  9202.      to: GRANT ELLSWORTH (Rcvd)
  9203. subject: R: DISABLING CTL-BRK  Reply to #5679
  9204.  
  9205. I'm afraid int 0x1B is the only way to do it reliably.  The following
  9206. works well for me in Turbo C.
  9207.  
  9208. /*
  9209. Turn off the CTRL-C, CTRL-BREAK keys by replacing their interrupt
  9210. handler with one that does nothing.  It is very important that they be
  9211. turned back on before the program returns to DOS.
  9212. */
  9213.  
  9214. #include <dos.h>
  9215.  
  9216. static void interrupt (*old1Bh)();
  9217.  
  9218. void cbreakoff (void)
  9219. {
  9220.   void interrupt on_break();
  9221.   void interrupt (*getvect())();
  9222.  
  9223.   disable();
  9224.   old1Bh = getvect (0x1B);    /* Save the old interrupt vector */
  9225.   setvect (0x1B, on_break);   /* Disable CTRL C, CTRL BREAK */
  9226.   enable();
  9227. }
  9228.  
  9229. /* Turn the CTRL-C, CTRL-BREAK keys back on. */
  9230.  
  9231. void cbreakon (void)
  9232. {
  9233.   disable();
  9234.   setvect (0x1B, old1Bh);     /* Restore original interrupt vector */
  9235.   enable();
  9236. }
  9237.  
  9238. static void interrupt on_break (void)
  9239. {
  9240. }
  9241.  
  9242. >>>>>>>>>> Msg 5679 reply #1
  9243.  
  9244.    conf: PROGRAMMING LANGUAGES  #5690  07-17-88  12:06  (Read 91 times)
  9245.    from: GRANT ELLSWORTH
  9246.      to: DALE ULMER (Rcvd)
  9247. subject: R: R: DISABLING CTL-BRK  Reply to #5680
  9248.  
  9249. Dale, thx for example.  I tried something like that ... and found 2
  9250. problems in my stuff and I have a question about your code fragment.
  9251.  
  9252. q:  shouldn't you statement ...
  9253.  
  9254.     void interrupt (*getvect())();
  9255.  
  9256.     read ....
  9257.  
  9258.     void interrupt (*old1Bh())();  (????)
  9259.  
  9260.     I had a dickens of a time figuring out how to declare the variable
  9261.     which would  store the "old-1bh" address and be accepted by the
  9262.     compiler for the setvect() function.  I finally jury rigged a
  9263.     pointer var xfer to solve the problem.  Could you look at your tech-
  9264.     nique again to be sure I/you have the expression right?
  9265.  
  9266. My 2 additional problems were:
  9267.  
  9268. 1.  Using the bioskey() funtion, the ctrl-brk key did NOT seem to leave
  9269.     the keyboard in a "character-waiting state (using bioskey(1) to check)
  9270.  
  9271. 2.  bioskey(0) with no character-waiting, hangs machine until I hit any key
  9272.     (as expected) --- including the ctrl-brk key.  This suggests that bios
  9273.     int 16H, funct 0, interprets a ctrl-brk key as satisfying the "key-hit"
  9274.     requirement --- but, bios int 16H , funct 1 (keyboard status) does not!
  9275.  
  9276.     Thus , I have to have my code force a keyboard read (bioskey(0) - int
  9277.     16H, etc..) after detecting a ctrl-brk.  With ctrl-brk totally deacti-
  9278.     vated (the way you illustrate), my machine HANGS/LOCKS-UP/GOES COMATOSE
  9279.      .... and the big red solution is required!
  9280.  
  9281.     Any comments?  I'm using a real ordinary 8088 IBM PC 10/27/82 bios.
  9282.   
  9283. Thx,  Grant
  9284.  
  9285. >>>>>>>>>> Msg 5679 reply #2
  9286.  
  9287.    conf: PROGRAMMING LANGUAGES  #5692  07-17-88  12:40  (Read 90 times)
  9288.    from: PAT SHEA
  9289.      to: GRANT ELLSWORTH (Rcvd)
  9290. subject: R: R: DISABLING CTL-BRK  Reply to #5690
  9291.  
  9292. Grant....
  9293. 'cuse me for butting in on what appears to be the tail end of a 'thread',
  9294. but there is a file in the Mahoney collection called CTRLC.ARC which I
  9295. uploaded 'bout a week or so ago.
  9296. It was written by the Microsoft 'technoids' and gives examples in MSC/QC on
  9297. the trapping/handleing of <Ctrl-C> and <Ctrl-Break> --- hope this may be of
  9298. some help.  [NOTE:  I'm not zackly sure what the ARCfile's name  is, but it
  9299. is within the last couple of wks. and CTRLC.ARC seems to rung a bell in my
  9300. memory.
  9301. happyhacking...
  9302. pat s.
  9303.  
  9304. >>>>>>>>>> Msg 5679 reply #3
  9305.  
  9306.    conf: PROGRAMMING LANGUAGES  #5700  07-17-88  22:30  (Read 96 times)
  9307.    from: DALE ULMER
  9308.      to: GRANT ELLSWORTH (Rcvd)
  9309. subject: R: R: DISABLING CTL-BRK  Reply to #5690
  9310.  
  9311. To respond to your second point first, I'll be damned if you're not
  9312. right.  I hadn't fooled much with the bioskey(1) function, but it
  9313. behaves exactly as you say on my AT clone too.  To compound matters, the
  9314. same thing happens using TC's kbhit function.  Fortunately, my
  9315. application doesn't require peeking at the keyboard before retrieving
  9316. the value, so I hadn't encountered the problem before.  When I find some
  9317. free time I may join you in pounding my head against that particular
  9318. wall.  I suspect you may also need to take over interrupt 9.  If you
  9319. find a solution, please share it.
  9320.  
  9321. The answer to your first question is no.  The void interrupt
  9322. (*getvect())() line is to tell the compiler that the getvect function
  9323. returns a pointer to an interrupt.
  9324.  
  9325. >>>>>>>>>> Msg 5679 reply #4
  9326.  
  9327.    conf: PROGRAMMING LANGUAGES  #5710  07-19-88  00:13  (Read 89 times)
  9328.    from: GRANT ELLSWORTH
  9329.      to: DALE ULMER (Rcvd)
  9330. subject: R: R: DISABLING CTL-BRK  Reply to #5700
  9331.  
  9332. Dale, ... more details and other item ...
  9333.  
  9334. On your reply to my first question ... how do I give the ptr a name? And,
  9335. generally ... Oh, really??!!!! I'll have to give it a try.  I found that
  9336. " void interrupt (*myinterrupt_ptr)();" worked for the pointer definition.
  9337.  
  9338. More details:  I figured out something which worked.
  9339.  
  9340. 1.  I overode intr 1bH and intr 23H whith my own interrupts which set
  9341.     a ctrl-brk found flag to true
  9342.  
  9343. 2.  I used the following sequence to get the effect I wanted ..
  9344.  
  9345.     kbstatus = bioskey(1);  /* test for key pressed via bios not dos */
  9346.     if (ctrl_brk)    /* if ctrl_break flag is true (set by my intr 1bh) */
  9347.         {  mychar = 0x1d03;  /* set an arbitrary ctrl brk kbd id */
  9348.            kbstatus = TRUE;  /* fake-out next test to read kbd */
  9349.            ctrl_brk = FALSE; /* open up for next ctrl_brk */
  9350.         }
  9351.     if (kbstatus){  /* if bios or faker says kbd was hit .... */
  9352.        newchar = bioskey(0);
  9353.        mychar = (newchar ? newchar : mychar); /* that is... */
  9354.          kbstatus = FALSE; /* clear flag for next cycle */
  9355.           }
  9356.           /* (above) if  new char from keyboard != 0 then use it ...
  9357.              else use mychar set from above by ctrl_brk test */
  9358.          /* bioskey(0) returns a 2-byte code from keyboard , regular char
  9359.            and its candidate scan code (0xhh00 -> scan code char, while
  9360.            0xnncc = non-scan code character -- nn = kbd position, cc  =
  9361.            actual hex-char value */
  9362.         /* ctrl_brk actually leaves a 0x0000 in the kbd buffer (start posn)
  9363.            and bioskey() will return that 0 value.
  9364.          
  9365.            You must override or intercept the intr 09H function (bios kbd
  9366.            interrupt in order to accept the ctrl_brk as a normal character
  9367.            without re-starting/clearing the kbd buffer.  I did NOT go
  9368.            that far.
  9369.  
  9370.             This is what MS did in the CAROTC example recently uploaded
  9371.             (Please forgive me, I've gotten confused as to whgich of you
  9372.              reading this trhread did upload that interesting example.
  9373.              It was verfy useful)
  9374.           ... Example was in CAROTC.ARC - named CTRL.C.
  9375.            */
  9376.      
  9377. I should also note that the MS example , which used KBHIT() to test for
  9378. key waiting did NOT trap the ^@ (chich also generates a ctrl_break like
  9379. condition.  Bioskey(0) return 0x0300 for ^@ (ctrl_@).
  9380.  
  9381. Thus, I cholse to stick with the bioskey() solution overriding the 1BH and
  9382. 23H interrupts.  If the 1bH interrupt is not restored before pgm exit, you
  9383. will find that you are in deeeeeep shinola .... BEWARE of using this
  9384. technique or the one where the kbd interrupt is overridden.  Restore or big
  9385. red will be your only restoration!
  9386.  
  9387. I hope this is illuminating.  I'd still like one of you veteran gurus out
  9388. there to confirm the behavior of intr 16H as I think it's working vs a vs
  9389. the ctrl-brk key.  Grant
  9390.  
  9391. >>>>>>>>>> Msg 5679 reply #5
  9392.  
  9393.    conf: PROGRAMMING LANGUAGES  #5721  07-19-88  14:31  (Read 89 times)
  9394.    from: DALE ULMER
  9395.      to: GRANT ELLSWORTH (Rcvd)
  9396. subject: R: R: DISABLING CTL-BRK  Reply to #5710
  9397.  
  9398. Yes,  "void interrupt (*myinterrupt_ptr)()" declares myinterrupt to be a
  9399. VARIABLE that HOLDS a pointer to a function of type void (modified by
  9400. "interrupt").  By the same token,  "void interrupt (*getvect())()"
  9401. declares getvect to be a FUNCTION that RETURNS a pointer to a function
  9402. of type void (modified by "interrupt").  Yes, of course I find that to
  9403. be confusing.  Everyone except for Kernighan, Ritchie and Katz finds it
  9404. to be confusing, and I suspect that even Kernighan is mildly bewildered.
  9405.  
  9406. I've made a note of your solution to the problem.  It's bound to be
  9407. useful eventually.  I think I'll download CAROTC.ARC and have a look at
  9408. it.
  9409.  
  9410. >>>>>>>>>> Msg 5679 reply #6
  9411.  
  9412.    conf: PROGRAMMING LANGUAGES  #5724  07-19-88  19:18  (Read 90 times)
  9413.    from: GRANT ELLSWORTH
  9414.      to: DALE ULMER (Rcvd)
  9415. subject: R: R: DISABLING CTL-BRK  Reply to #5721
  9416.  
  9417.      cc: PAT SHEA
  9418.  
  9419. Dale, just for your info ... the TC prototype in dos.h declares "getvect()"
  9420. just as you did in the raw sample.  Also, the declaration subsumes "far *
  9421. ..".  Thus , ...
  9422.  
  9423. #include <dos.h>
  9424.  ...
  9425. void far * farptr;
  9426. void interrupt (*intrrupt_ptr)();
  9427.  ....
  9428. are both accepted as receivers of the getvect() return value without obtuse
  9429. typecasting.  Hence your  in-line declaration would be redundantl in
  9430. TC and would not be necessary.  I'm surprised MS appears not to do the
  9431. same.
  9432.  
  9433. I'm putting together a more generic  bios-call based ctrl-brk (and clones)
  9434. processor than the MS example.  I'll upolad it as soon as I verify that it
  9435. really works and can be easily modified.  I'm surprised that this has not
  9436. been done yet.  The ctrl-brk, ^C, and ^@ have been hazards of pc screen
  9437. oriented , very-user-friendly software for quite some time.  What a
  9438. nuisance!!!!!    Grant
  9439.  
  9440. >>>>>>>>>> Msg 5679 reply #7
  9441.  
  9442.    conf: PROGRAMMING LANGUAGES  #5728  07-19-88  20:22  (Read 89 times)
  9443.    from: DALE ULMER
  9444.      to: GRANT ELLSWORTH (Rcvd)
  9445. subject: R: R: DISABLING CTL-BRK  Reply to #5724
  9446.  
  9447. You're right about it's being a nuisance, but I must point out that
  9448. Turbo C is a part of the problem.  I'm not Borland bashing - I have an
  9449. unused copy of MSC 5.0 on the shelf.  Before Borland got around to
  9450. buying out the old Wizard C compiler and repackaging it, I used to use
  9451. Aztec C.  It had quite a collection of weirdnesses and faults, but it
  9452. was a fairly quick compiler that produced fast executing code.  A nice
  9453. point in its favor was the fact that CTRL-BREAK could be turned off with
  9454. a simple call to signal().  As you've discovered, that doesn't work in
  9455. Turbo C.
  9456.  
  9457. >>>>>>>>>> Msg 5679 reply #8
  9458.  
  9459.    conf: PROGRAMMING LANGUAGES  #5733  07-19-88  21:16  (Read 89 times)
  9460.    from: PAT SHEA
  9461.      to: GRANT ELLSWORTH (Rcvd)
  9462. subject: R: R: DISABLING CTL-BRK  Reply to #5724
  9463.  
  9464. Grant....
  9465. I've pulled in the 'thread' on this one but have not, as yet, had a chance
  9466. to plod thru it.  'be VERY interested in seeing ur solution to this one !!
  9467. pat s.
  9468.  
  9469. >>>>>>>>>> Msg 5679 reply #9
  9470.  
  9471.    conf: PROGRAMMING LANGUAGES  #5745  07-20-88  18:48  (Read 98 times)
  9472.    from: GRANT ELLSWORTH
  9473.      to: DALE ULMER (Rcvd)
  9474. subject: R: R: DISABLING CTL-BRK  Reply to #5728
  9475.  
  9476. Dale,  that's interesting (using the signal() function).  I wonder what
  9477. other signal() facilities other C compilers have that I have yet to wish I
  9478. had available.....   Grant
  9479.  
  9480. >>>>>>>>>> Msg 5679 reply #10
  9481.  
  9482.    conf: PROGRAMMING LANGUAGES  #5772  07-23-88  22:06  (Read 96 times)
  9483.    from: GRANT ELLSWORTH
  9484.      to: PAT SHEA (Rcvd)
  9485. subject: R: R: DISABLING CTL-BRK  Reply to #5733
  9486.  
  9487. Pat, I've got at least 2 solutions - both are ugly.  They both involve
  9488. writing an INT09 (Keyboard Interrupt) front end - a la CAROTC.ARC which
  9489. originated w/Microsoft and which , by the way , does not and can not
  9490. work on a ps/2 and possibly on an AT.  The reason the INT09 front end can't
  9491. work on a ps/2 is because the ps/2 keyboard is re-entrant (in bios) and
  9492. some keys send several character (byte) sequences to the interrupt before
  9493. the 1st is finished - ^brk is a PRIME OFFENDER.  However, the problem can
  9494. be solved.  Generally, the MS solution is structurally correct.  However,
  9495. one must keep in mind that if one wishes to stick strictly with DOS
  9496. services (NO BIOS calls) and use KBHIT() to determine if a key was pressed
  9497. before calling getch(), one will find, much to one's EXTREME aggrevation,
  9498. that there ain't no way to get a 0x03 in the keyboard buffer past kbhit()
  9499. (dos service 0bh via int 21).
  9500.  
  9501. The 2 solutions are:
  9502.  
  9503. 1.  The pure DOS Solution (including use of kbhit() so you don't lock up
  9504.     your program waiting on a keystroke)
  9505.  
  9506.     o nullify int 23h (ctrl-c,ctrl-brk for dos) and int 1bh (ctrl-brk,
  9507.       only, for BIOS)
  9508.     o Intercept keyboard interrupt 09h (don't write a replacement ,,, just
  9509.       a "little" front-end stuff) which
  9510.  
  9511.       tests incoming scan codes for the problem characters (^C, ^brk, and,
  9512.       ^@), and resets the contents of the keyboard buffer AFTER calling
  9513.       the real int 9h (test before call, set kbd buffer after call)
  9514.  
  9515.       programmer has option of allowing bios to reset (wipe out typed ahead
  9516.       keystrokes) the kbd buffer, or inserting special code (2 bytes)
  9517.       for the ctrl-brk.  Messing with the keyboard-head, keyboard-tail bios
  9518.       pointers is risque, but it seems to be the only way to get "streamed"
  9519.       sequential use of the ^brk key
  9520.  
  9521.     o Use the following sequence to get characters from the keyboard ...
  9522.  
  9523.       if(kbhit()) {   /* tests to see if character waiting in kbd buff */
  9524.          ch = getch(); /* get unsigned int from dos intr 21, funct 07) */
  9525.          if (!ch) ch = EXTENDED+getch() /* gets char after scan code */
  9526.                      /* and sets character to scancode + whatever you
  9527.                         choose to give it a unique code */
  9528.          /* the following could be used if you inserted scan-code-like
  9529.             values in the kbd  buffer  for the process breakers */
  9530.  
  9531.           switch (ch) {
  9532.                 case CTRL_C : ch=stnd_CTRL_C ; break;
  9533.                    .......
  9534.                 case ALT_03 : ch=diff_CTRL_C ; break; /* don't forget
  9535.                          about this one !!!!! */
  9536.                }
  9537.       }
  9538.  
  9539. 2.  The BIOS solution using BIOSKEY(0), and BIOSKEY(1) (using intr 16h,
  9540.       fn's 0 and 1)
  9541.  
  9542.     This is almost the same as the DOS solution - except that the only
  9543.     special key that must be checked for in the intr 09 intercept is
  9544.     the ^brk - and then onlyu necessary if you want to prevent a ^brk from
  9545.     resetting the keyboard buffer or wish to set a special value for it in
  9546.     the kbd buffer before bios call to get character
  9547.  
  9548.     The main-line processing uses BIOSKEY() to determine kbd status and
  9549.     then get the keyobard character AND its scan code in 1 call.  2 get-
  9550.     character calls if there was a scan code are not necessary.
  9551.  
  9552. There is NO other solution that I've been able to verify - i've even tried
  9553. the obtuse IOCTL() functions --- and it just looks like the DOS status
  9554. functions (both ioctl, funct 06, and int 21, funct 0bh) can not let an
  9555. 0x03 character be in the kbd buffer without protesting.  And there is
  9556. NO good clean way to turn the (expletive deleted) thing off.  BOO HISS to
  9557. MS, DOS, .... and heaven help us if they haven't done something better in
  9558. OS/2!!!
  9559.  
  9560. I'm working on "more correct" and  complete example ... I'll uipload it in
  9561. a few days as soon as I'm done
  9562.  
  9563. I hope this long thread and its resolution will be useful to somebody other
  9564. than me.    Grant
  9565.  
  9566. >>>>>>>>>> Msg 5679 reply #11
  9567.  
  9568.    conf: PROGRAMMING LANGUAGES  #5773  07-23-88  22:50  (Read 96 times)
  9569.    from: PAT SHEA
  9570.      to: GRANT ELLSWORTH (Rcvd)
  9571. subject: R: R: DISABLING CTL-BRK  Reply to #5772
  9572.  
  9573. Grant ----
  9574. 'look's like Ur really into this one!  Thank heaven that I've never hit
  9575. anything that I couldn't handle w/ signal( ... ).  Just this afternoon, I
  9576. spent 'bout an hour trying to 'grok' the CAROTC code in toto and am almost
  9577. 'there'..... lemme spend a bit of time with Ur current, "interim report".
  9578. happyhacking!!!
  9579. pat s.
  9580.  
  9581. >>>>>>>>>> Msg 5679 reply #12
  9582.  
  9583.    conf: PROGRAMMING LANGUAGES  #5782  07-24-88  23:44  (Read 95 times)
  9584.    from: GRANT ELLSWORTH
  9585.      to: PAT SHEA (Rcvd)
  9586. subject: R: R: DISABLING CTL-BRK  Reply to #5773
  9587.  
  9588. Pat, contrary to my last msg, I found that the dos function 44h (ioctl())
  9589. WILL allow totally unfiltered input/output from the keyboard ... including
  9590. ^C, ^brk, ^@, and alt_03 (^s, ^p, etc. also pass infiltered). This solution
  9591. looks simple, is simple, and allows us to AVOID interruypt handlers,
  9592. replacements ... including the vexing intr09.
  9593.  
  9594. I'll upload the file as: UNFILKEY.ARC into the Mahoney collection a little
  9595. later.  Have a look.  Any comments?
  9596.  
  9597. Grant
  9598.  
  9599. ps / since code fragment is relatively short, i'll try uploading it
  9600. here too.  Grant (code follows) ...
  9601.  
  9602. UNFILKEY.C
  9603.   /* UNFILKEY - unfiltered keyboard input/output for dos ...            */
  9604.   /*  compiled and tested with MSC4.0 and TC1.5                         */
  9605.   /* ... will read ALL charcters keyed and display all BUT <esc>       */
  9606.   /*     in MSC ( ... all including <esc> in TC)                        */
  9607.   /*  Characters read include the troublesome ones ...                  */
  9608.   /*   ^C   ^brk   ^@   ^S   ^P                                         */
  9609.   /*   ^C and ^brk are both read and written as 0x03                    */
  9610.   /*  (F11 and F12 on the AT extended keyboard will not produce input)  */
  9611.  
  9612.   /* To get ALL characters in MSC, even the <esc>, the putch() function */
  9613.   /* must be over-ridden with a set of BIOS intr 16h calls to write chars
  9614. */
  9615.   /* TC uses BIOS calls to do its writes for putch().  Thus ALL chars are
  9616. */
  9617.   /* written to the console */
  9618.  
  9619.   /* To compile with MSC, use /DMSC on the commad line */
  9620.   /* To compile with TC, nothing unusual required      */
  9621.   /* To run, enter UNFILTKY <cr> (or whatever you name it) */
  9622.   /*   enter characters .... terminate with the back-slash "\" character */
  9623.  
  9624. /* By Grant Ellsworth, Adelphi, MD (July, 1988)
  9625.    - NO copywright claimed, implied, or otherwise intended.
  9626.          Use this code fragment in any way you like
  9627. */
  9628. #include <stdio.h>
  9629. #include <dos.h>
  9630. #include <conio.h>
  9631.  
  9632. #ifdef MSC
  9633. int ioctl(fhandle, cmd, dxptr)
  9634. int fhandle;
  9635. int cmd;
  9636. int * dxptr;
  9637. {
  9638.     union REGS regs;
  9639.  
  9640.     regs.x.ax = 0x4400 | (unsigned char) cmd;
  9641.     regs.x.bx = fhandle;
  9642.     regs.x.dx = *dxptr;
  9643.     return( intdos(®s,®s) );
  9644. }
  9645. #undef getch
  9646. #define getch() (unsigned char)bdos(7,0,0)
  9647.                               /* redefine getch() to use dos service 07h */
  9648.                               /* instead of service 08h */
  9649.  
  9650. #endif
  9651.  
  9652. #define FOLDCHAR 0x07b       /* value to add to extended characters with */
  9653.                              /* scancodes of 0 - value chosen for
  9654. displaying */
  9655.  
  9656. main()
  9657. {
  9658.         unsigned ch;
  9659.         unsigned rdx;
  9660.  
  9661.         rdx = 0x00a1;
  9662.  
  9663.         ioctl(0, 1, &rdx);
  9664.         ioctl(1, 1, &rdx);
  9665.  
  9666.         ch = 0;
  9667.  
  9668.         while( '\\' != (unsigned char) ch ) {
  9669.                 if( ioctl(0,6, &rdx) ){
  9670.                         ch = getch();
  9671.                         if (!ch) ch = FOLDCHAR+getch();
  9672.                         putch(ch);
  9673.                         }
  9674.         }
  9675.  
  9676.         rdx = 0x0081;
  9677.         ioctl(1,0, &rdx);
  9678.         ioctl(1,1, &rdx);
  9679. }
  9680.  
  9681. >>>>>>>>>> Msg 5679 reply #13
  9682.  
  9683.    conf: PROGRAMMING LANGUAGES  #5788  07-25-88  05:59  (Read 95 times)
  9684.    from: PAT SHEA
  9685.      to: GRANT ELLSWORTH (Rcvd)
  9686. subject: R: R: DISABLING CTL-BRK  Reply to #5782
  9687.  
  9688. Grant...
  9689. On my 'way in here', I stopped by and took a look @ NEW UPLOADS and saw
  9690. NEWFILKEY.ARC and figgered it was yours...  'already have it!  lemme play
  9691. with it for a day, and I'll be back to you
  9692. happyhacking !!!
  9693. pat s.
  9694.  
  9695. >>>>>>>>>> Msg 5679 reply #14  >>>Last msg in reply thread.
  9696. Returning to normal sequence.
  9697.  
  9698.    conf: PROGRAMMING LANGUAGES  #5681  07-16-88  19:50  (Read 91 times)
  9699.    from: DAVE CLAY
  9700.      to: PAUL SCHMIDT (Rcvd)
  9701. subject: CODEVIEW? WHAT CODEVIEW?
  9702.  
  9703. Paul,
  9704.    I agree that a second monitor or a second terminal is really
  9705. necessary for the nasty debugging jobs.  BTW a second monitor is very
  9706. handy for other jobs, like a spreadsheet.  Supercalc 4 supports 2
  9707. monitors very well.  Just about any program works easyer with the
  9708. directory displayed on one tube while I work on the other.  I bought
  9709. a second monitor for debugging (and to get my wife to quit bugging me)
  9710. but found it very handy for all sorts of jobs.  I suggest any serious
  9711. programmer (particularly video work) invest in 2 monitors.
  9712.             Good luck,
  9713.                       Dave Clay
  9714.     .
  9715. ---------------
  9716.  
  9717.    conf: PROGRAMMING LANGUAGES  #5682  07-16-88  20:04  (Read 89 times)
  9718.    from: DAVE CLAY
  9719.      to: TOM PETERS (Rcvd)
  9720. subject: MASM5.1 ERROR
  9721.  
  9722.      cc: GRANT ELLSWORTH
  9723.  
  9724. Tom,
  9725.          MASM 5.1 has its troubles.  It often lays down extra NOPs
  9726. to prevent "phase errors" but it still bombs on some programs.  The
  9727. real winner was a Microsoft supplied subroutine  (.ASM) that comes
  9728. awith the FORTRAN package.  Micorsoft's MASM 5.1 bombed on their own
  9729. source.  I have tryed to fake out the assembler by adding my own NOPs
  9730. but MASM still added more.  Microsoft is aware of the problems and
  9731. may be some day (grin) they will fix it up.  I bet it is more $$$
  9732. to upgrade to fix the old bugs.  Unless you are super critical about
  9733. space or run time, the extra NOPs will not hurt you.
  9734.              Good luck
  9735.                           Dave Clay
  9736.  .
  9737. ---------------
  9738.  
  9739.    conf: PROGRAMMING LANGUAGES  #5691  07-17-88  12:10  (Read 91 times)
  9740.    from: GRANT ELLSWORTH
  9741.      to: DAVE CLAY (Rcvd)
  9742. subject: R: MASM5.1 ERROR  Reply to #5682
  9743.  
  9744.      cc: TOM PETERS
  9745.  
  9746. Dave, Tom,  MASM5.0 does not have the same problems ... looks like MS tried
  9747. to fix something that wqasn't quite broke.  I read the SLR's OPTASM does
  9748. not croak out phase errors ... maybe it's time to switch.  Grant
  9749.  
  9750. >>>>>>>>>> Msg 5682 reply #1
  9751.  
  9752.    conf: PROGRAMMING LANGUAGES  #5702  07-18-88  11:11  (Read 87 times)
  9753.    from: TOM PETERS
  9754.      to: DAVE CLAY (Rcvd)
  9755. subject: R: MASM5.1 ERROR  Reply to #5682
  9756.  
  9757.      cc: GRANT ELLSWORTH
  9758.  
  9759. The extra NOPS won't hurt me, yes I know, but the stupid messages (that are
  9760. NOT listed in the release notes!) will annoy me. We love ya, Microsoft!
  9761.  
  9762. >>>>>>>>>> Msg 5682 reply #2  >>>Last msg in reply thread.
  9763. Returning to normal sequence.
  9764.  
  9765.    conf: PROGRAMMING LANGUAGES  #5687  07-17-88  06:01  (Read 92 times)
  9766.    from: BRUCE SHERMAN
  9767.      to: ALL
  9768. subject: INFOWORLD ON CLARION
  9769.  
  9770. In what recent issue (date please) of Inforworld did the favorable review
  9771. of Clarion appear?
  9772. ---------------
  9773.  
  9774.    conf: PROGRAMMING LANGUAGES  #5688  07-17-88  08:07  (Read 91 times)
  9775.    from: NED REITER
  9776.      to: BRUCE SHERMAN (Rcvd)
  9777. subject: R: INFOWORLD ON CLARION  Reply to #5687
  9778.  
  9779. The review was part of a 7 data base comparison in the July 4, 1988
  9780. issue.  -- Ned --
  9781.  
  9782. >>>>>>>>>> Msg 5687 reply #1  >>>Last msg in reply thread.
  9783. Returning to normal sequence.
  9784.  
  9785.    conf: PROGRAMMING LANGUAGES  #5693  07-17-88  13:01  (Read 89 times)
  9786.    from: PAT SHEA
  9787.      to: GRANT ELLSWORTH (Rcvd)
  9788. subject: DISABLING CTRL-BRK
  9789.  
  9790. Grant...
  9791. CORRECTION  to my earlier message <I just looked> !!
  9792. The name of the file is CAROTC.ARC
  9793. pats.
  9794. ---------------
  9795.  
  9796.    conf: PROGRAMMING LANGUAGES  #5694  07-17-88  14:26  (Read 90 times)
  9797.    from: GRANT ELLSWORTH
  9798.      to: PAT SHEA (Rcvd)
  9799. subject: R: DISABLING CTRL-BRK  Reply to #5693
  9800.  
  9801. Thanks, pat.  I'll try to get it (CAROTC.ARC).  I'd still like an
  9802. explanation of what/why I'm getting the results that I do.  Do you have any
  9803. clue?  Grant
  9804.  
  9805. >>>>>>>>>> Msg 5693 reply #1
  9806.  
  9807.    conf: PROGRAMMING LANGUAGES  #5696  07-17-88  15:29  (Read 93 times)
  9808.    from: PAT SHEA
  9809.      to: GRANT ELLSWORTH (Rcvd)
  9810. subject: R: R: DISABLING CTRL-BRK  Reply to #5694
  9811.  
  9812. Grant...
  9813. as I sed in my earlier mssg, I'm sort of jumping in at the tail end of your
  9814. conversation.  I really have not followed the development of the
  9815. description of the problem.  Also, my personal experience in trying to trap
  9816. the <Ctrl-C/Break> has been pretty much limited to using signal() so that
  9817. the user duz not end up in graphics mode when he wants to bail out of a
  9818. graphics application w/o waiting for me to do my 'housekeeping' routines on
  9819. exit().  If you happen to have one of the mssg numbers in the thread, I'd
  9820. like to go back and read up to where you are at at this point in this witch
  9821. hunt (really, probably for my own education since anything I've ever tried
  9822. to do, Ive done w/ signal())
  9823. DAMN!!!! it's hot!
  9824. pat s.
  9825.  
  9826. >>>>>>>>>> Msg 5693 reply #2
  9827.  
  9828.    conf: PROGRAMMING LANGUAGES  #5714  07-19-88  00:36  (Read 83 times)
  9829.    from: GRANT ELLSWORTH
  9830.      to: PAT SHEA (Rcvd)
  9831. subject: R: R: DISABLING CTRL-BRK  Reply to #5696
  9832.  
  9833. Pat, signal() just don't cut this one.  This thread is very recent. I
  9834. started it on 7/16 in this conference.  Just do a reverse scan from more
  9835. recent msgs , if not the last one, to find where I started it.  of specific
  9836. interest, see my long response to Dale Ulmer.  I think I have a solution
  9837. which works ... and may nbeed combination with the MS solution in
  9838. CAROTC.ARC for refinement.  Grant
  9839.  
  9840. >>>>>>>>>> Msg 5693 reply #3
  9841.  
  9842.    conf: PROGRAMMING LANGUAGES  #5715  07-19-88  00:44  (Read 83 times)
  9843.    from: GRANT ELLSWORTH
  9844.      to: PAT SHEA (Rcvd)
  9845. subject: R: R: DISABLING CTRL-BRK  Reply to #5696
  9846.  
  9847. Pat, on  the HEAT.  Here in the Washington DC area, it has been so hot and
  9848. muggy that when we go outside, we are swimming in our own sweat within
  9849. 3 minutes.  You can swim in the air on 1st contact.  I don't think it's
  9850. any different there in Bethlehem PA --- you are not that far away.
  9851.  
  9852. This, too, shall pass!  Grant
  9853.  
  9854. ps - let's pray for rain - especially for our buddies out there in the
  9855. midwest and plains -- they need it worse than we do --- and we need it
  9856. bad!
  9857.  
  9858. >>>>>>>>>> Msg 5693 reply #4
  9859.  
  9860.    conf: PROGRAMMING LANGUAGES  #5717  07-19-88  05:18  (Read 82 times)
  9861.    from: PAT SHEA
  9862.      to: GRANT ELLSWORTH (Rcvd)
  9863. subject: R: R: DISABLING CTRL-BRK  Reply to #5715
  9864.  
  9865. ....to quote a firend from St. Louis...
  9866.     'damned river is SO LOW.... the catfish are getting ticks !!'
  9867. Around here, at this time of year, the corn is normally 'belt to low-chest'
  9868. high --- this year, it's 'knee' high....  we ALL pray for rain.
  9869. pat s.
  9870.  
  9871. >>>>>>>>>> Msg 5693 reply #5  >>>Last msg in reply thread.
  9872. Returning to normal sequence.
  9873.  
  9874.    conf: PROGRAMMING LANGUAGES  #5695  07-17-88  14:31  (Read 93 times)
  9875.    from: GRANT ELLSWORTH
  9876.      to: JOHN KASTER (Rcvd)
  9877. subject: REF. BOOK ON C/ASM
  9878.  
  9879. John, a good ref. book I've been using to develop complex system level C
  9880. and asm pgms is the MS press's Advanced MS DOS .... seemed to me to be the
  9881. best of a lot of those books of that type.  Grant
  9882. ---------------
  9883.  
  9884.    conf: PROGRAMMING LANGUAGES  #5706  07-18-88  13:33  (Read 92 times)
  9885.    from: TOM PETERS
  9886.      to: PHIL KATZ (Rcvd)
  9887. subject: MASM 5.1 WARNING A5036
  9888.  
  9889.      cc: DAVE CLAY
  9890.      cc: GRANT ELLSWORTH
  9891.  
  9892. I fixed it:
  9893.  
  9894. HEY MASM GURUS: Here's another attempt to figure out why my new install
  9895. of MASM 5.1 does things MASM 5.0 did not. Ver 5.1 appears to feel
  9896. compelled to add extra NOP's into my code when I do certain things,
  9897. reporting warning A5036. I have a suspicion about this: Maybe I should
  9898. move the data area I have embedded in my CS up above the reference to
  9899. it. That way, it would be defined before it's referenced during pass 1.
  9900.  
  9901. LATE BREAKING NEWS: I Moved my embedded data area so it's defined before
  9902. it's referenced. The errors go away, all but one, which is because
  9903. that one is defined in a .DATA area, after its referenced. Then I made it
  9904. a byte cast like >Phil> suggested and the warning went away. Note that
  9905. where duplicate code appears and one is commented out, the other one
  9906. (in each of the four cases) produced the exact same warning message.
  9907.   
  9908.  = 0000   FALSE   EQU   0
  9909.  = FFFF   TRUE   EQU   NOT FALSE ; "BUT WHAT IS TRUTH?" - PONTIUS PILATE
  9910.        ...
  9911.  0267            PROCESS:
  9912.          ;   MOV   CS:DID_G_FLAG,BYTE PTR FALSE
  9913.  0267  2E: C6 06 03B5 R 00   MOV   CS:DID_G_FLAG,FALSE
  9914. bit7x.ASM(489): warning A5036: Extra NOP inserted
  9915.        90
  9916.  026E  8A D8         MOV   BL,AL      ; SAVE LAST CHAr
  9917.          ;   MOV   CS:IGNORE_FLAG,BYTE PTR FALSE
  9918.  0270  2E: C6 06 03AF R 00   MOV   CS:IGNORE_FLAG,FALSE
  9919. bit7x.ASM(492): warning A5036: Extra NOP inserted
  9920.        90
  9921.       ...
  9922.          ;   MOV   READSTAT,byte ptr 1   ; status
  9923.  028B  C6 06 0B8D R 01 90   MOV   READSTAT,1   ; status
  9924. bit7x.ASM(507): warning A5036: Extra NOP inserted
  9925. ; note: I changed this to      MOV BYTE PTR READSTAT,1  and this warning
  9926. ; went away- Thanks, >Phil>.
  9927.       ...
  9928.          ;   MOV   CS:DID_G_FLAG,BYTE PTR TRUE
  9929.  02AC  2E: C6 06 03B5 R FF   MOV   CS:DID_G_FLAG,TRUE
  9930. bit7x.ASM(531): warning A5036: Extra NOP inserted
  9931.        90
  9932.        ...
  9933.             .CODE
  9934.          ; CS EMBDEDDED DATA AREA:
  9935.  03AF  00         IGNORE_FLAG   DB   FALSE
  9936.  03B0  00         Gflag      db   FALSE
  9937.  03B5  00         DID_G_FLAG   DB   FALSE
  9938.  
  9939. So, I guess the way to keep this from happening, if it bothers one, is
  9940. either to define things before they are referenced, or, use type
  9941. casting in the way suggested by Phil Katz.
  9942.  
  9943. ---------------
  9944.  
  9945.    conf: PROGRAMMING LANGUAGES  #5713  07-19-88  00:30  (Read 83 times)
  9946.    from: GRANT ELLSWORTH
  9947.      to: TOM PETERS (Rcvd)
  9948. subject: R: MASM 5.1 WARNING A503  Reply to #5706
  9949.  
  9950. Oh, the gyrational exercises MS puts us through to avoid those darn phase
  9951. errors ... BOO!  (I think it's time to switch!)  Grant
  9952.  
  9953. >>>>>>>>>> Msg 5706 reply #1  >>>Last msg in reply thread.
  9954. Returning to normal sequence.
  9955.  
  9956.    conf: PROGRAMMING LANGUAGES  #5707  07-18-88  17:14  (Read 92 times)
  9957.    from: CHRIS KLANN
  9958.      to: PHIL KATZ (Rcvd)
  9959. subject: C <=> ASM FUNC
  9960.  
  9961. Phil:
  9962.         I've been playing around with a C <=> ASM program and
  9963. unfortunatly, my minimal ASM knowledge (and C knowledge) seems to
  9964. be inhibiting my progress.  I'm starting out with a simple C program
  9965. to see if I can get the ASM call to pass some info back.  I'm using
  9966. MASM 5.1 & MSC 5.1 & compiling under the small model.  I'm getting
  9967. the runtime error "STACK OVERFLOW", but something tells me that the
  9968. program has coding problems, simply expanding the size of the
  9969. stack at compile or link time isn't going to clean it up.
  9970. Here's the C fragment:
  9971. ------------------------------------------------------------
  9972. struct rtn_rec {
  9973.     int     main;
  9974.     int     minor;
  9975.     int     data_len;
  9976. } retcodes;
  9977. .
  9978. extern int  request(int, int, char *, int, struct rtn_rec);
  9979. .
  9980. main() {            /*<-- Blows up right after this...*/
  9981.     int opcode;
  9982.     int trlen;
  9983.     char trreq[4096];
  9984.     int start;
  9985.     struct rtn_rec retcodes;
  9986. .
  9987.     request(1,trlen,trreq,start,retcodes);
  9988. }
  9989. -----------------------------------------------------------
  9990. ...and here's the .ASM listing...
  9991. -----------------------------------------------------------
  9992. ,
  9993. .MODEL SMALL
  9994.     rparms      STRUC
  9995.         rbp     dw      ?               ;Saved frame pointer
  9996.         rret    dw      2 DUP(?)        ;Return address
  9997.         rrc     dw      ?               ;Return code address
  9998.         rpos    dw      ?               ;Starting position of data
  9999.         rbuf    dw      ?               ;Buffer address
  10000.         rlen    dw      ?               ;Statement length
  10001.         rreq    db      ?               ;Request code
  10002.         rreq1   db      ?               ;Unused byte
  10003.     rparms      ENDS
  10004. ,
  10005.     rctype      STRUC
  10006.         rc1     dw      ?
  10007.         rc2     dw      ?
  10008.         dlen    dw      ?
  10009.     rctype      ENDS
  10010. ,
  10011. .CODE
  10012.         PUBLIC  _request
  10013. _request PROC                   ;Make a request of STF
  10014.         push    bp              ;Save frame pointer
  10015.         mov     bp,sp           ;Point to parms
  10016.         push    bx              ;Save the registers!
  10017.         push    cx
  10018.         push    dx
  10019.         push    si
  10020.         push    di
  10021.         pushf
  10022.         push    es
  10023.         mov     ah,1            ;Set translation flag
  10024.         mov     al,[bp].rreq    ;Set request code
  10025.         mov     bx,[bp].rbuf    ;Set buffer address
  10026.         mov     cx,[bp].rlen    ;Set statement length
  10027.         mov     dx,4096         ;Set buffer length
  10028.         db      0CDh            ;Hex equivilent for INT instruction
  10029. intval  db      060h            ;INTVAL is the interrupt at which STF is
  10030.                                 ;installed
  10031.         mov     di,[bp].rrc     ;Get return code address
  10032.         mov     [di].rc1,ax     ;Store main return code
  10033.         mov     [di].rc2,dx     ;Store secondary return code
  10034.         mov     [di].dlen,cx    ;Store length of returned data
  10035.         mov     di,[bp].rpos    ;Point to the caller's data pointer
  10036.         sub     bx,[bp].rbuf    ;Set BX to offset into array
  10037.         inc     bx              ;Set BX to array index
  10038.         mov     [di],bx         ;Store the pointer
  10039.         pop     es              ;Restore registers
  10040.         popf
  10041.         pop     di
  10042.         pop     si
  10043.         pop     dx
  10044.         pop     cx
  10045.         pop     bx
  10046.         pop     bp
  10047.         ret                     ;Return
  10048. _request ENDP
  10049.         END
  10050. -----------------------------------------------------------
  10051. I've been combing the MASM & MSC manuals for a bit, trying different
  10052. things, but still run into the STACK OVERFLOW msg.  Any suggestions?
  10053. As usual, thanks!...Chris.....
  10054.  
  10055. ---------------
  10056.  
  10057.    conf: PROGRAMMING LANGUAGES  #5712  07-19-88  00:31  (Read 90 times)
  10058.    from: PHIL KATZ
  10059.      to: CHRIS KLANN (Rcvd)
  10060. subject: R: C <=> ASM FUNC  Reply to #5707
  10061.  
  10062. Chris,
  10063.  
  10064. Well, there are a few things *wrong* with the code there,
  10065. and a few things that are just frivolous.  I'll start
  10066. with the frivolity.
  10067.  
  10068. 1) Only SI, DI, and BP need to be preserved.  You don't
  10069.    need to push or pop ES, BX, CX, or DX, or do a pushf/popf.
  10070.    Take these instructions out, they have no useful purpose.
  10071.  
  10072. 2) Now with the errors.  You pass the struct rtn_rec retcodes
  10073.    to the subroutine.  Be advised that this passes the VALUE
  10074.    of the structure onto the stack.  From what I can tell,
  10075.    a struct rtn_rec is 6 bytes in size, so this parameter
  10076.    takes up six bytes on the stack.  However, from the asm
  10077.    code, it looks like you just want to pass a POINTER to
  10078.    this structure to the function.  Don't feel bad, this is
  10079.    a common mistake.  What you want to pass is "&retcodes"
  10080.    rather than just "retcodes" itself.  This is what is messing
  10081.    up your program and causing the overflow errors.  Basically
  10082.    when you think you were assigning stuff into the structure,
  10083.    you were really clobbering random memory.
  10084.  
  10085. 3) The STRUC rparms shows "rret dw 2 dup(?)".  In the small
  10086.    model, the subroutine calls are NEAR, so the return address
  10087.    is only one dw, not two.  "rret dw ?" is correct.
  10088.  
  10089. >Phil>
  10090.  
  10091. >>>>>>>>>> Msg 5707 reply #1
  10092.  
  10093.    conf: PROGRAMMING LANGUAGES  #5718  07-19-88  07:43  (Read 84 times)
  10094.    from: CHRIS KLANN
  10095.      to: PHIL KATZ (Rcvd)
  10096. subject: R: R: C <=> ASM FUNC  Reply to #5712
  10097.  
  10098. Phil:
  10099.    Thanks for your prompt reply.  I knew I was probably doingsomething
  10100. stupid - sometimes I just need pointing in the right direction.  This
  10101. little project is an adaptation of some code that IBM has provided for
  10102. allowing a PC to talk to a S/36.  Unfortunatly, the code was written to
  10103. allow a PASCAL pgm to call it, so I'm trying to adapt it to C. I wouldn't
  10104. think that the ASM program would be significantly different for a C program
  10105. calling the subroutine.  I'm going to digest your reply & hopefully get it
  10106. to work.  Thanks again! ...Chris.....
  10107.  
  10108. >>>>>>>>>> Msg 5707 reply #2
  10109.  
  10110.    conf: PROGRAMMING LANGUAGES  #5720  07-19-88  10:25  (Read 95 times)
  10111.    from: CHRIS KLANN
  10112.      to: PHIL KATZ (Rcvd)
  10113. subject: R: R: C <=> ASM FUNC  Reply to #5712
  10114.  
  10115. Phil:
  10116.     Well, I've played around with your suggestions & continue to
  10117. experience the STACK OVERFLOW error at runtime.  I studied the C
  10118. source and made the changes you recommended plus some others.  Here
  10119. are the current versions:
  10120. -------------------------------------------------------------------
  10121. struct rtn_rec {
  10122.     int     main;
  10123.     int     minor;
  10124.     int     data_len;
  10125. };
  10126. .
  10127. extern int  request(char, int, char *, int , struct rtn_rec *);
  10128. .                                         /* ^--- this should */
  10129. main() {                                  /* pass a pointer, eh? */
  10130.     char opcode;            /* <- This is a byte, not a word */
  10131.     int trlen;
  10132.     char trreq[4096];
  10133.     int start;
  10134.     struct rtn_rec *retcodes;
  10135. .
  10136.     request(1,trlen,trreq,start,retcodes);
  10137. }
  10138. -------------------------------------------------------------------
  10139. .MODEL SMALL
  10140.     rparms      STRUC
  10141.         rbp     dw      ?       ;Saved frame pointer
  10142.         rret    dw      ?       ;Return address
  10143.         rrc     dw      ?       ;Return code address
  10144.         rpos    dw      ?       ;Starting position of data
  10145.         rbuf    dw      ?       ;Buffer address
  10146.         rlen    dw      ?       ;Statement length
  10147.         rreq    db      ?       ;Request code
  10148.         rreq1   db      ?       ;Unused byte
  10149.     rparms      ENDS
  10150. ,
  10151.     rctype      STRUC
  10152.         rc1     dw      ?
  10153.         rc2     dw      ?
  10154.         dlen    dw      ?
  10155.     rctype      ENDS
  10156. ,
  10157. .CODE
  10158.         PUBLIC  _request
  10159. _request PROC                   ;Make a request of STF
  10160.         push    bp              ;Save frame pointer
  10161.         mov     bp,sp           ;Point to parms
  10162.         push    si
  10163.         push    di
  10164.         mov     ah,1            ;Set translation flag
  10165.         mov     al,[bp].rreq    ;Set request code
  10166.         mov     bx,[bp].rbuf    ;Set buffer address
  10167.         mov     cx,[bp].rlen    ;Set statement length
  10168.         mov     dx,4096         ;Set buffer length
  10169.         db      0CDh            ;Hex equivilent for INT instruction
  10170. intval  db      060h            ;INTVAL is the interrupt at which STF is
  10171.                                 ;installed
  10172.         mov     di,[bp].rrc     ;Get return code address
  10173.         mov     [di].rc1,ax     ;Store main return code
  10174.         mov     [di].rc2,dx     ;Store secondary return code
  10175.         mov     [di].dlen,cx    ;Store length of returned data
  10176.         mov     di,[bp].rpos    ;Point to the caller's data pointer
  10177.         sub     bx,[bp].rbuf    ;Set BX to offset into array
  10178.         inc     bx              ;Set BX to array index
  10179.         mov     [di],bx         ;Store the pointer
  10180.         pop     di
  10181.         pop     si
  10182.         pop     bp
  10183.         ret                     ;Return
  10184. _request ENDP
  10185.         END
  10186. -------------------------------------------------------------------
  10187. ...I tried to compile the C source, only changing the request() call
  10188. for retcodes to &retcodes and got a compiler error, so I figured I'd
  10189. just define it as a pointer & use it that way in the call (I hope
  10190. that made sense).  I guess I'm also wondering why I really need the
  10191. rbp, rret & rreq1 definitions in the ASM struct definition -- I don't
  10192. see where they're getting used (I tried getting rid of them & relinking
  10193. but still got the STACK OVERFLOW error).  This one's really got me
  10194. stumped.  ...Chris.....
  10195.  
  10196.  
  10197. >>>>>>>>>> Msg 5707 reply #3
  10198.  
  10199.    conf: PROGRAMMING LANGUAGES  #5723  07-19-88  18:20  (Read 89 times)
  10200.    from: CHARLES PERRIN
  10201.      to: CHRIS KLANN (Rcvd)
  10202. subject: R: R: C <=> ASM FUNC  Reply to #5720
  10203.  
  10204. I think you need to increase the default stack allocation in
  10205. order to run that....
  10206.  
  10207. >>>>>>>>>> Msg 5707 reply #4
  10208.  
  10209.    conf: PROGRAMMING LANGUAGES  #5725  07-19-88  19:37  (Read 87 times)
  10210.    from: GRANT ELLSWORTH
  10211.      to: CHRIS KLANN (Rcvd)
  10212. subject: R: R: C <=> ASM FUNC  Reply to #5720
  10213.  
  10214. Chris, 'scuse me for buttin' in ... I noticed something I stumbled over
  10215. before I threw up my hands over MSC ...
  10216.  
  10217. The trreq variable needs to be passed to the subroutine explicitly by
  10218. adress.  I'm going to capture your asm pgm.  Something bugs me, but I'll
  10219. lose connection if i try to daig on-line.
  10220.  
  10221. In your c pgm ,,, I think you have to ....]
  10222.  
  10223.     request (1,trlen, &trreq ....)
  10224.  
  10225. Remember that in C programs, parameters are always passed by value.  You
  10226. can only control how that value is interpretted.  Grant
  10227.  
  10228. >>>>>>>>>> Msg 5707 reply #5
  10229.  
  10230.    conf: PROGRAMMING LANGUAGES  #5726  07-19-88  20:16  (Read 88 times)
  10231.    from: PHIL KATZ
  10232.      to: CHRIS KLANN (Rcvd)
  10233. subject: R: R: C <=> ASM FUNC  Reply to #5720
  10234.  
  10235. Chris,
  10236.  
  10237. >>...I tried to compile the C source, only changing the request() call
  10238. >>for retcodes to &retcodes and got a compiler error, so I figured I'd
  10239. >>just define it as a pointer & use it that way in the call (I hope
  10240. >>that made sense).
  10241.  
  10242. No, that won't work.  When you are passing this pointer,
  10243. what does it point to??  It's uninitialized!  When the
  10244. asm routine assigns data to *retcode, it's still storing
  10245. it in random memory.  You have the function prototype
  10246. declared correctly, but you have to declare a structure,
  10247. not a pointer to a structure, in the routine, and pass the
  10248. address of the structure with the & operator.  Then the
  10249. routine will receive the *address* of this *structure*,
  10250. whose space is allocated locally in main().
  10251.  
  10252. By the way, if you don't want to declare rret1 or whatever,
  10253. just declare rret to be a dw and not a db, and then use the
  10254. "byte ptr" operator to move the low byte of the value.  For
  10255. example:
  10256.  
  10257. mov al,byte ptr [bp].rret
  10258.  
  10259. The other ones such as the space for BP and the return address
  10260. you pretty much have to do.
  10261.  
  10262. >Phil>
  10263.  
  10264. >>>>>>>>>> Msg 5707 reply #6
  10265.  
  10266.    conf: PROGRAMMING LANGUAGES  #5727  07-19-88  20:23  (Read 89 times)
  10267.    from: CHRIS KLANN
  10268.      to: PHIL KATZ (Rcvd)
  10269. subject: R: R: C <=> ASM FUNC  Reply to #5726
  10270.  
  10271.      cc: CHARLES PERRIN
  10272.      cc: GRANT ELLSWORTH
  10273.  
  10274. Phil:
  10275.    I'm going to digest your reply again & get back...thanks...Chris....
  10276.  
  10277. >>>>>>>>>> Msg 5707 reply #7
  10278.  
  10279.    conf: PROGRAMMING LANGUAGES  #5729  07-19-88  20:23  (Read 92 times)
  10280.    from: PHIL KATZ
  10281.      to: CHRIS KLANN (Rcvd)
  10282. subject: R: R: C <=> ASM FUNC  Reply to #5720
  10283.  
  10284. Chris,
  10285.  
  10286. Another probelm with that code is that trlen and start
  10287. are uninitialized.  The asm routine reads start (rpos)
  10288. as a pointer, and stores a value at the address
  10289. pointer to by *rpos.  Should start be passed by address?
  10290.  
  10291. Do you have the original asm routine and the Pascal code
  10292. that was designed to call it?
  10293.  
  10294. >Phil>
  10295.  
  10296. >>>>>>>>>> Msg 5707 reply #8
  10297.  
  10298.    conf: PROGRAMMING LANGUAGES  #5732  07-19-88  20:33  (Read 85 times)
  10299.    from: CHRIS KLANN
  10300.      to: PHIL KATZ (Rcvd)
  10301. subject: R: R: C <=> ASM FUNC  Reply to #5729
  10302.  
  10303. Phil:
  10304.    I do have the Pascal & Asm code - I will enter it & upload it in the
  10305. Mahoney collection as S36EXMPL.ARC...hopefully tonight...Chris....
  10306.  
  10307. >>>>>>>>>> Msg 5707 reply #9
  10308.  
  10309.    conf: PROGRAMMING LANGUAGES  #5738  07-20-88  09:55  (Read 92 times)
  10310.    from: CHRIS KLANN
  10311.      to: PHIL KATZ (Rcvd)
  10312. subject: R: R: C <=> ASM FUNC  Reply to #5729
  10313.  
  10314. Phil:
  10315.     I'm getting kinda confused here... after reading your latest messages &
  10316. looking at the ASM code, it seems that the ASM code *is* expecting
  10317. addresses to be passed & updates the original variables in memory, so the C
  10318. source should be passing the stuff as addresses, not values.  The problem
  10319. is, when I compile the C source for passing addresses, I get compile errors
  10320. & warnings, al la:
  10321. C>cl -c -AS -Zi -F 5120 ..\stfcall.c
  10322. Microsoft (R) C Optimizing Compiler Version 5.10
  10323. Copyright (c) Microsoft Corp 1984, 1985, 1986, 1987, 1988. All rights
  10324. reserved.
  10325. ..\stfcall.c
  10326. ..\stfcall.c(16) : warning C4047: 'argument' : different levels of
  10327. indirection
  10328. ..\stfcall.c(16) : warning C4024: 'request' : different types : parameter 2
  10329. ..\stfcall.c(16) : warning C4047: 'argument' : different levels of
  10330. indirection
  10331. ..\stfcall.c(16) : warning C4024: 'request' : different types : parameter 4
  10332. ..\stfcall.c(16) : error C2115: 'argument' : incompatible types
  10333. ..\stfcall.c(16) : warning C4024: 'request' : different types : parameter 5
  10334. (..sorry about the wrap-around)
  10335. these are the result of compiling this source:
  10336. struct rtn_rec {
  10337.     int     main;
  10338.     int     minor;
  10339.     int     data_len;
  10340. };
  10341. .
  10342. extern void request(char, int, char *, int, struct rtn_rec);
  10343. char trreq[4096];
  10344. .
  10345. main() {
  10346.     char opcode;
  10347.     int trlen;
  10348.     int start;
  10349.     struct rtn_rec retcodes;
  10350. .
  10351.     request(1,&trlen,trreq,&start,&retcodes);
  10352. }
  10353. What the heck's wrong with trying to pass these addresses - I guess I don't
  10354. understand what the compiler means by "incompatible types" & "different
  10355. types".
  10356.  
  10357. >>>>>>>>>> Msg 5707 reply #10
  10358.  
  10359.    conf: PROGRAMMING LANGUAGES  #5747  07-20-88  19:14  (Read 97 times)
  10360.    from: GRANT ELLSWORTH
  10361.      to: CHRIS KLANN (Rcvd)
  10362. subject: R: R: C <=> ASM FUNC  Reply to #5738
  10363.  
  10364. Chris, now I'm as confused as you must be .... but I did notice that 2
  10365. things seem to b out of whack in your most recent exercise ...
  10366.  
  10367. 1.  trlen and start are passed by address in your call to request()
  10368.     while you've declared the prototype hdr to look for call by
  10369.     value ....
  10370.  
  10371.     Make actual call to request() consistent with the prototype definition
  10372.     (whichever way you do it)
  10373.  
  10374. 2.  What are you doing to address the problem Charles P. and Phil K.
  10375.     identified with respect to stack size?
  10376.  
  10377. Grant
  10378.  
  10379. >>>>>>>>>> Msg 5707 reply #11
  10380.  
  10381.    conf: PROGRAMMING LANGUAGES  #5749  07-20-88  20:10  (Read 100 times)
  10382.    from: CHRIS KLANN
  10383.      to: GRANT ELLSWORTH (Rcvd)
  10384. subject: R: R: C <=> ASM FUNC  Reply to #5747
  10385.  
  10386. Grant:
  10387.    Thanks for your reply(s)...to correct the stack size problem, I've
  10388. placed the character array 'trreq' outside the main() area *and* added the
  10389. /F operator in my compile, specifying 5120 bytes for the stack.
  10390. Ummm, with respect to the trlen & start variables - I guess *I'm* kinda
  10391. confused as to how the prototype should be set up...seems that Phil
  10392. mentioned that the *prototype* is set up correctly (msg 5726, I believe) -
  10393. ...oh, but wait a minute, I think that was b/4 I started to think about
  10394. using addresses for the int's.  Well, I'll keep on plugging away at this
  10395. 'till I understand...aina hey?...Chris.....
  10396.  
  10397. >>>>>>>>>> Msg 5707 reply #12
  10398.  
  10399.    conf: PROGRAMMING LANGUAGES  #5751  07-20-88  20:58  (Read 100 times)
  10400.    from: CHRIS KLANN
  10401.      to: GRANT ELLSWORTH (Rcvd)
  10402. subject: R: R: C <=> ASM FUNC  Reply to #5747
  10403.  
  10404.      cc: PHIL KATZ
  10405.      cc: CHARLES PERRIN
  10406.  
  10407. Grant:
  10408.    Well, I got a little farther with your
  10409. suggestion/question/recommendation...here's the *latest* code that compiles
  10410. cleanly:
  10411. =>struct rtn_rec {
  10412. =>    int     main;
  10413. =>    int     minor;
  10414. =>    int     data_len;
  10415. =>};
  10416. =>.
  10417. =>extern void request(char, int *, char *, int *, struct rtn_rec *);
  10418. =>char trreq[4096];
  10419. =>.
  10420. =>main() {
  10421. =>    char opcode;
  10422. =>    int trlen;
  10423. =>    int start;
  10424. =>    struct rtn_rec retcodes;
  10425. =>.
  10426. =>    request(1,&trlen,trreq,&start,&retcodes);
  10427. =>}
  10428. ...(sigh)...maybe some day I'll understand pointers/address passing on an
  10429. *intuitive* level...
  10430. Now I have to figger out why the ASM call is creahing on me.
  10431. Thank you Grant, Charles & Phil! (I'm sure I'll have more questions,
  10432. though)...Chris.....
  10433.  
  10434. >>>>>>>>>> Msg 5707 reply #13  >>>Last msg in reply thread.
  10435. Returning to normal sequence.
  10436.  
  10437.    conf: PROGRAMMING LANGUAGES  #5709  07-18-88  20:14  (Read 83 times)
  10438.    from: TOM FELLER
  10439.      to: ALL
  10440. subject: MS LINK
  10441.  
  10442. We had a problem linking today. MS link version 3.65 crashed!
  10443. We called Microsoft and they told us to try version 5.01.21.
  10444. It worked! We received that version with our OS/2 developers kit.
  10445. We also received MSC version 5.5 and MASM version 5.5.
  10446. I think it should have been version 5.05 for both because we got
  10447. version 5.1 later. That linker version number looks a little too
  10448. long. But, that is the version number Microsoft gave over the phone!
  10449. I guess 5.01.21.01.02 is next! Holy Microsoft.
  10450. So if your linker crashes try version 5.01.21 if you have it.
  10451. -Tom Feller-
  10452. ---------------
  10453.  
  10454.    conf: PROGRAMMING LANGUAGES  #5719  07-19-88  09:03  (Read 86 times)
  10455.    from: GARY SCHULTZ
  10456.      to: VICTOR LOBERGER (Rcvd)
  10457. subject: HI
  10458.  
  10459. Hi Victor,
  10460.    I just wanted to drop you a note re: Arev.   I saw Bob M. last night
  10461. with it and he said he was taking it to you.  There is a new version out
  10462. which has dialog and response windows (a form of the collector windows).
  10463.    It also implements the Query functions from windows, and you can tie a
  10464. standard Rlist report to a window.  The query function is probably the
  10465. most useful for the application at Garfield.  In the key prompt, you press
  10466. a \ and it converts your data entry window to a Query window.  You then put
  10467. in the operators =><  in the field you want the search to be performed on.
  10468.    For instance, you get into query mode and want every one named Schultz
  10469. by their first name, by zip code.   You put the word  'by' in the zip field
  10470. and in the first.name field, and Schultz in the last name field press F9
  10471. and the selection process first flies through an exsisting Btree index then
  10472. through the data itself.  It creates a select list of records and put the
  10473. first one in the window.  It creates a ring too: Alt-f to go forward ALt-b
  10474. to go back.
  10475.     It also has a form of Basic as its proprietary language.  It really is
  10476. powerful.  If you would like, I will pop over and show you my system.  It
  10477. took me a while to cement the structures into my brain, but I am begining
  10478. to see the light on system design.  I  *know* that you can do the design.
  10479.     Who knows? maybe you can program for others too.?  Or put it in the
  10480. AREV Programs Catalog?   Brookfield Assembly bought a canned program in old
  10481. Revelation.  (about $5000.00).  Think about it....
  10482.  
  10483.     Let me know,
  10484.  
  10485.      __ __ __
  10486.  == /_//_//  /_/==
  10487.   ___/    ____/
  10488. ---------------
  10489.  
  10490.    conf: PROGRAMMING LANGUAGES  #5730  07-19-88  20:28  (Read 93 times)
  10491.    from: PHIL KATZ
  10492.      to: CHRIS KLANN (Rcvd)
  10493. subject: R: R: C <=> ASM FUNC  Reply to #5727
  10494.  
  10495. Chris,
  10496.  
  10497. Charles hit it on the head!  Besides the fact that the routine
  10498. won't work, declaring a 4096 stack-based (local) variable should
  10499. overflow the stack.  The default stack size is 2048!  The easiest
  10500. thing to do would be to declare the array of 4096 items outside
  10501. of main(), so it is statically allocated.
  10502.  
  10503. >Phil>
  10504. ---------------
  10505.  
  10506.    conf: PROGRAMMING LANGUAGES  #5765  07-22-88  18:11  (Read 100 times)
  10507.    from: CHRIS KLANN
  10508.      to: PHIL KATZ (Rcvd)
  10509. subject: R: R: C <=> ASM FUNC  Reply to #5730
  10510.  
  10511.      cc: GRANT ELLSWORTH
  10512.      cc: CHARLES PERRIN
  10513.  
  10514. Phil (et al):
  10515.     Thanks for your help on the C <=> ASM coding problem.  After
  10516. dinkin' around a little bit (& lot's of use of Codeview), I've got
  10517. the situation rectified.  Here's some of the problems I ran into:
  10518. .
  10519.         1. I increased the stack size @ compile time (thanks Charles).
  10520.         .
  10521.         2. I changed the prototype for the structure to allow
  10522.            address passing.
  10523.         .
  10524.         3. I reversed the order of the parameters passed to the .ASM
  10525.            routine - I was translating from an example written in
  10526.            Pascal, where the parameters are listed "forwards".
  10527. .
  10528. Here's the final C call:
  10529. ------------------------------------------------------
  10530. struct rtn_rec {
  10531.     int     main;
  10532.     int     minor;
  10533.     int     data_len;
  10534. };
  10535. .
  10536. extern void request(struct rtn_rec *, int, char *, int, char);
  10537. extern int stffind();
  10538. char trreq[4096];
  10539. .
  10540. main() {
  10541.     char opcode;
  10542.     int trlen;
  10543.     int start;
  10544.     int sub;
  10545.     struct rtn_rec retcodes;
  10546. .
  10547.     if(stffind())
  10548.         printf("Yeah...STF was found\n");
  10549.     else {
  10550.         printf("Boo...STF wasn't found\n");
  10551.         exit(-1);
  10552.     }
  10553. .
  10554.     strcpy(trreq,"SOMETHING");
  10555.     trlen=strlen(trreq);
  10556.     opcode=0x01;
  10557.     request(&retcodes,start,trreq,trlen,opcode);
  10558. -------------------------------------------------------
  10559. So, what's the conclusion? Ummm...subscribe to EXEC-PC - where
  10560. there's lot's of patient, friendly folks!  Thanks again!
  10561. ...Chris.....
  10562.  
  10563.  
  10564. >>>>>>>>>> Msg 5730 reply #1
  10565.  
  10566.    conf: PROGRAMMING LANGUAGES  #5767  07-22-88  20:43  (Read 96 times)
  10567.    from: GRANT ELLSWORTH
  10568.      to: CHRIS KLANN (Rcvd)
  10569. subject: R: R: C <=> ASM FUNC  Reply to #5765
  10570.  
  10571. Chris, glad to see you solved your problem .... I reviewed your code and
  10572. noticed the "reverse order" parameter list.  You can declare that the
  10573. routine will expect PASCAL ordering and register restoration if you code
  10574. ....
  10575.   extern int pascal stffind( .......)
  10576. ....
  10577. in some compilers (MSC, TC, both support the construct).
  10578.  
  10579. I guess one real lesson (other than "Bring your nightmares to EXECPC...")
  10580. is that there is a critical difference between Call-by-value, and Call-by-
  10581. Name (address/ptr).  I remember having a difficult time teaching this to
  10582. some Jr. Programmers I had on my staff a few years ago.  It's a messy one
  10583. to get ---- and is SO clear once you see it that you wonder how you could
  10584. have possibly missed the point .....  Grant
  10585.  
  10586. >>>>>>>>>> Msg 5730 reply #2
  10587.  
  10588.    conf: PROGRAMMING LANGUAGES  #5769  07-22-88  22:53  (Read 100 times)
  10589.    from: CHRIS KLANN
  10590.      to: GRANT ELLSWORTH (Rcvd)
  10591. subject: R: R: C <=> ASM FUNC  Reply to #5767
  10592.  
  10593. Grant:
  10594.   I find getting my hands (extremely) dirty in the code helps to make
  10595. things clear...Chris.....
  10596.  
  10597. >>>>>>>>>> Msg 5730 reply #3  >>>Last msg in reply thread.
  10598. Returning to normal sequence.
  10599.  
  10600.    conf: PROGRAMMING LANGUAGES  #5739  07-20-88  10:57  (Read 91 times)
  10601.    from: TOM PETERS
  10602.      to: ALL
  10603. subject: HELP: FANCY KEYBOARD
  10604.  
  10605.      cc: PHIL KATZ
  10606.      cc: GRANT ELLSWORTH
  10607.  
  10608. Anybody have an idea?
  10609. I have a computer that won't work with certain keyboards- those
  10610. with extra arrow keys & such. I used KEYS310 to determine that the
  10611. keyboard sends an E0 scan code before the key down and another E0
  10612. before the key up codes. Just for grins I butchered the code below
  10613. to test for E0 codes and yank them out, replacing them
  10614. with nulls. Lo! It worketh. Before, the extra arrow keys would beep
  10615. twice, but perform their function. Now they just perform their
  10616. function. Question is: Is there someting better I should be doing
  10617. rather than EXTENDED:     MOV      AH,0 and then jumping to KBCLR?
  10618. Will sending a null always result in no bad effects?
  10619. Is there a better way of doing this?
  10620.  
  10621. ;  Special keyboard driver for Function Keys 11 and 12
  10622. ;
  10623. KEYF11        equ      057h
  10624. KEYF12        equ      058h
  10625. EXTEND        EQU      0E0H    ; ADDED- TMP
  10626. F11           equ      085h
  10627. F12           equ      086h
  10628. ALT           equ      008h
  10629. CTL           equ      004h
  10630. SHFT          equ      003h
  10631. ;-- Bios fixed memory layout
  10632. ;
  10633. bios        segment   at 040h
  10634.             org       017h
  10635. bstate      db        ?
  10636.             org       01Ah
  10637. bhead       dw        ?
  10638. btail       dw        ?
  10639.             org       080h
  10640. btop        dw        ?
  10641. bend        dw        ?
  10642. bios        ends
  10643. ;--  driver code
  10644. ;
  10645. code        segment
  10646.             org        0100h
  10647.             assume     cs:code
  10648. start       label      far
  10649.             jmp        install
  10650.             even
  10651. old9vec     dw         2 dup (?)
  10652. ;-- Keyboard interrupt handler
  10653. ;
  10654. kbint       proc       far
  10655.             push       ax
  10656.             in         al,60h       ; get keyboard character
  10657.             cmp        al,KEYF11
  10658.             je         kbf11
  10659.             cmp        al,KEYF12
  10660.             je         kbf12
  10661.             CMP        AL,EXTEND    ; ADDED- TMP
  10662.             JE         EXTENDED     ; ADDED- TMP
  10663.             pop        ax
  10664.             jmp        dword ptr old9vec ; Not special-- handle with BIOS
  10665. ;-- map to correct character
  10666. ;            F11 -> 85h                    F12 -> 86h
  10667. ;        Shf F11 -> 87h                Shf F12 -> 88h
  10668. ;        Ctl F11 -> 89h                Ctl F12 -> 8Ah
  10669. ;        Alt F11 -> 8Bh                Alt F12 -> 8Ch
  10670. ;
  10671. kbf11:        mov      ah,F11
  10672.               jmp      short kbclr
  10673. kbf12:        mov      ah,F12
  10674.               jmp      short kbclr
  10675. EXTENDED:     MOV      AH,0            ; ADDED- TMP
  10676.               jmp      short kbclr     ; ADDED- TMP
  10677. ;-- clear keyboard int
  10678. kbclr:        in       al,61h
  10679.               or       al,80h
  10680.               out      61h,al
  10681.               and      al,7Fh
  10682.               out      61h,al
  10683.               mov      al,20h
  10684.               out      20h,al                ; eoi
  10685. ;-- Adjust for keyboard state
  10686.               push     bx
  10687.               push     ds
  10688.               mov      bx,bios
  10689.               mov      ds,bx
  10690.               assume   ds:bios
  10691.               mov      al,bstate
  10692.               test     al,ALT
  10693.               jne      kbalt
  10694.               test     al,CTL
  10695.               jne      kbctl
  10696.               test     al,SHFT
  10697.               jne      kbshft
  10698.               jmp      short kbput
  10699. kbalt:        add      ah,2
  10700. kbctl:        add      ah,2
  10701. kbshft:       add      ah,2
  10702. ;-- stuff char into buffer
  10703. ;
  10704. kbput:        mov      bx,btail
  10705.               add      bx,2
  10706.               cmp      bx,bend                        ; wrap around ?
  10707.               jne      kb20
  10708.               mov      bx,btop
  10709. kb20:         cmp      bx,bhead                ; tail == end ?
  10710.               je       kb30                        ; no room
  10711.               xchg     btail,bx
  10712.               xor      al,al
  10713.               mov      [bx],ax
  10714. kb30:         pop      ds
  10715.               pop      bx
  10716.               pop      ax
  10717.               iret
  10718. kbint         endp
  10719. hello    db 13,10,'Keyboard Interrupt Driver Rev 1.0',13,10
  10720.          db 'Tom''s special version, replaces E0 with 00',13,10,'$'
  10721.               assume ds:code
  10722. install       proc near
  10723.               mov     dx,offset hello
  10724.               mov     ah,9
  10725.               int     21h
  10726.               mov     ax,3509h    ; get current interrupt vector
  10727.               int     21h
  10728.               mov     old9vec,bx
  10729.               mov     old9vec[2],es
  10730.               mov     ax,2509h    ; set new interrupt vector
  10731.               mov     dx,offset kbint
  10732.               int     21h
  10733.               mov     dx,offset hello
  10734.               int     27h
  10735. install       endp
  10736. code          ends
  10737.               end  start
  10738. ---------------
  10739.  
  10740.    conf: PROGRAMMING LANGUAGES  #5746  07-20-88  18:54  (Read 90 times)
  10741.    from: GRANT ELLSWORTH
  10742.      to: TOM PETERS (Rcvd)
  10743. subject: R: HELP: FANCY KEYBOARD  Reply to #5739
  10744.  
  10745. Tom, I'll download your msg and have a closer look.  Off the top, I just
  10746. dunno.  The further I get into this (expletive deleted) keyboard interface,
  10747. the less I like it ... to darn hard-wired in too many places.
  10748. Just look at all the steps/routinies and lins of code necessary to get to a
  10749. ctrl-brk and handle it as a normal character.  Grant
  10750.  
  10751. >>>>>>>>>> Msg 5739 reply #1  >>>Last msg in reply thread.
  10752. Returning to normal sequence.
  10753.  
  10754.    conf: PROGRAMMING LANGUAGES  #5743  07-20-88  13:34  (Read 91 times)
  10755.    from: PAT BIESER
  10756.      to: ALL
  10757. subject: DOS 3.3 AND CLIPPER
  10758.  
  10759. Help!!
  10760.  
  10761. I'm working with a Clipper Compiled program that needs to open about 12
  10762. .DBF files and about 30 .NTX files - for a total of 42 Files open at the
  10763. same time.  I wrote this program using DOS 3.3 which I understand allows
  10764. up to 255 files open at the same time.  The program needs to have this many
  10765. open simultaneously due to many factors I don't want to get into.  (Yes, I
  10766. could redo the program to reduce open file needs, but the trade off would
  10767. be a major loss of speed.)
  10768.  
  10769. The problem is, the program runs fine on my AT at home, but does not run
  10770. on a Novel Network Drive at the office.  We are using Novell 2.0 and have
  10771. recently upgrade to Novell 2.1.  The stations run DOS 3.3.  It does not run
  10772. under either of these Novell versions.  More specifically, it opens about
  10773. 6 or 7 files and then give me a "error opening file" message.
  10774. The config.sys is set to:
  10775.  Files=50  Buffers=50  FCBS 50,50  <- which works fine at home.
  10776.  
  10777. The funny thing is, it runs fine on a local drive - even when I'm still
  10778. logged into the network.  Anyone have any idea what's going on.
  10779.  
  10780. Thanks for your comments.  Patrick
  10781.  
  10782. ---------------
  10783.  
  10784.    conf: PROGRAMMING LANGUAGES  #5752  07-20-88  20:59  (Read 94 times)
  10785.    from: TOM FELLER
  10786.      to: PAT BIESER (Rcvd)
  10787. subject: R: DOS 3.3 AND CLIPPER  Reply to #5743
  10788.  
  10789. I have heard of a problem with DOS 3.3 and netware.
  10790. I heard that DOS 3.3 has a bug that causes the problems.
  10791. Microsoft did it again!
  10792. I also heard that Novel has a patch for DOS 3.3.
  10793. Talk to you Novel dealer.
  10794. -Tom Feller-
  10795.  
  10796. >>>>>>>>>> Msg 5743 reply #1
  10797.  
  10798.    conf: PROGRAMMING LANGUAGES  #5761  07-22-88  08:21  (Read 95 times)
  10799.    from: GEORGE KOFMAN
  10800.      to: PAT BIESER (Rcvd)
  10801. subject: R: DOS 3.3 AND CLIPPER  Reply to #5743
  10802.  
  10803. Pat,
  10804.  
  10805. I've done a number of large Clipper Applications, and I've seen similar
  10806. 'open error (4)', but never on a Novell Network. Well, I suspect it may be
  10807. because I never ran my applications on a Novell Network.
  10808.  
  10809. Anyway, try the following:
  10810.       SET CLIPPER=F100 (or 150, 200, etc.) in your autoexec on the
  10811. workstation AND the server.
  10812.  
  10813. Good luck.
  10814. George M. Kofman.
  10815.  
  10816. PS. Almost forgot: F100 stands for Files open=100. You can finthis info in
  10817. the appendix.
  10818.  
  10819. >>>>>>>>>> Msg 5743 reply #2
  10820.  
  10821.    conf: PROGRAMMING LANGUAGES  #5822  07-28-88  15:01  (Read 102 times)
  10822.    from: PAT BIESER
  10823.      to: GEORGE KOFMAN (Rcvd)
  10824. subject: R: R: DOS 3.3 AND CLIPPE  Reply to #5761
  10825.  
  10826. Thanks George, I'll give it a try.  Patrick
  10827.  
  10828. >>>>>>>>>> Msg 5743 reply #3  >>>Last msg in reply thread.
  10829. Returning to normal sequence.
  10830.  
  10831.    conf: PROGRAMMING LANGUAGES  #5744  07-20-88  14:20  (Read 96 times)
  10832.    from: KAREN LITTLE
  10833.      to: NED REITER (Rcvd)
  10834. subject: MORE ON CLARION
  10835.  
  10836.      cc: STEVE SHATTUCK
  10837.      cc: TOM DUNLAVEY
  10838.  
  10839. I'd like to know some more on Clarion . . .
  10840.  
  10841. 1.  Does it do graphs?
  10842.  
  10843. 2.  How easy is it to integrate text into a report?
  10844.  
  10845. 3.  Can graphics/pix be integrated into a report?
  10846.  
  10847. 4.  (I just read this about the new WordPerfect database) If fields are
  10848.     linked between files ... AND, say you have a field called Sam Spade.
  10849.     If you typed Sam Spade into a NEW entry, would all of his info come
  10850.     up automatically IF it had been entered PRIOR?  (the review of WP
  10851.     called DataPerfect is in this week's InfoWorld)
  10852.  
  10853. 5.  If one of the files (related data bases) contained a list of key words
  10854.     could that list be run on one part of the screen so that the operator
  10855.     could scan for key word selection to for entry purposes?  (I think
  10856.     you said yes, but am just checking again).
  10857.  
  10858. 6.  What type of programming CAN'T Clarion do?
  10859.  
  10860. Karen
  10861. ---------------
  10862.  
  10863.    conf: PROGRAMMING LANGUAGES  #5755  07-21-88  08:44  (Read 104 times)
  10864.    from: NED REITER
  10865.      to: KAREN LITTLE (Rcvd)
  10866. subject: R: MORE ON CLARION  Reply to #5744
  10867.  
  10868. Karen,
  10869.   1.  No, Clarion does not do graphs.  At least not bit-mapped
  10870.       graphics, it only supports text windows so you could write
  10871.       a program to graph using the ascii graphics characters.
  10872. .
  10873.   2.  I am not sure what you mean about integrating text
  10874.       into a report.  If you just want hardwired text, you can
  10875.       put this anywhere on a screen or report.  The reports
  10876.       support headers and footers, too.
  10877. .
  10878.   3.  Clarion does not
  10879.       support graphics in reports.  However, you could print to a
  10880.       file and process the report through a word processor.
  10881. .
  10882.   4.  I do not quite understand the question.  You can, of
  10883.       course, retrieve data from other files while entering data on a
  10884.       form or table screen.  When you enter an existing key on a form
  10885.       screen, the corresponding record will be retrieved and the form
  10886.       filled in.
  10887. .
  10888.   5.  Yes, you can specify a field as a table lookup
  10889.       and the program will display a window of values for the
  10890.       operator to chose from.  The window can be popped up by the
  10891.       enter key on a blank or invalid entry, by a programmer
  10892.       specified hot key or automatically.
  10893. .
  10894.   6.  Other than bit-mapped
  10895.       graphics, Clarion has the language elements to do anything you
  10896.       can do in any programming language. If the Clarion language
  10897.       doesn't support a particular function, such as async port
  10898.       access, there are Language Extension Modules (LEMs) available
  10899.       for many of these.  LEMs can be written in assembler or C and
  10900.       linked with your programs if necessary, but the language has
  10901.       everything needed for the typical business application.
  10902. .
  10903.       You might want to call Clarion Software and talk to the
  10904.       tech support people.  I have found them to be very friendly
  10905.       and helpful, and if you explain that you are considering
  10906.       purchasing Clarion, they should answer any questions you
  10907.       have.
  10908. .
  10909. Good luck, -- Ned--
  10910.  
  10911.  
  10912. >>>>>>>>>> Msg 5744 reply #1
  10913.  
  10914.    conf: PROGRAMMING LANGUAGES  #5757  07-21-88  14:14  (Read 99 times)
  10915.    from: NED REITER
  10916.      to: KAREN LITTLE (Rcvd)
  10917. subject: R: R: MORE ON CLARION  Reply to #5756
  10918.  
  10919. I certainly would be interested in such a relationship.  You have
  10920. my phone number, so call me if I can be of any more help. Perhaps
  10921. a small demonstration project is in order.
  10922. -- Ned --
  10923.  
  10924. >>>>>>>>>> Msg 5744 reply #2
  10925.  
  10926.    conf: PROGRAMMING LANGUAGES  #5759  07-21-88  18:23  (Read 104 times)
  10927.    from: KAREN LITTLE
  10928.      to: NED REITER (Rcvd)
  10929. subject: R: R: MORE ON CLARION  Reply to #5757
  10930.  
  10931. Clarion has a 30% discount for schools ... still the price is pretty hefty.
  10932.  
  10933. Karen
  10934.  
  10935. >>>>>>>>>> Msg 5744 reply #3
  10936.  
  10937.    conf: PROGRAMMING LANGUAGES  #5762  07-22-88  09:18  (Read 103 times)
  10938.    from: NED REITER
  10939.      to: KAREN LITTLE (Rcvd)
  10940. subject: R: R: MORE ON CLARION  Reply to #5759
  10941.  
  10942. That puts it under $500.  Quite competitive with other data base
  10943. managers that give you much less.
  10944. -- Ned --
  10945.  
  10946. >>>>>>>>>> Msg 5744 reply #4
  10947.  
  10948.    conf: PROGRAMMING LANGUAGES  #5851  08-03-88  22:36  (Read 93 times)
  10949.    from: KAREN LITTLE
  10950.      to: NED REITER (Rcvd)
  10951. subject: R: R: MORE ON CLARION  Reply to #5762
  10952.  
  10953. I now have Clarion in my possession! however, I cannot bring it up in
  10954. color.  There is a tinge of color (Blue) in one of the color boxes, but the
  10955. rest is shads of gray ... I haven't been able to find a color-setup.
  10956.  
  10957. Tomorrow night I am going to try to write my first application (thrill &
  10958. anticipation)
  10959.  
  10960. Karen
  10961.  
  10962. >>>>>>>>>> Msg 5744 reply #5
  10963.  
  10964.    conf: PROGRAMMING LANGUAGES  #5854  08-04-88  05:45  (Read 90 times)
  10965.    from: STEPHEN ROSS
  10966.      to: NED REITER (Rcvd)
  10967. subject: R: R: MORE ON CLARION  Reply to #5762
  10968.  
  10969. Ned,
  10970.  
  10971.    Just scanned your messages to Karen re: Clarion.
  10972.  
  10973.    Have you used Paradox at all?  Can you compare the two?  I'm using
  10974. Paradox, slowly learning what programming (at least application
  10975. development) is all about.  Wondering if I should save my pennies and
  10976. switch to Clarion.
  10977.  
  10978.    One specific question:  Can you use Clarion as a data base without
  10979. developing the application first?  Just create a data base and start
  10980. entering records, then manipulate (sort, select groups, etc.)?
  10981.  
  10982.    Thanks for answering.
  10983.  
  10984. Steve
  10985.  
  10986. >>>>>>>>>> Msg 5744 reply #6
  10987.  
  10988.    conf: PROGRAMMING LANGUAGES  #5922  08-10-88  21:50  (Read 82 times)
  10989.    from: JIM TOIGO
  10990.      to: KAREN LITTLE (Rcvd)
  10991. subject: R: R: MORE ON CLARION  Reply to #5851
  10992.  
  10993. Karen--
  10994.    
  10995. Congrats on your purchase of Clarion version 2.  I think you'll love it.
  10996. I have been using Clarion for about 2 years --- even in the dark ages
  10997. prior to "Designer".
  10998.     
  10999. I've had version 2 for about 2 months now and have completely
  11000. rewritten several applications for my wife's business.
  11001. They include a Wisconsin Payroll system, Accounts Receiveable System
  11002. for a Title Insurance company, a Tickler system for memos.
  11003. I am presently working on a 1099-S program to report gains on the
  11004. sale of real estate to the IRS.
  11005.      
  11006. Hope you have good luck with the product and if I can be of any
  11007. help please drop a note.
  11008.  
  11009. >>>>>>>>>> Msg 5744 reply #7
  11010.  
  11011.    conf: PROGRAMMING LANGUAGES  #5925  08-10-88  23:12  (Read 86 times)
  11012.    from: KAREN LITTLE
  11013.      to: JIM TOIGO (Rcvd)
  11014. subject: R: R: MORE ON CLARION  Reply to #5922
  11015.  
  11016. Jim, I have your name written down!  As I don't have prior experience as a
  11017. programmer, I have been spending about 1 - 2 hours a day studying the
  11018. manual.  I have 2 programs that I want to write stat.   Here are my
  11019. questions for the evening:
  11020.  
  11021. I am getting confused between Key, Indexing and Sorting.  I take it that
  11022. a Key can be overridden by a sort. ... and you sort on an index.  The Key
  11023. is only used for immediate viewing.  It would seem to me that a Key would
  11024. slow things down.
  11025.  
  11026. Also, if you wanted to select things within a range, you would have to sort
  11027. it first, right?  I am thinking about the organization found in
  11028. FileExpress.
  11029.  
  11030. Jim, you may be sorry you offered to help!  (I hated the reshuffling in
  11031. dBase III when adding or changing information within an indexed version.  I
  11032. am thinking that that is what the Key-business is in Clarion).  eh?
  11033.  
  11034. >>>>>>>>>> Msg 5744 reply #8
  11035.  
  11036.    conf: PROGRAMMING LANGUAGES  #5985  08-13-88  23:12  (Read 95 times)
  11037.    from: JIM TOIGO
  11038.      to: KAREN LITTLE (Rcvd)
  11039. subject: R: R: MORE ON CLARION  Reply to #5925
  11040.  
  11041. Karen---
  11042.     
  11043. Keys are used in Clarion for screens or any application needing
  11044. immediate access to a record or group of records (table screen).
  11045. They are also used to maintain uniqueness for each record in a file.
  11046. Index files are built only when needed for use in a year end report
  11047. for example.   The main difference you will notice in Clarion is
  11048. that the index file will not be created or maintained until it is
  11049. needed.
  11050. My suggestion is, when in doubt use a key file.  You will only
  11051. notice a small improvement in response time by using an index
  11052.    
  11053. Also the data base tip of the day, always provide at least one
  11054. unique key for each file so that when you get outside of table
  11055. selection screens created by designer, each record in the file
  11056. can be uniquely identified.
  11057.  
  11058. >>>>>>>>>> Msg 5744 reply #9
  11059.  
  11060.    conf: PROGRAMMING LANGUAGES  #6012  08-16-88  10:07  (Read 109 times)
  11061.    from: NED REITER
  11062.      to: KAREN LITTLE (Rcvd)
  11063. subject: R: R: MORE ON CLARION  Reply to #5851
  11064.  
  11065. Congratulations, Karen, on your purchase of Clarion.  Pardon this late
  11066. reply, but I have been on vacation since 8/1.  As for the color problem,
  11067. try entering a MODE CO80 command before starting Clarion.  Clarion
  11068. uses the current display mode and will not display color if the
  11069. display is in mono mode.  This also applies to applications.  Let me
  11070. know how your application goes.
  11071. Good luck, -- Ned --
  11072.  
  11073. >>>>>>>>>> Msg 5744 reply #10
  11074.  
  11075.    conf: PROGRAMMING LANGUAGES  #6013  08-16-88  10:14  (Read 108 times)
  11076.    from: NED REITER
  11077.      to: STEPHEN ROSS (Rcvd)
  11078. subject: R: R: MORE ON CLARION  Reply to #5854
  11079.  
  11080. Steve, pardon this late reply but I have been on vacation since 8/1.
  11081. No, I have not used Paradox so cannot compare.  Clarion Version 2 is
  11082. a complete application development system.  The databases are not
  11083. available except through the application programs.  However, with
  11084. the designer, you can get a rather complex application without
  11085. writing any code whatsoever.  The forms and reports are designed
  11086. right on the screen and the Designer generates the source code.
  11087. If you want to do something that the Designer will not, you can
  11088. write a module in the Clarion language and have the Designer
  11089. include it in the source program.  Clarion has to be one of the
  11090. fastest ways to bring up an application without coding that I have
  11091. seen.  The prototype becomes the application almost without trying.
  11092. .
  11093. BTW, I saw an ad here on Exec-PC where someone was selling an
  11094. unopened Clarion Ver. 2 for a very good price (under $500, if I
  11095. recall).  Check the want ads for the last week or two.  Clarion
  11096. also now include the translator to create .EXE files for your
  11097. applications.  Please feel free to ask questions of Karen or me
  11098. if you get into Clarion.
  11099. -- Ned --
  11100.  
  11101. >>>>>>>>>> Msg 5744 reply #11
  11102.  
  11103.    conf: PROGRAMMING LANGUAGES  #6015  08-16-88  15:33  (Read 111 times)
  11104.    from: KAREN LITTLE
  11105.      to: NED REITER (Rcvd)
  11106. subject: R: R: MORE ON CLARION  Reply to #6012
  11107.  
  11108. Ned, welcome back...you were probably on your boat, right?
  11109.  
  11110. Clarion is --> FANTASTIC <--  I wrote my first real .EXE file this Sunday
  11111. and it is only up from here.
  11112.  
  11113. I started some msg's on the subject in Writers where we have a little more
  11114. space to communicate.
  11115.  
  11116. Oh yes, Phil Katz resolved my color problems.  He flipped a switch behind
  11117. the monitor.
  11118.  
  11119. Karen
  11120.  
  11121. >>>>>>>>>> Msg 5744 reply #12
  11122.  
  11123.    conf: PROGRAMMING LANGUAGES  #6017  08-17-88  09:24  (Read 103 times)
  11124.    from: NED REITER
  11125.      to: KAREN LITTLE (Rcvd)
  11126. subject: R: R: MORE ON CLARION  Reply to #6015
  11127.  
  11128. Yes, I was on a 44 foot trawler for two weeks.  Great trip, but I
  11129. could use another two weeks of it!
  11130.  
  11131. Glad you solved your color problem.  I suppose I will have to join
  11132. the writers conference to keep up with your Clarion adventure.
  11133.  
  11134. -- Ned --
  11135.  
  11136. >>>>>>>>>> Msg 5744 reply #13
  11137.  
  11138.    conf: PROGRAMMING LANGUAGES  #6019  08-17-88  17:50  (Read 103 times)
  11139.    from: KAREN LITTLE
  11140.      to: NED REITER (Rcvd)
  11141. subject: R: R: MORE ON CLARION  Reply to #6017
  11142.  
  11143. Ned, on August 31 I will be speaking on "Personal Programming:
  11144. non-programmers strike back!"  during which time I will be talking about
  11145. office organization utilizing el cheap o FileExpress or Clarion.
  11146.  
  11147. So...I have to become an expert by that time (!)  (spoken like a true
  11148. consultant, eh?)  It's toooooo hot for me to do much work at home, I think,
  11149. until maybe Sunday or next Monday when I spend more time at the office.
  11150. So, next week be prepared to spend mucho time over in Writers.
  11151.  
  11152. 44 foot trawler is impressive!
  11153.  
  11154. Karen
  11155.  
  11156. >>>>>>>>>> Msg 5744 reply #14
  11157.  
  11158.    conf: PROGRAMMING LANGUAGES  #6022  08-18-88  08:10  (Read 103 times)
  11159.    from: STEPHEN ROSS
  11160.      to: NED REITER (Rcvd)
  11161. subject: R: R: MORE ON CLARION  Reply to #6013
  11162.  
  11163. Ned,
  11164.  
  11165.    Thanks for the reply re: Clarion.  (I've only been on a little now and
  11166. then for a couple of weeks myself so didn't miss your reply -- hope you had
  11167. a good vacation.)
  11168.  
  11169.    I'm still a real novice when it comes to designing an application.
  11170. First a create a database, then figure out what I want to do with it, then
  11171. add a little something else, etc., till I have something that does what I
  11172. want to do.  Paradox seems perfect for it.  Having to write the application
  11173. from scratch ...  I thik I'll wait a while.  If I decide iw ant to get into
  11174. application development for hire, which as of now I don't, I think I'll
  11175. stick with paradox.  I know it, it does most of what I want it to do
  11176. easily.  (And figuring out the rest is always a challenge I seem to enjoy.
  11177. Must be a masochist.)
  11178.  
  11179. Thanks again,
  11180.  
  11181. Steve
  11182.  
  11183. >>>>>>>>>> Msg 5744 reply #15
  11184.  
  11185.    conf: PROGRAMMING LANGUAGES  #6023  08-18-88  08:58  (Read 109 times)
  11186.    from: NED REITER
  11187.      to: KAREN LITTLE (Rcvd)
  11188. subject: R: R: MORE ON CLARION  Reply to #6019
  11189.  
  11190. I don't think that Clarion is a good choice for the average
  11191. non-programmer.  You still have to understand the concepts of
  11192. database design to make good use of the Designer.  File Express
  11193. is a good choice for simple flat file applications, however.  I
  11194. use it for most applications myself.  But with Clarion, a good
  11195. programmer can work with the user and develop a prototype
  11196. application very quickly, and when everyone is happy, the application
  11197. is done as soon as he runs the translator.  BTW, Clarion is going
  11198. to release a standalone version of Filer which can be distributed
  11199. with object code to solve the problem of database format changes
  11200. in the field.
  11201.  
  11202. I noticed that you were on the Clarion BBS for a few minutes.  I
  11203. suggest that you capture the message base and read it offline.
  11204. Some very good information is contained in there that isn't in the
  11205. manuals.  Also, there are some very good utilities and LEMs in the
  11206. file area, as well as some sample .APP files.  I have a Procomm+
  11207. Aspect script for the Clarion BBS to log on and capture new messages.
  11208. If you would like it, let me know.
  11209.  
  11210. I was on the lake last night when the front came through, running
  11211. our Wednesday nite race.  Really caused some havoc for awhile, but
  11212. it's nice to be cool again.  My air conditioner is off for the first
  11213. time since Saturday.
  11214.  
  11215. I have joined the writers conference.  You folks sure are wordy, but
  11216. I will monitor the Clarion discussions and help where I can.
  11217.  
  11218. -- Ned --
  11219.  
  11220. >>>>>>>>>> Msg 5744 reply #16
  11221. Message error:
  11222. Summary file and msg file inconsistent at PRG-2397
  11223. # 2603 deleted
  11224. Returning to normal sequence.
  11225.  
  11226.    conf: PROGRAMMING LANGUAGES  #5748  07-20-88  19:33  (Read 99 times)
  11227.    from: GRANT ELLSWORTH
  11228.      to: ALL
  11229. subject: ANOTHER NASTY TC BUG
  11230.  
  11231. A nasty tC bug which can byte hard!!!
  11232.  
  11233. If you have a #pragma inline  ... in your c module, but have no inline
  11234. asm directives, you can compile the module in the integrated environment
  11235. with no error cited .... and then you can pray.
  11236.  
  11237. In some cases (not all), tc will generate code with incorrect jmp
  11238. instructions ... in my case, 2 subroutines coded before the main() section
  11239. were generated incorrectly and my computer went off into a most strange
  11240. limbo and lockup when I executed the pgm.  Close examination with the
  11241. debug(DEBUG, plain) and a tcc asm listing, showed that the JMPs were off by
  11242. 4 bytes in the 2 routines.  I then pulled the forgotten #pragma inline
  11243. statement and all was ok again.
  11244.  
  11245. I wish borland would clean up its act and make the TC system at leastas
  11246. reliable as the TP system.  (sigh)  Grant
  11247.  
  11248. (ps: to Charles Perrin, OK , I've heard (read) your MS directed comments
  11249. before ... and need not be given the crow now .... at least there was a
  11250. work-around which was reasonable - fix is not worth another $200)
  11251. ---------------
  11252.  
  11253.    conf: PROGRAMMING LANGUAGES  #5754  07-20-88  21:43  (Read 98 times)
  11254.    from: DALE ULMER
  11255.      to: GRANT ELLSWORTH (Rcvd)
  11256. subject: R: ANOTHER NASTY TC BUG  Reply to #5748
  11257.  
  11258. In my opinion, using the integrated environment in any compiler is a
  11259. foolhardy act.  Every one that I've seen contains a poor excuse for a
  11260. text editor and a lot of ways to get into trouble while remaining
  11261. perfectly innocent.  When I was younger I knew some girls like that, but
  11262. I don't think any of them included a text editor.  That last sentence
  11263. may be beside the point.  Seriously, use a decent editor and the command
  11264. line compiler.  QEDIT, available here, is several degrees of magnitude
  11265. beyond any integrated environment.  I use Brief, which is a bit pricey,
  11266. but arguably the best of the commercial lot.  It makes my work easier,
  11267. making me more productive.  That makes it worth its price.
  11268.  
  11269. >>>>>>>>>> Msg 5748 reply #1
  11270.  
  11271.    conf: PROGRAMMING LANGUAGES  #5766  07-22-88  20:33  (Read 95 times)
  11272.    from: GRANT ELLSWORTH
  11273.      to: DALE ULMER (Rcvd)
  11274. subject: R: R: ANOTHER NASTY TC B  Reply to #5754
  11275.  
  11276. > ... using the integrated environment in any compiler is a foolhardy act!
  11277.  
  11278. Dale, Please elaborate.  While I must agree that there are better editors
  11279. than the one supplied with Borland's TC, I do find the integrated
  11280. environment very useful and convenient for fixing keystroke based errors
  11281. during compilation (or other oversights).  The double window TC integrated
  11282. environment provides allows me to look at compiler error msgs and code
  11283. at the same time - regardless of how many modules I tried to compile in
  11284. one crack - and it allows me to make fixes across all.  The editor has its
  11285. shortcoming .. and I use a home-grown multi-window editor when I am
  11286. building a lot of original code or making a lot of global changes.
  11287. Otherwise, the tC integrated environment works fine, in MOST instances, for
  11288. me.  However, I would agree that DEBUGGING in any compiler's integrated
  11289. environment is asking for lost code.
  11290.  
  11291. Grant
  11292.  
  11293. >>>>>>>>>> Msg 5748 reply #2
  11294.  
  11295.    conf: PROGRAMMING LANGUAGES  #5775  07-24-88  10:23  (Read 95 times)
  11296.    from: DALE ULMER
  11297.      to: GRANT ELLSWORTH (Rcvd)
  11298. subject: R: R: ANOTHER NASTY TC B  Reply to #5766
  11299.  
  11300. Much of my work at present involves educational computer controlled
  11301. interactive video.  Unfortunately, "authoring systems" have become an
  11302. important part of this pursuit.  For those unfamiliar with the term, an
  11303. authoring system is a limited, specialized programing language, often
  11304. set in an integrated environment.  These systems came about because
  11305. educators (it is considered rude to refer to these people as "teachers")
  11306. didn't want to go to the trouble of learning programming languages.
  11307. Some sharp operators decided to relieve them of their fears along with
  11308. large sums of money by supplying them with authoring systems instead.
  11309. Just as "educator" sounds more important than "teacher", "authoring
  11310. system" is more impressive and considerably less nerdy than "programming
  11311. language".
  11312.  
  11313. The integrated environment is a close relative of the authoring system.
  11314. The concept arises from the idea that the user is inept, not to be
  11315. trusted doing things for himself.  It is implemented by deciding in
  11316. advance how the user will do things.  Clearly, not all (or even many)
  11317. future needs can be anticipated, so what the user is able to accomplish
  11318. must be limited by what's built into the environment.  One should not be
  11319. surprised to discover surprises in such surroundings when doing things
  11320. that may be a bit off the main highway.
  11321.  
  11322. Pascal, with its fascist approach to programming, is fairly well matched
  11323. with integrated environments.  The relative free spirit, C, is not.  The
  11324. programmer who wants to control his efforts rather than having things
  11325. the other way around does well in choosing C.  Having done so, giving up
  11326. any part of what one has gained to indulge one's laziness strikes me as
  11327. being a bad bargain.
  11328.  
  11329. Most of the better editors (Brief, VEDIT, etc.) give free access to
  11330. compilation and the inevitable resultant error messages.  They can be
  11331. configured to behave precisely as the user wants them to.  In other
  11332. words, it's possible to have the convenience without the limitations.
  11333. I'll bet you've learned not to ask me to elaborate again.
  11334.  
  11335. >>>>>>>>>> Msg 5748 reply #3
  11336.  
  11337.    conf: PROGRAMMING LANGUAGES  #5781  07-24-88  22:10  (Read 97 times)
  11338.    from: TOM FELLER
  11339.      to: GRANT ELLSWORTH (Rcvd)
  11340. subject: R: R: ANOTHER NASTY TC B  Reply to #5766
  11341.  
  11342. I agree, I like the integrated environment for fast syntax error
  11343. fixing. But, I use VEDIT PLUS for my real work. I had used Wordstar before
  11344. so using the environment was easy. But, after useing VEDIT, I would prefer
  11345. not to use the environment for large changes. Everyone should try the
  11346. VEDIT demo someone uploaded.
  11347. -Tom Feller-
  11348.  
  11349. >>>>>>>>>> Msg 5748 reply #4
  11350.  
  11351.    conf: PROGRAMMING LANGUAGES  #5783  07-24-88  23:50  (Read 99 times)
  11352.    from: GRANT ELLSWORTH
  11353.      to: DALE ULMER (Rcvd)
  11354. subject: R: R: ANOTHER NASTY TC B  Reply to #5775
  11355.  
  11356. Dale, au contraire!  Your elaboration was more interesting than you
  11357. may expect.  An so, if I want to spend the $$$ on the editor, many of the
  11358. advantages of the integrated environment come along ...  I don't want to
  11359. or need to spend the $$$ right now.  But your suggestion is a good one.
  11360. And , if PASCAL is "FASCIST" , what is COBOL?  (I need a more villifying
  11361. term than "fascist" for that one )  Grant
  11362.  
  11363. >>>>>>>>>> Msg 5748 reply #5
  11364.  
  11365.    conf: PROGRAMMING LANGUAGES  #5785  07-24-88  23:53  (Read 98 times)
  11366.    from: GRANT ELLSWORTH
  11367.      to: TOM FELLER (Rcvd)
  11368. subject: R: R: ANOTHER NASTY TC B  Reply to #5781
  11369.  
  11370. Tom, I agree with your approach.  And do something like it myself with
  11371. a grown editor based on borland's microstar.  But, wqith all this rave
  11372. about VEDIT, I'll have to look into it.  Thx, Grant
  11373.  
  11374. >>>>>>>>>> Msg 5748 reply #6
  11375.  
  11376.    conf: PROGRAMMING LANGUAGES  #5789  07-25-88  08:51  (Read 101 times)
  11377.    from: DALE ULMER
  11378.      to: GRANT ELLSWORTH (Rcvd)
  11379. subject: R: R: ANOTHER NASTY TC B  Reply to #5783
  11380.  
  11381. In describing Pascal as a fascist language, my intention was not to
  11382. deprecate it.  Mussolini built fascism around the idea that people are a
  11383. natural resource owned by the state, and as such the state has complete
  11384. responsibility for them, including the responsibility of telling them
  11385. what they may or may not do.  The fact that fascism, like other
  11386. totalitarian systems, quickly becomes corrupt is not relevant to my
  11387. metaphor.  Wirth feels a similar responsibility toward programmers.
  11388. Remember that his purpose in designing Pascal was to use it to teach
  11389. structured programming.  He accomplished that purpose beautifully.
  11390. Wirth is a benevolent dictator.
  11391.  
  11392. COBOL, on the other hand, was designed to force creative people to use
  11393. clumsy, verbose notation so their work might be inspected by small
  11394. minded managerial types.  Its success in the marketplace not
  11395. withstanding, it deserves as much scorn as can be heaped upon it.
  11396.  
  11397. >>>>>>>>>> Msg 5748 reply #7
  11398.  
  11399.    conf: PROGRAMMING LANGUAGES  #5791  07-25-88  18:29  (Read 102 times)
  11400.    from: CHARLES PERRIN
  11401.      to: DALE ULMER (Rcvd)
  11402. subject: R: R: ANOTHER NASTY TC B  Reply to #5789
  11403.  
  11404. COBOL's success in the market place is totally because the
  11405. Feds required it be supported on all the computers they bought
  11406. (so that they could port software easily).
  11407.  
  11408. >>>>>>>>>> Msg 5748 reply #8
  11409.  
  11410.    conf: PROGRAMMING LANGUAGES  #5800  07-25-88  20:36  (Read 109 times)
  11411.    from: DALE ULMER
  11412.      to: CHARLES PERRIN (Rcvd)
  11413. subject: R: R: ANOTHER NASTY TC B  Reply to #5791
  11414.  
  11415. That's right.
  11416.  
  11417. >>>>>>>>>> Msg 5748 reply #9
  11418.  
  11419.    conf: PROGRAMMING LANGUAGES  #5819  07-27-88  22:38  (Read 112 times)
  11420.    from: GRANT ELLSWORTH
  11421.      to: DALE ULMER (Rcvd)
  11422. subject: R: R: ANOTHER NASTY TC B  Reply to #5789
  11423.  
  11424. Dale, you make some interesting, if not satirical, points.  I do , however,
  11425. note that COBOL was designed to allow ineducable idiots who could barely
  11426. write simple english to pretend they were writing real programs for
  11427. managment which believed that self-teaching was an inherent contradiction
  11428. and would cost interminably more than the idiot code was worth.  Grant
  11429.  
  11430. >>>>>>>>>> Msg 5748 reply #10
  11431.  
  11432.    conf: PROGRAMMING LANGUAGES  #5833  07-30-88  13:34  (Read 106 times)
  11433.    from: GRANT ELLSWORTH
  11434.      to: CHARLES PERRIN (Rcvd)
  11435. subject: R: R: ANOTHER NASTY TC B  Reply to #5791
  11436.  
  11437. Charles,  Here are a few tidbits to add to your comments on COBOL and the
  11438. hapless Feds .....
  11439.  
  11440. 1.  Portability of COBOL .....
  11441.  
  11442.     In the period 1968-1972, I was involed in trying to build a cobol based
  11443.     system to port from such similar hardware as IBM360 and RCA Spectra70s.
  11444.     The cobol would not port very well ... it took less time to jjust port
  11445.     object decks of non-svc and i/o modules than it did to port the source.
  11446.  
  11447.     And when we tried to port the COBOL code from IBM360 to some non-byted
  11448.     based or non 32-bit word maichines (such as B6600, Univac 1108), it
  11449.     was 3 or 4 times harder than porting C across different architectures
  11450.     today.
  11451.  
  11452.     On an earlier occaision, I had to help convert some COBOL from 1401 to
  11453.     a 7094 --- that dog just didn't hunt.
  11454.  
  11455.     The smoothest easiest port of COBOL from one machine to another which
  11456.     I experienced was in 1982-3 when I ported a large COBOL system from
  11457.     IBM 370 DOS/VSE to VAX VMS --- by that time, the varients of the COBOLS
  11458.     seemed to converge for 32 bit byte machines --- but, heaven help us
  11459.     when large chunks of functionality depended on the EBCDIC collating
  11460.     sequence instead of ASCII --- major re-work required.
  11461.  
  11462.    So much for COBOL's vaunted portability ... somewhat portable, but SO
  11463.    unreasonably umbersome to work with --- right now, I'd rather go  back
  11464.    to my 1st "profession" (driving trucks, if my back could take the weight
  11465.    handling) rather than set my eyes on another COBOL source mess.
  11466.  
  11467. 2.  Feds and commitment to COBOL for portability ...
  11468.  
  11469.     In the period when the Feds made their big push for using COBOL
  11470.     throughout the govt, portability was not easy or cost effective
  11471.     for a quick port (see above).  But,, at the Federal Agency where I
  11472.     worked back then, management felt that training in COBOL across all
  11473.     machines was cost effective.
  11474.  
  11475.     So, when IBM wash strongly pushing PL/I (circa 1965???), they told the
  11476.     agency that they should start extensive training in PL/I since IBM was
  11477.     intending to drop support for COBOL at some time in the near future.
  11478.     So the story goes,   the agency management told IBM to come pick up
  11479.     the recently acquired (dozen or so) 360 series computers in 10 days -
  11480.     they would be boxed up and on the loading dock on such-and-such a date.
  11481.     IBM came back in 5 days saying that the "soft decisdion" to discontinue
  11482.     COBOL support was "shelved".  The agency unpacked the 360s and returned
  11483.     them to the computer room floor.
  11484.  
  11485.     The feds based their Cobol commitment, in part, on the fact that medio-
  11486.     cre clerks could learn it more easily and could maintain existing
  11487.     programs.  The feds observed, with some justice, that the private
  11488.     sector was getting the "real talent" ... and the feds had to have some
  11489.     programming tool that their staff could do some work with.  Ergo,
  11490.     COBOL!!!!
  11491.  
  11492.     And that cumbersome monster has been the bane of the DP profession
  11493.     ever since.
  11494.  
  11495. Grant
  11496.  
  11497. >>>>>>>>>> Msg 5748 reply #11  >>>Last msg in reply thread.
  11498. Returning to normal sequence.
  11499.  
  11500.    conf: PROGRAMMING LANGUAGES  #5753  07-20-88  21:16  (Read 100 times)
  11501.    from: DAVE CLAY
  11502.      to: ALL
  11503. subject: PROGRAMMING ENGINEER JOB
  11504.  
  11505.             PROGRAMMER - ENGINEER  Job opportunity
  11506. The company I work for is interested in hiring a programmer who knows
  11507. assembly language and hardware interface programming.  If interested,
  11508. leave me private EMAIL and I will put you in touch with the correct
  11509. people.  Desired is an experienced BSEE or ECE.        Dave Clay
  11510.  
  11511. ---------------
  11512.  
  11513.    conf: PROGRAMMING LANGUAGES  #5768  07-22-88  22:17  (Read 101 times)
  11514.    from: TOM SWENSON
  11515.      to: LARRY EDWARDS
  11516. subject: MIX POWER-C
  11517.  
  11518. Larry, did you ever find out any info about the mix C compiler. I'm looking
  11519. into purchasing a c compiler soon and am seriously considering this one.
  11520. I especially like the idea of being able to buy the function library source
  11521. code for $10.00. My greatest concern is whether or not it is compatible and
  11522. can be linked to clipper. Any help would be appreciated.
  11523. ====== Tom Swenson =====
  11524. ---------------
  11525.  
  11526.    conf: PROGRAMMING LANGUAGES  #5776  07-24-88  10:23  (Read 96 times)
  11527.    from: THOMAS ZERUCHA
  11528.      to: TOM SWENSON (Rcvd)
  11529. subject: R: MIX POWER-C  Reply to #5768
  11530.  
  11531. I have the compiler, the source libraries, and the debugger (for $50 total)
  11532. and I like it and use it for all my general programming tasks.  I think
  11533. that it is better than Quick C especially if you have a good editor
  11534. to use with it (since it is not an environment).  The problems are that
  11535. you are limited to the Medium model of segmentation (with hugemalloc and
  11536. farmalloc calls to fill in the gaps).  It also doesn't use Microsoft
  11537. compatible object modules, though it can convert medium/far .obj's
  11538. into their format, so linking with other products may be a problem.
  11539.      But for my purposes, it is great, especially the debugger which is
  11540. very easy to use and has enough options to track nearly anything down and
  11541. it works with graphics (if you have that enabled).
  11542.  
  11543. >>>>>>>>>> Msg 5768 reply #1
  11544.  
  11545.    conf: PROGRAMMING LANGUAGES  #5802  07-26-88  05:54  (Read 107 times)
  11546.    from: TOM SWENSON
  11547.      to: THOMAS ZERUCHA (Rcvd)
  11548. subject: R: R: MIX POWER-C  Reply to #5776
  11549.  
  11550. Tom, I just ordered the power c compiler. After reading a review in the
  11551. Computer Shopper, and making a call to Nantucket, I found out that I need a
  11552. microsoft C compatible compiler. I then went to the article in the computer
  11553. shopper and it said that it was very compatible with microsoft c and turbo
  11554. c. So... I just went ahead and ordered it. I sounds like the debugger and
  11555. the manual/tutorial may be worth it anyway, even if I can't compile to a
  11556. clipper compatible object module. Maybe if I write something good I can
  11557. find someone with microsoft c or turbo c who will compile it for me, if it
  11558. turns out to not be compatible. Thanks for the reply... tom
  11559.  
  11560. >>>>>>>>>> Msg 5768 reply #2
  11561.  
  11562.    conf: PROGRAMMING LANGUAGES  #5817  07-26-88  23:24  (Read 111 times)
  11563.    from: THOMAS ZERUCHA
  11564.      to: TOM SWENSON (Rcvd)
  11565. subject: R: R: MIX POWER-C  Reply to #5802
  11566.  
  11567. The libraries are a superset of both Turbo C and MS C, so as long as there
  11568. are no segmentation problems (i.e. FAR or HUGE model compiles), Power C
  11569. shoudl digest anything MSC or Turbo C would.
  11570.  
  11571. >>>>>>>>>> Msg 5768 reply #3  >>>Last msg in reply thread.
  11572. Returning to normal sequence.
  11573.  
  11574.    conf: PROGRAMMING LANGUAGES  #5771  07-23-88  20:06  (Read 94 times)
  11575.    from: JACK BROWN
  11576.      to: ALL
  11577. subject: ATT V&H TABLES FOR IBM
  11578.  
  11579. I would like to know where I can obtain the complete set of ATT'S
  11580. V&H tables.   If you can help me please leave me a private message.
  11581. Thank you ........   Jack Brown - Milwaukee
  11582. ---------------
  11583.  
  11584.    conf: PROGRAMMING LANGUAGES  #5774  07-24-88  08:52  (Read 96 times)
  11585.    from: JONCARL MITCHELL
  11586.      to: ALL
  11587. subject: DOS3.31/CLIPPER
  11588.  
  11589.  
  11590.  
  11591. I have found a problem related with the Compaq Dos 3.31 . While
  11592. running a application in Clipper Index about 15 indexes the time
  11593. would take about 30 seconds with CEMM OFF or with Set
  11594. Clipper=R100;e0 . But when I had CEMM active and not using e0 in
  11595. the set command the index time would take 55 seconds.I also was
  11596. getting kicked out of using the run command in Clipper for the
  11597. same reason.I have finally narrowed the problem down to the
  11598. following .THe problem does not occur if I remove the use of
  11599. vdisk in my config.sys file ,It only occurs when using Cemm and
  11600. Vdisk both together I have tried using different pages for CEMM
  11601. but this does not seem to help at all.
  11602.  
  11603. Sample config.sys file that cause problem:
  11604.  
  11605. rem autocad synth
  11606. shell=command.com/p/e:1024
  11607. device = ansi.sys
  11608. device=c:\cemm.exe 1200 auto
  11609. device=c:\vdisk.sys 3000 64 200 /e:8
  11610. device=c:\cache.exe 512 on /ext
  11611. buffers=25
  11612. files=40
  11613. lastdrive = f
  11614.  
  11615.  
  11616. Sample config.sys file that works ok:
  11617.  
  11618. rem autocad synth
  11619. shell=command.com/p/e:1024
  11620. device = ansi.sys
  11621. device=c:\cemm.exe 1200 auto
  11622. device=c:\cache.exe 512 on /ext
  11623. buffers=25
  11624. files=40
  11625. lastdrive = f
  11626.  
  11627.  
  11628. I really need some help solving this problem .Nantucket does not
  11629. seem to know whats causing the problem.
  11630.  
  11631. THanks In Advance:
  11632. Joncarl Mitchell
  11633. ---------------
  11634.  
  11635.    conf: PROGRAMMING LANGUAGES  #5777  07-24-88  13:35  (Read 102 times)
  11636.    from: UWM COMPUTING
  11637.      to: ALL
  11638. subject: --MACROS IN QUICKBASIC 4
  11639.  
  11640. Help!
  11641. I need to somehow be able to read input into a variable name.
  11642. dBASE III has this ability with the & (macro) character, but I
  11643. can't find the equivalent in QuickBASIC (or reg. BASIC for that
  11644. matter).  I need to read variable names from a file and use them
  11645. to assign values.  For instance, I have a field in my user-defined
  11646. database called GOTO_ON which allows the user to specify the
  11647. place to go based upon the value stored in a variable.  If the
  11648. user enters "EMPNO=99" then the program will do something if
  11649. the empno field = 99.  How do I read in and evaluate the input
  11650. against the memoryvariables (without saying IF input=EMPNO then
  11651. variable=EMPNO, etc. for every possible variable)
  11652. Thanks, ALL -- I'm sure there must be a way - I hope I
  11653. explained this well enough -- please HURRY with a response!
  11654. ---------------
  11655.  
  11656.    conf: PROGRAMMING LANGUAGES  #5778  07-24-88  16:43  (Read 96 times)
  11657.    from: CHARLES PERRIN
  11658.      to: UWM COMPUTING (Rcvd)
  11659. subject: R: --MACROS IN QUICKBASI  Reply to #5777
  11660.  
  11661. You have to decided what you are doing and set up IF statements to
  11662. do it.  (It may be a loop to check all the possible choices.)
  11663.  
  11664. >>>>>>>>>> Msg 5777 reply #1
  11665.  
  11666.    conf: PROGRAMMING LANGUAGES  #5779  07-24-88  17:43  (Read 94 times)
  11667.    from: UWM COMPUTING
  11668.      to: CHARLES PERRIN (Rcvd)
  11669. subject: R: R: --MACROS IN QUICKB  Reply to #5778
  11670.  
  11671. Are you familiar with what I am asking about (e.g. dBASE's macro
  11672. function) and are you saying with certainty that there is no equiv-
  11673. alent in QuickBASIC 4.0?
  11674. I want to allow the user to pass in "variable=value" strings that
  11675. I can translate to code DIRECTLY without any giant (and inflexible)
  11676. IF...THEN loops containing every variable possible.
  11677. Thanks anyway...!  Still looking for positive reply to this one
  11678. if you do know what I mean (it's kind of hard to explain).
  11679. -Mark
  11680.  
  11681. >>>>>>>>>> Msg 5777 reply #2
  11682.  
  11683.    conf: PROGRAMMING LANGUAGES  #5786  07-25-88  02:19  (Read 95 times)
  11684.    from: THOMAS ATKINSON
  11685.      to: UWM COMPUTING (Rcvd)
  11686. subject: R: R: --MACROS IN QUICKB  Reply to #5779
  11687.  
  11688. I am not 100% on what you are trying but does not basic have the capability
  11689. of say ON GOTO_ON GOTO 100,200,300,400 etc...
  11690.  
  11691. >>>>>>>>>> Msg 5777 reply #3
  11692.  
  11693.    conf: PROGRAMMING LANGUAGES  #5792  07-25-88  18:54  (Read 95 times)
  11694.    from: JOE VINCENT
  11695.      to: UWM COMPUTING (Rcvd)
  11696. subject: R: R: --MACROS IN QUICKB  Reply to #5779
  11697.  
  11698. Dear Mr. Computing (or may we call you UMW?):
  11699.  
  11700. If I understand you correctly, there are two ways to do what you want.
  11701. First, check out the "SELECT CASE" statement.  It allows you to execute a
  11702. statement block if a variable has one of several values.  Second, it your
  11703. variable is a numeric field with continuous values (e.g., 1,2,3,4, . . .),
  11704. you can use the "ON" statement to jump to code corresponding to each of the
  11705. values.
  11706.  
  11707. There might be other ways to do what you want, but these two occurred to me
  11708. immediately.  Hope I understood what you are trying to do.
  11709.  
  11710. >>>>>>>>>> Msg 5777 reply #4
  11711.  
  11712.    conf: PROGRAMMING LANGUAGES  #5793  07-25-88  18:56  (Read 97 times)
  11713.    from: JOHN GRANT
  11714.      to: UWM COMPUTING (Rcvd)
  11715. subject: R: R: --MACROS IN QUICKB  Reply to #5779
  11716.  
  11717. I dabble both in dBASE and QB and have not found any reasonable substitute
  11718. for macros in the latter.  I think Charles is right in that an IF...ELSE
  11719. type of construct (or SELECT CASE) may be the only way.
  11720.  
  11721. Macros are both powerful as hell and a dog to debug and document.  I'm not
  11722. a big fan of replacing entire lines of code with them, but I know what
  11723. you're trying to do and hard-coding the possibilities may be the only way.
  11724.  
  11725. BTW, is UWM using QB in its micro-labs now?  What else has changed since I
  11726. last camped overnight in a hallway to get a seat in those labs the next
  11727. morning?
  11728.  
  11729. >>>>>>>>>> Msg 5777 reply #5
  11730.  
  11731.    conf: PROGRAMMING LANGUAGES  #5794  07-25-88  18:56  (Read 99 times)
  11732.    from: UWM COMPUTING
  11733.      to: THOMAS ATKINSON (Rcvd)
  11734. subject: R: R: --MACROS IN QUICKB  Reply to #5786
  11735.  
  11736. I need to input a field NAME from an external source.
  11737. dBASE III allows this like so:
  11738. SAY "Enter the field name :" GET fieldnm
  11739. SAY "Enter the value you want stored in the field" GET value
  11740. STORE value TO &fieldnm
  11741. .
  11742. The above (sample) code would store the inputted value into the
  11743. memory variable named whatever the user input for fieldnm.
  11744. Understand?  I need to somehow input field NAMES -- and without
  11745. the use of more indirect methods (which would be infeasible for
  11746. my application) such as large nested IFs or ON..GOSUBS or what-
  11747. ever.  Does ANYONE understand the nature of my problem?
  11748. Thanks for the effort.  I appreciate any input.
  11749.  
  11750. >>>>>>>>>> Msg 5777 reply #6
  11751.  
  11752.    conf: PROGRAMMING LANGUAGES  #5795  07-25-88  18:59  (Read 94 times)
  11753.    from: UWM COMPUTING
  11754.      to: JOE VINCENT (Rcvd)
  11755. subject: R: R: --MACROS IN QUICKB  Reply to #5792
  11756.  
  11757. Close, no cigar.
  11758. Please read reply to Thomas, who suggested the same thing.
  11759. I am a reasonably experienced programmer and trainer, and
  11760. I should warn you that I've exhausted all traditional (and
  11761. commonly used) approaches.
  11762. Thanx again.
  11763.  
  11764. >>>>>>>>>> Msg 5777 reply #7
  11765.  
  11766.    conf: PROGRAMMING LANGUAGES  #5796  07-25-88  19:04  (Read 97 times)
  11767.    from: UWM COMPUTING
  11768.      to: JOHN GRANT (Rcvd)
  11769. subject: R: R: --MACROS IN QUICKB  Reply to #5793
  11770.  
  11771. John,
  11772. Thank you for your comments.  Everyone (including MicroSoft tech
  11773. support) concurs with your sad but apparently true statement that
  11774. the feature may not exist in the format I need.
  11775. I DONT REALLY HAVE MUCH CHOICE WITH THIS APPLICATION, THOUGH!
  11776. I'm dealing with 15+ datafiles with upwards of 20 fields in each
  11777. and the size of the resultant nested IF boggles the MIND.
  11778. HELP anyone?  Is there a function I don't know about?
  11779.  
  11780. >>>>>>>>>> Msg 5777 reply #8
  11781.  
  11782.    conf: PROGRAMMING LANGUAGES  #5797  07-25-88  19:08  (Read 96 times)
  11783.    from: JOE VINCENT
  11784.      to: UWM COMPUTING (Rcvd)
  11785. subject: R: R: --MACROS IN QUICKB  Reply to #5795
  11786.  
  11787. I think you're up against the "compile time vs run time" problem.  Since
  11788. variable names are resolved at compile time, they're of no importance at
  11789. run time.
  11790.  
  11791. So, how about this: allocate two arrays, one for variable names at run time
  11792. and the other for variable values at run time (your compile-time variable
  11793. names will have nothing to do with this).  When your user inputs a variable
  11794. name and value, store the variable name in the first cell of your variable
  11795. name array and the variable value in the first cell of your variable value
  11796. array.  Continue like this for the second through nth variables.  This
  11797. associates a variable name with a variable value at run time, as you
  11798. wanted.  For more efficient reference, sort the variable name array, making
  11799. the same rearrangement in the variable value array, at some point.
  11800.  
  11801. Is that any closer to what you want to do?
  11802.  
  11803. >>>>>>>>>> Msg 5777 reply #9
  11804.  
  11805.    conf: PROGRAMMING LANGUAGES  #5798  07-25-88  19:11  (Read 100 times)
  11806.    from: JOHN GRANT
  11807.      to: UWM COMPUTING (Rcvd)
  11808. subject: R: R: --MACROS IN QUICKB  Reply to #5796
  11809.  
  11810. Have you noticed how over-indulgence in macros is dBASE brings it (or any
  11811. compiler) grinding to a crawl?
  11812.  
  11813. My only suggestion would be to explore writing a function in C (dBASE is
  11814. written in C...they musta figured out a way to macro substitute in C) and
  11815. creating a library (and quick-library) module and take your best shot.  You
  11816. should be able to link large-model compiled C object with QB.
  11817.  
  11818. Are you still that desperate?
  11819.  
  11820. >>>>>>>>>> Msg 5777 reply #10
  11821.  
  11822.    conf: PROGRAMMING LANGUAGES  #5799  07-25-88  19:43  (Read 98 times)
  11823.    from: THOMAS ATKINSON
  11824.      to: UWM COMPUTING (Rcvd)
  11825. subject: R: R: --MACROS IN QUICKB  Reply to #5794
  11826.  
  11827. There may be an easier way and it may show up right after this message but,
  11828. if you could find a memory map on basic itself, there must be a location
  11829. that points to the beginning of variable storage.  From there it must be
  11830. set up something like, name of variable, length of variable, type of
  11831. variable, and either the data to the variable or a pointer to the
  11832. variable, then a pointer to the next variable. I am confussing myself with
  11833. this one...
  11834.  
  11835. >>>>>>>>>> Msg 5777 reply #11
  11836.  
  11837.    conf: PROGRAMMING LANGUAGES  #5801  07-25-88  22:42  (Read 110 times)
  11838.    from: TOM FELLER
  11839.      to: UWM COMPUTING (Rcvd)
  11840. subject: R: R: --MACROS IN QUICKB  Reply to #5794
  11841.  
  11842. I know of only one good way to do this. You need to use a hash table.
  11843. This is a array with linked lists at each element. I don't know if
  11844. you can create this sort of thing in basic, if not a 2d array may do the
  11845. job. Each element would have a value and a name. The hash method is the
  11846. fastest way to resolve 1d, then you can go through the other 1d and match.
  11847. A good hash function is add all the ascii values of all the characters in
  11848. the name and then mod with the max size of the 1d array. This will resolve
  11849. the 1d subscript for initial placement and searching the array. Just make
  11850. shure you use the same function for both. You can set all names to empty
  11851. to start with and set them as you place them. You always add to the end
  11852. of the 2nd d during placement.
  11853. Any help?
  11854. -Tom Feller-
  11855.  
  11856. >>>>>>>>>> Msg 5777 reply #12
  11857.  
  11858.    conf: PROGRAMMING LANGUAGES  #5803  07-26-88  08:03  (Read 105 times)
  11859.    from: UWM COMPUTING
  11860.      to: JOE VINCENT (Rcvd)
  11861. subject: R: R: --MACROS IN QUICKB  Reply to #5797
  11862.  
  11863. Could be, Joe - let me get back to you after I've thought about
  11864. this and tested it.
  11865.  
  11866. >>>>>>>>>> Msg 5777 reply #13
  11867.  
  11868.    conf: PROGRAMMING LANGUAGES  #5804  07-26-88  08:05  (Read 105 times)
  11869.    from: UWM COMPUTING
  11870.      to: JOHN GRANT (Rcvd)
  11871. subject: R: R: --MACROS IN QUICKB  Reply to #5798
  11872.  
  11873. John-
  11874. You seem to be the only one who understands the nature of
  11875. my problem (and perhaps the fact that there lacks an easy
  11876. solution).  Thanks for your suggestion.
  11877. -MArk
  11878.  
  11879. >>>>>>>>>> Msg 5777 reply #14
  11880.  
  11881.    conf: PROGRAMMING LANGUAGES  #5805  07-26-88  08:08  (Read 106 times)
  11882.    from: UWM COMPUTING
  11883.      to: THOMAS ATKINSON (Rcvd)
  11884. subject: R: R: --MACROS IN QUICKB  Reply to #5799
  11885.  
  11886. -Thanks Thomas.  I'll consider your suggestion.
  11887. You may want to read John Grant's replies to my
  11888. quandary - he seems to have the best grasp on what I am
  11889. trying to accomplish.
  11890. Thanks again - it's so nice to have people that want to help.
  11891.  
  11892. >>>>>>>>>> Msg 5777 reply #15
  11893.  
  11894.    conf: PROGRAMMING LANGUAGES  #5806  07-26-88  08:10  (Read 105 times)
  11895.    from: UWM COMPUTING
  11896.      to: TOM FELLER (Rcvd)
  11897. subject: R: R: --MACROS IN QUICKB  Reply to #5801
  11898.  
  11899. Thanks, Tom-
  11900. I'll look into your suggestion and get back to you.
  11901. -Mark.
  11902.  
  11903. >>>>>>>>>> Msg 5777 reply #16
  11904.  
  11905.    conf: PROGRAMMING LANGUAGES  #5808  07-26-88  10:21  (Read 102 times)
  11906.    from: MARK GINSBERG
  11907.      to: UWM COMPUTING (Rcvd)
  11908. subject: R: R: --MACROS IN QUICKB  Reply to #5779
  11909.  
  11910.    Yipes that is an amazing requirement.  Why not keep records where the
  11911. first field is the 'key' or 'lookup' value.  I don't know of any widely
  11912. used language which will let you get away with what you want.
  11913.     There is a far fetched way of using an interpreted language which is
  11914. programed to be self modifying, but really....  that would be ugly.
  11915.     It is a cute problem to give elementary CS students though... It would
  11916. make them think about what a compiler really does.
  11917.  
  11918. >>>>>>>>>> Msg 5777 reply #17
  11919.  
  11920.    conf: PROGRAMMING LANGUAGES  #5809  07-26-88  21:01  (Read 99 times)
  11921.    from: UWM COMPUTING
  11922.      to: MARK GINSBERG (Rcvd)
  11923. subject: R: R: --MACROS IN QUICKB  Reply to #5808
  11924.  
  11925. Do I detect a hint of SMUGness here?  Really Mark, I am aware of at
  11926. least one interpretive language and one compiled language that DOES
  11927. perform what I ask (dBASE III Plus "&" or macro command) and the
  11928. "C" language.  I am sure this would be possible with other low-level
  11929. languages besides C as well.
  11930. My experience in high-level languages and system analysis is broad
  11931. enough to understand the difference between compiled and interpreted
  11932. languages.  Perhaps a more detailed explanation of my problem woule
  11933. help you understand the nature of my needs.  A look at the explanation
  11934. of the "&" function in the dBASE III manual (a WIDEly used program,
  11935. although the code is interpretive in its native state) would explain
  11936. best.  Thanks anyway, Mark.
  11937.  
  11938. >>>>>>>>>> Msg 5777 reply #18
  11939.  
  11940.    conf: PROGRAMMING LANGUAGES  #5811  07-26-88  21:49  (Read 101 times)
  11941.    from: JOHN GRANT
  11942.      to: UWM COMPUTING (Rcvd)
  11943. subject: R: R: --MACROS IN QUICKB  Reply to #5804
  11944.  
  11945. I believe I saw Joe Vincent put forth a good suggestion.  The sorted array
  11946. with one containing the name of the variable and the other containing the
  11947. value may be the closest thing to how dBASE actually executes macros if you
  11948. really want to get down to low level code.
  11949.  
  11950. And, I believe, if well written, this approach would still blow away dBASE
  11951. (compiled or not) as far as the overhead (read speed) in processing macros.
  11952. Of course, unless your proficient at balanced binary trees, you'd need to
  11953. re-sort the array of variable names each time you tossed a new one in.
  11954.  
  11955. >>>>>>>>>> Msg 5777 reply #19
  11956.  
  11957.    conf: PROGRAMMING LANGUAGES  #5813  07-26-88  22:07  (Read 101 times)
  11958.    from: GLEN THOMPSON
  11959.      to: UWM COMPUTING (Rcvd)
  11960. subject: R: R: --MACROS IN QUICKB  Reply to #5794
  11961.  
  11962. I sort of unterstand the problem from the dBase side.  The main problem
  11963. stems from dBase's being an interpreter.  It's a lot easier to do that sort
  11964. of thing.  Since the variable name isn't known until runtime, QB can't
  11965. generate the appropriate code since it doesn't know what location to use.
  11966.   
  11967. glen
  11968.  
  11969. >>>>>>>>>> Msg 5777 reply #20
  11970.  
  11971.    conf: PROGRAMMING LANGUAGES  #5814  07-26-88  22:39  (Read 101 times)
  11972.    from: UWM COMPUTING
  11973.      to: JOHN GRANT (Rcvd)
  11974. subject: R: R: --MACROS IN QUICKB  Reply to #5811
  11975.  
  11976. John-
  11977. Thanks, yes, I read Joe's suggestion (and thanked him for it).
  11978. This is probably the best alternative.  For reasons it would be
  11979. difficult (and long-winded) to describe here, I don't think I
  11980. have much other choice, except perhaps multiple-language code
  11981. with calls to sub-programs written in "C."  The reason I have
  11982. to stick with QuickBASIC for the main module is the QB library
  11983. package I use, db/LIB, which allows me to use the dBASE file
  11984. format.
  11985.  
  11986. >>>>>>>>>> Msg 5777 reply #21
  11987.  
  11988.    conf: PROGRAMMING LANGUAGES  #5816  07-26-88  22:48  (Read 104 times)
  11989.    from: UWM COMPUTING
  11990.      to: GLEN THOMPSON (Rcvd)
  11991. subject: R: R: --MACROS IN QUICKB  Reply to #5813
  11992.  
  11993. thx Glen.  My understanding of this problem has been greatly
  11994. enhanced thru the fine suggestions of friends on PC-EXEC ---
  11995. Apparently, interpreted languages aren't the only ones that
  11996. can do this- I have a friend who does this in C.
  11997. Thanks again.
  11998.  
  11999. >>>>>>>>>> Msg 5777 reply #22
  12000.  
  12001.    conf: PROGRAMMING LANGUAGES  #5818  07-27-88  19:04  (Read 105 times)
  12002.    from: JOE VINCENT
  12003.      to: UWM COMPUTING (Rcvd)
  12004. subject: R: R: --MACROS IN QUICKB  Reply to #5803
  12005.  
  12006. Another possibility (or a refinement, perhaps) -- if your record is a
  12007. string containing fields, you could construct an array containing
  12008. "pointers" (in BASIC, really no more than integers containing relative
  12009. displacements within the string) to field locations within the string.  A
  12010. second array would contain the variable names corresponding to the pointers
  12011. in the first array.  Using this, you could still do your lookup on variable
  12012. name in the variable name array and then obtain the pointer into the record
  12013. from the pointer array.  A nice touch would be to make the pointer array
  12014. two-dimensional and also carry the field length along with the pointer.
  12015.  
  12016. The suggestion about locating variable allocations from a BASIC map is a
  12017. possibility, but I don't trust MS to leave things alone from one release to
  12018. the next.  There is such a thing as a string descriptor, the address of
  12019. which you can obtain with VARPTR and VARSEG, but that's only good for
  12020. strings and doesn't contain the variable name in any event.
  12021.  
  12022. >>>>>>>>>> Msg 5777 reply #23
  12023.  
  12024.    conf: PROGRAMMING LANGUAGES  #5821  07-27-88  23:25  (Read 107 times)
  12025.    from: TOM FELLER
  12026.      to: UWM COMPUTING (Rcvd)
  12027. subject: R: R: --MACROS IN QUICKB  Reply to #5796
  12028.  
  12029. The lookup method would also work well. However, if the array was large
  12030. the hash method would be very much faster. If you have 100 variables
  12031. in a 10x10 hashed array, the hash method would be 10x faster.
  12032. -Tom Feller-
  12033.  
  12034. >>>>>>>>>> Msg 5777 reply #24
  12035.  
  12036.    conf: PROGRAMMING LANGUAGES  #5834  07-30-88  16:50  (Read 108 times)
  12037.    from: JOE KNAPP
  12038.      to: UWM COMPUTING (Rcvd)
  12039. subject: R: --MACROS IN QUICKBASI  Reply to #5777
  12040.  
  12041. I think I understand what you need, but QUICKB does not maintain your
  12042. original variable names after your code is compiled.  The only thing you
  12043. can do is store the original variable names in a string array and build a
  12044. SELECT CASE to check the current value, using the element number as a
  12045. reference.  Here's an example of a simple system to maintain access to
  12046. variables called "A", "B" and "O$":
  12047.  
  12048.          Descriptor$(1) = "A"
  12049.          Descriptor$(2) = "B"
  12050.          Descriptor$(3) = "O$"
  12051.  
  12052. REM      Your user enters "A = 1", you parse out the variable name "A"
  12053. REM      and the test value of 1
  12054.  
  12055.          FOR J = 1 TO 3
  12056.            IF Descriptor$(J) = UsersVariable$ THEN
  12057.               VariableNum = J
  12058.               EXIT FOR
  12059.            END IF
  12060.          NEXT
  12061.          SELECT CASE VariableNum
  12062.              CASE 1
  12063.                   TestVal = A
  12064.              CASE 2
  12065.                   TestVal = B
  12066.              CASE 3
  12067.                   TestVal$ = O$
  12068.          END SELECT
  12069.  
  12070. Now all you have to do is compare TestVal to what the user entered and see
  12071. if they match.  Obviously, as you can see from this example, you must also
  12072. keep track of each variable type (int, string, etc..), and provide some
  12073. error trapping for invalid variable names.  Instead of doing a sequential
  12074. search (the FOR loop above), you could use a hashing scheme as previously
  12075. suggested.  If it were a long list, I would maintain the Descriptor array
  12076. in sorted order and use a binary search technique to locate the desired
  12077. name.  I hope this sheds some light on a seemingly hopeless situation...
  12078.  
  12079. Joe Knapp
  12080.  
  12081. >>>>>>>>>> Msg 5777 reply #25  >>>Last msg in reply thread.
  12082. Returning to normal sequence.
  12083.  
  12084.    conf: PROGRAMMING LANGUAGES  #5780  07-24-88  20:55  (Read 96 times)
  12085.    from: BRUCE SHERMAN
  12086.      to: ALL
  12087. subject: TP3.0 DRIVE EXIST?
  12088.  
  12089. How can I check, using TurboPascal, for the existence of a floppy
  12090. drive, without requiring the user to insert a floppy disk into
  12091. the drive?
  12092. ---------------
  12093.  
  12094.    conf: PROGRAMMING LANGUAGES  #5807  07-26-88  10:15  (Read 100 times)
  12095.    from: MARK GINSBERG
  12096.      to: BRUCE SHERMAN (Rcvd)
  12097. subject: R: TP3.0 DRIVE EXIST?  Reply to #5780
  12098.  
  12099.      As I recall, the way to do that is to use a combination of 2 DOS
  12100. calls.  1) What is the current drive? and 2) Change drives.
  12101.      The algorithm runs as follows.
  12102. 1) Record the current drive. (So we can come back.)
  12103. 2) For Drives 'A' to 'Z' do
  12104. 2a) Change to the drive.
  12105. 2b) Check the current drive. If it is not the same as the drive just
  12106.    changed to... The drive we just changed to does not exist.  If the
  12107.    drive we are on IS the drive we just changed to... The drive exists.
  12108.   
  12109.     Is this the kind of thing you were looking for?
  12110.  
  12111. >>>>>>>>>> Msg 5780 reply #1
  12112.  
  12113.    conf: PROGRAMMING LANGUAGES  #5828  07-28-88  22:28  (Read 99 times)
  12114.    from: BRUCE SHERMAN
  12115.      to: MARK GINSBERG (Rcvd)
  12116. subject: R: R: TP3.0 DRIVE EXIST?  Reply to #5807
  12117.  
  12118. Yes, I have tried something like that, which works find on hard drives.
  12119. However, when changing to Drive A or Drive B, the system prompts
  12120. to insert a floppy disk.  That, of course, is undesireable.
  12121.  
  12122. >>>>>>>>>> Msg 5780 reply #2  >>>Last msg in reply thread.
  12123. Returning to normal sequence.
  12124.  
  12125.    conf: PROGRAMMING LANGUAGES  #5784  07-24-88  23:51  (Read 95 times)
  12126.    from: JOHN HIBSCHER
  12127.      to: ALL
  12128. subject: COM USE
  12129.  
  12130.     Has anyone out there done any extensive work with the COM1: port or
  12131. modem driving with Turbo Pascal 4.0?  I'm most interested in setting up a
  12132. small BBS of my own.  I have a Hayes.
  12133.     Please leave a message if you think you're hot - and that in itself
  12134. warrants a reply.
  12135. ---------------
  12136.  
  12137.    conf: PROGRAMMING LANGUAGES  #5787  07-25-88  02:24  (Read 92 times)
  12138.    from: THOMAS ATKINSON
  12139.      to: JOHN HIBSCHER (Rcvd)
  12140. subject: R: COM USE  Reply to #5784
  12141.  
  12142. I just uploaded the source for a BBS that i myself use. It is TPBOARD, in
  12143. TP4, and will fill you in very well.  You will also need the files
  12144. TPB41-?.ARC set as some setup utils and maintenance utils are not in source
  12145. form.  Also to compile the main BBS source you will need two products,
  12146. OVERLAY manager and TURBO PROFESSIONAL.  But, if you are hot, you could
  12147. just download the TPBOARD source and create the needed util programs from
  12148. the file structures and such...
  12149.  
  12150. >>>>>>>>>> Msg 5784 reply #1
  12151.  
  12152.    conf: PROGRAMMING LANGUAGES  #5790  07-25-88  13:46  (Read 99 times)
  12153.    from: JOHN HIBSCHER
  12154.      to: THOMAS ATKINSON (Rcvd)
  12155. subject: R: R: COM USE  Reply to #5787
  12156.  
  12157. Thanks for the tip.  I'll check it out, but I'm not sure that it's what I'm
  12158. looking for.  You know, if I could just look at the source code, that would
  12159. be ideal.  I'll stay in touch.  Thanks again!
  12160.  
  12161. >>>>>>>>>> Msg 5784 reply #2  >>>Last msg in reply thread.
  12162. Returning to normal sequence.
  12163.  
  12164.    conf: PROGRAMMING LANGUAGES  #5810  07-26-88  21:21  (Read 101 times)
  12165.    from: UWM COMPUTING
  12166.      to: JOHN GRANT (Rcvd)
  12167. subject: QB MACROS
  12168.  
  12169. John-
  12170. Thanks for your understanding of the prob.  I am enlisting the help
  12171. of a local "C" expert who will be writing a couple subprograms that
  12172. will interface with my main module.  Part of the reason I'm confined
  12173. to the use of QuickBASIC is my need for the use of DB/LIB, a package
  12174. of qb4->dbase libraries that allow the creation/update/read of files
  12175. in the dBASE II/III file format.  We are allowing the ultimate user
  12176. of our package a certain amount of flexibility in the creation and
  12177. update of their files.  The use of the macro function would greatly
  12178. facilitate this flexibility.
  12179. Oh, and BTW, I'm no longer a student at UWM, but remember the long
  12180. lines and the 5-coffee mornings in the microlabs too.  Any students
  12181. out there that could comment on the current situation of the lab?
  12182. thx again. -Mark.
  12183. ---------------
  12184.  
  12185.    conf: PROGRAMMING LANGUAGES  #5812  07-26-88  21:53  (Read 104 times)
  12186.    from: JOHN GRANT
  12187.      to: UWM COMPUTING (Rcvd)
  12188. subject: R: QB MACROS  Reply to #5810
  12189.  
  12190. How nice of them to extend their EXEC subscription to an alum!
  12191.  
  12192. Hey, how do you like dbLIB?  Is it easy to use in the QB development
  12193. environent?  Does the resultant code run faster, better and in less memory?
  12194. What are you using for a screen routine package for QB?  I am in the market
  12195. for both, unless I can warm up to a good commercial B-tree package before
  12196. someone convinces me that dbLIB is the way to go.
  12197.  
  12198. >>>>>>>>>> Msg 5810 reply #1
  12199.  
  12200.    conf: PROGRAMMING LANGUAGES  #5815  07-26-88  22:45  (Read 106 times)
  12201.    from: UWM COMPUTING
  12202.      to: JOHN GRANT (Rcvd)
  12203. subject: R: R: QB MACROS  Reply to #5812
  12204.  
  12205. John-
  12206. Hi again!  db/LIB is extremely easy to use and flexible.  The calls
  12207. are easily set up, and contain just about everything you would be
  12208. interested to know about a dbf.  If you want to learn more about this,
  12209. let me know and either I can send you something or I'd be happy to
  12210. perhaps demo it for you.  I'm not using anything for a screen routine
  12211. package... in fact, I hadn't considered anything to date.  How would
  12212. this help me?  Please note that I am writing a DATA COLLECTION system
  12213. for TNET terminals (20 in all) in a manufacturing environment.
  12214. This application is quickly growing beyond my level of expertise, I
  12215. fear!  Thx again.
  12216. -Mark
  12217.  
  12218. >>>>>>>>>> Msg 5810 reply #2
  12219.  
  12220.    conf: PROGRAMMING LANGUAGES  #5823  07-28-88  20:00  (Read 101 times)
  12221.    from: JOHN GRANT
  12222.      to: UWM COMPUTING (Rcvd)
  12223. subject: R: R: QB MACROS  Reply to #5815
  12224.  
  12225. Maybe you could u/l a demo to my BBS, Field & Screen @ 226-6122 6PM-6AM M-F
  12226. and 24hrs weekends.
  12227.  
  12228. I have written a routine that mimics the @ SAY...GET in dBASE for QB4.  It
  12229. has limited editing (force uppercase, numeric, rt-justify numeric) and
  12230. allows multiple 'GETS' prior to a 'READ' so you can arrow up and down
  12231. through the input fields.  I have seen routines to 'GET' one field, but few
  12232. PD stuff can handle multiple fields like dBASE.
  12233.  
  12234. If you are interested, I will also u/l an example to my board.  See you
  12235. there!
  12236.  
  12237. >>>>>>>>>> Msg 5810 reply #3
  12238.  
  12239.    conf: PROGRAMMING LANGUAGES  #5826  07-28-88  21:55  (Read 100 times)
  12240.    from: UWM COMPUTING
  12241.      to: JOHN GRANT (Rcvd)
  12242. subject: R: R: QB MACROS  Reply to #5823
  12243.  
  12244. Yes, John, I would be interested in a demo of your @say get routine
  12245. for QB 4.0.  I'll get in your BBS and upload a db/LIB demo when I
  12246. get a chance soon.
  12247. Thanks again for your prompt replies and interest in helping out.
  12248. -Mark
  12249.  
  12250. >>>>>>>>>> Msg 5810 reply #4  >>>Last msg in reply thread.
  12251. Returning to normal sequence.
  12252.  
  12253.    conf: PROGRAMMING LANGUAGES  #5820  07-27-88  22:59  (Read 107 times)
  12254.    from: TOM FELLER
  12255.      to: ALL
  12256. subject: UNIX V
  12257.  
  12258. Unix system V release 3 for 80386 from $145 complete!
  12259. Buy the complete Interactive Systems port of UNIX, created for Intel Corp.
  12260. and certified by AT+T on AT compatibles, for only $145 for the 2 user
  12261. license and only $275 for the unlimited users license.
  12262.    The price includes Interactive Systems 386/ix device drivers, all
  12263. development tools, C Compiler, Link, vi editor, and all other UNIX
  12264. utilities, files and programs, including Remote File System, Streams, and
  12265. TLI.
  12266.    Included are all commercial enhancements; user friendly menus, built in
  12267. support for cartridge tape backup, "smart" and "dumb" serial cards, RLL and
  12268. ESDI disks, 80387 and Weitek math coprocessors. UNIX from Bell Technologies
  12269. ships Ethernet ready with a complete RFS distributed file system.
  12270.    Cost for all of UNIX including all the manuals, media kit, and unlimited
  12271. number of users is $495. Call 1-800-FOR-UNIX to place a order from.
  12272. Bell Technologies, 330 Warren Avenue, Fremont, CA, 94539. Telex 3723620
  12273. .. I got this info from one of those card packs.
  12274. -Tom Feller-
  12275.  
  12276. ---------------
  12277.  
  12278.    conf: PROGRAMMING LANGUAGES  #5835  07-31-88  09:21  (Read 102 times)
  12279.    from: DEAN ROTH
  12280.      to: TOM FELLER (Rcvd)
  12281. subject: R: UNIX V  Reply to #5820
  12282.  
  12283. Interactive System's advertisement in UNIX World (July '88) says that
  12284. its 386/ix UNIX includes VP/ix.  VP/ix is software that runs MS-DOS
  12285. software (a DOS window) under UNIX.  VP/ix is supposed to be the same
  12286. software Sun is using on its Sun 386i, which can have multiple DOS windows,
  12287. and DOS software can read UNIX files and vice versa, and a lot more!
  12288.  
  12289. Too bad I don't have a 386 machine. This sounds interesting.
  12290. -Dean
  12291.  
  12292. >>>>>>>>>> Msg 5820 reply #1  >>>Last msg in reply thread.
  12293. Returning to normal sequence.
  12294.  
  12295.    conf: PROGRAMMING LANGUAGES  #5824  07-28-88  20:37  (Read 97 times)
  12296.    from: DAVE CLAY
  12297.      to: UWM COMPUTING (Rcvd)
  12298. subject: --MACROS IN QUICKB
  12299.  
  12300.   May I jump into this thread and offer a couple of suggestions.
  12301. At the first of July, I asked for help on CI$ for a tool kit to do
  12302. dBASE inputs:
  12303.                   @ yy SAY xxxxxxx
  12304.                   GET X
  12305. type of screen control. I got three responses:
  12306.  
  12307.   1.  Try "PANEL" from Roundhill
  12308.   2.      "QBTOOLS" form Mark Moran (7165,757) phone 800-678-2112
  12309.   3.      "MicroHelp Tool Box" from Mark Novisoff (73047,3706)
  12310.  
  12311. These tool kits may also do what you want. I have not had time to look
  12312. at any, but if you find out about anything which does work, let me know.
  12313.  
  12314.                     Good  Luck
  12315.                     Dave Clay
  12316.  
  12317. ---------------
  12318.  
  12319.    conf: PROGRAMMING LANGUAGES  #5827  07-28-88  21:57  (Read 97 times)
  12320.    from: UWM COMPUTING
  12321.      to: DAVE CLAY (Rcvd)
  12322. subject: R: --MACROS IN QUICKB  Reply to #5824
  12323.  
  12324. Dave-
  12325. Thanks for your suggestions.  It might be interesting to see
  12326. what these packages can offer, and I will follow up on it.
  12327. -Mark
  12328.  
  12329. >>>>>>>>>> Msg 5824 reply #1  >>>Last msg in reply thread.
  12330. Returning to normal sequence.
  12331.  
  12332.    conf: PROGRAMMING LANGUAGES  #5825  07-28-88  20:44  (Read 101 times)
  12333.    from: DAVE CLAY
  12334.      to: GRANT ELLSWORTH (Rcvd)
  12335. subject: DISABLING CTRL-BRK
  12336.  
  12337.      cc: PAT SHEA
  12338.  
  12339. Grant,
  12340.     After mulling over the various thoughts on this thread, it just
  12341. occurred to me that I wrote a program to pretty much do what you
  12342. want.  Unfortunately, I don't know a single line of "C" code, so I
  12343. wrote my program in MASM.  What I did was write a DOS shell ala
  12344. chapter 10 of Ray Duncan's book.  It took me 8 pages in MASM, but
  12345. he gives a 2 page C example to do the same thing.  The shell will
  12346. work with any program.  Once debugged, it could be added to any
  12347. application.  The algorithm consists of 4 parts.  In MASM,  it
  12348. makes a 3k .COM file. The parts are:
  12349.  
  12350. 1.0   Prelude
  12351.     1.1  Define 2 (yes TWO) arrays for 2 stacks.
  12352.     1.2  Grab both Int 23h and 1Bh and assign them to Int 60h & 61h just
  12353.          in case YOU want to use them.
  12354.     1.3  Check for the existence of your application and its support files
  12355.          and any other safety checks necessary.
  12356.     1.4  Release all excess memory.
  12357.     1.5  Save SS & SP of your shell's first stack.
  12358.  
  12359. 2.0   Call Your Application
  12360.       Do the DOS  equivalent of the UNIX EXEC function.
  12361.  
  12362. 3.0   Postlude (after your application terminates)
  12363.     3.1 Restore your shell's first stack SS & SP.
  12364.     3.1 Grab the error code from your application (the child process).
  12365.     3.2 Clean house. Reverse step 1.2
  12366.     3.3 Terminate the shell and return any error code applicable.
  12367.  
  12368. 4.0   Interrupt Handlers  (PROC FAR)
  12369.     4.1 Write a handler to do whatever your heart desires if your user
  12370.         does hit the break keys.
  12371.     4.2 Cautions.  This is where you must use the second stack array.
  12372.         Set SS & SP to point to your shell's second stack.
  12373.         Do **NOT** use your shell's first stack!!!
  12374.         You also must save your child's registers if you want to return
  12375.         to the child.  You can pop your child's CS, IP, & FLAGS from your
  12376.         child's stack, if you want, but put them back when done.
  12377.     4.3 End the interrupt handler with IRET.
  12378.  
  12379.    If you want, I can upload the source to my version of the above scheme.
  12380. It was written to unprotect a game but it would be a start for you.  Some
  12381. day, I will have to break down and learn C so I can talk the same language
  12382. as the rest of the world.
  12383.  
  12384.    A note on writing interrupt handlers.  The above program was only the
  12385. second MASM program I ever wrote. The first was a 126 byte long .COM file.
  12386. While debugging my Int 13h handler, I had my child process calling me,
  12387. DOS was in line calling me, Periscope was calling me and I was all messed
  12388. up.  I felt like I was standing at Hollywood & Vine on a Saturday afternoon
  12389. with my pants down.  But with a little perseverance, anybody can write an
  12390. interrupt handler.
  12391.                                 Good Luck (you may need it),
  12392.                                 Dave Clay
  12393.  
  12394. ---------------
  12395.  
  12396.    conf: PROGRAMMING LANGUAGES  #5832  07-30-88  12:53  (Read 96 times)
  12397.    from: GRANT ELLSWORTH
  12398.      to: DAVE CLAY (Rcvd)
  12399. subject: R: DISABLING CTRL-BRK  Reply to #5825
  12400.  
  12401.      cc: PAT SHEA
  12402.  
  12403. Dave , Thanks for your contributing essay!  Your approach is interesting.
  12404. I have finished working out 3 different techniques for stomping out
  12405. ctrl-brk, ctrl-c, and their bastard cousins ctrl-@ and <alt>-<keypad-3>,
  12406.  
  12407. 2 of the 3 involve superceding/intercepting the keyboard-interrupt (intr
  12408. 09h), the bios ctrl-brk interrupt (intr 1bh), and the DOS ctrl-C (and other
  12409. relatives) interrupt (intr 23h).  The 3rd was elementary --- using IOCTL -
  12410. DOS function 44h, which I uploaded as UNFILKEY.ARC.
  12411.  
  12412. However, an "anomaly" (or design flaw, if you will) in pre-AT PC bios
  12413. causes the type-ahead buffer to be "wiped" - or reset - effectiively
  12414. discarding the typed ahead characters, if any when BIOS senses the ctrl-
  12415. brk key.  So, unless the keystroke is jury-rigged BEFORE it gets to the
  12416. standard BIOS intr09, all the code ever written to do cute things in the
  12417. interrupt handlers will NOT salvage the type-ahead buffer.
  12418.  
  12419. I have finished up all three examples.  I am now documentingd my
  12420. observations and will upload the documented samples and commentary when
  12421. I have it finished.  THis commentary contains stuff that MS and IBM FAILED
  12422. MISERABLY to document in their own overpriced publications and which I have
  12423. NOT found clearly explained anywhere in other formal books and pubs on the
  12424. market.
  12425.  
  12426. This has been a painful, annoying, and time-consuming exercise which I hope
  12427. others can now avoid by using added info.  I also hope that MS/IBM has
  12428. developed a more reasonable set of tools and options for controlling the
  12429. keyboard in OS/2.
  12430.  
  12431. Grant
  12432.  
  12433. >>>>>>>>>> Msg 5825 reply #1  >>>Last msg in reply thread.
  12434. Returning to normal sequence.
  12435.  
  12436.    conf: PROGRAMMING LANGUAGES  #5829  07-29-88  08:05  (Read 103 times)
  12437.    from: JAMES MCSWAIN
  12438.      to: ALL
  12439. subject: VAX C PROGRAMMING
  12440.  
  12441. I have been working on a microvax running vms. I am programming
  12442. in vax C and trying to talk to a terminal port. I have assigned
  12443. a channel for my system call but I still can't get any answer. Do
  12444. you have to set each modem signal or what?
  12445. Does anyone know of any boards that have vax source code?
  12446. I wrote to DECUS but haven't heard anything.
  12447. >>>>>>>james<<<<<<<<
  12448. ---------------
  12449.  
  12450.    conf: PROGRAMMING LANGUAGES  #5830  07-29-88  20:29  (Read 102 times)
  12451.    from: JEFF FRENCH
  12452.      to: ALL
  12453. subject: C DATABASE DEVELOPMENT
  12454.  
  12455. I have a problem, hopefully someone can help...
  12456. There is a book on the market  now called 'C Database Development' by
  12457. Al Stevens.   The code in the book (and the diskette) seems to have
  12458. a problem when deleting indexes (this also includes updateing records).
  12459. If anyone else has run into the same problems, and have  any insight as
  12460. to what the problem is, you help would be greatly appreciated.   Also
  12461. the date validation routine doesn't seem to work past the 15th day of
  12462. (any) month, however this problem is easily solved.  Again, any help
  12463. would be appreciated.   I have tryed  the code with  MSC (5.1  and QC)
  12464. as well as Lattice C 3.2, and even Turbo C 1.5, I get the exact same
  12465. results.
  12466. ---------------
  12467.  
  12468.    conf: PROGRAMMING LANGUAGES  #5831  07-30-88  09:32  (Read 93 times)
  12469.    from: KEN LECLAIR
  12470.      to: ALL
  12471. subject: PRINTER CONTROL
  12472.  
  12473. Is there a source of printer control infomation? I need to write a
  12474. configration program to be included in a pascal program to allow selection
  12475. of printers or to allow a user to add a new printer. A source of printer
  12476. control information would be of help.
  12477. ---------------
  12478.  
  12479.    conf: PROGRAMMING LANGUAGES  #5836  07-31-88  11:29  (Read 99 times)
  12480.    from: GARRY PREFONTAINE
  12481.      to: ALL
  12482. subject: CLIPPER DEVELOPMENT
  12483.  
  12484. W've just switched from Quicksilver to Clipper S87 and are working on
  12485. setting up a good development environment.
  12486. Clipper programmers: what have you found to be a good HARDWARE
  12487. environment, and also , what have you found to be a good SOFTWARE
  12488. environment (Libraries, tools etc).
  12489. Would appreciate any input.
  12490. ---------------
  12491.  
  12492.    conf: PROGRAMMING LANGUAGES  #5837  07-31-88  19:33  (Read 96 times)
  12493.    from: JOHN GRANT
  12494.      to: GARRY PREFONTAINE (Rcvd)
  12495. subject: R: CLIPPER DEVELOPMENT  Reply to #5836
  12496.  
  12497. I wonder if you could somewhat expound on your decision to switch?
  12498.   
  12499. A short time ago, I recall seeing you talking about setting up the perfect
  12500. QS BBS (or was it dBASE).  I am a QS user and am interested in your ideas.
  12501.  
  12502. >>>>>>>>>> Msg 5836 reply #1
  12503.  
  12504.    conf: PROGRAMMING LANGUAGES  #5842  08-01-88  08:52  (Read 104 times)
  12505.    from: GARRY PREFONTAINE
  12506.      to: JOHN GRANT (Rcvd)
  12507. subject: R: R: CLIPPER DEVELOPMEN  Reply to #5837
  12508.  
  12509. John, several things brought about the decision. First off - speed. There's
  12510. just no comparison. 2nd - speed of compilation. I'm still getting used to
  12511. not having to go for a walk during a compilation. Other reasons include
  12512. size of EXE files, the direction Wordtech is taking in their priorities,
  12513. 3rd party products and libraries, use of MS C instead of Lattice.
  12514. Also, menu creation is very simple. And I've been able to easily
  12515. emulate the windows - which was my one BIG reason for staying with
  12516. QS. The other major reason was an interpretive environment - but with
  12517. the speed of Clipper compilation its just not a problem. I haven't found
  12518. anything to take more than 45 seconds to compile - and that's in the
  12519. 10,000 lines of code range.
  12520. I did, by the way, put together a pretty big library - but most of it
  12521. was Clipper related - there just wasn't that much out there for QS.
  12522. I'm looking for a BBS to put it - about 8-10 megs worth - on.
  12523.  
  12524. >>>>>>>>>> Msg 5836 reply #2
  12525.  
  12526.    conf: PROGRAMMING LANGUAGES  #5879  08-06-88  15:28  (Read 98 times)
  12527.    from: JOHN WALLACE
  12528.      to: GARRY PREFONTAINE (Rcvd)
  12529. subject: R: CLIPPER DEVELOPMENT  Reply to #5836
  12530.  
  12531.      cc: JOHN GRANT
  12532.  
  12533. Garry,
  12534.   I don't want to start a "this product versus that product" debate,
  12535. but I am interested in your observations of QuickSilver versus
  12536. Clipper.  While I didn't do extensive research into the two, I just
  12537. bought QS and dBXL 1.2c as an investment into breaking into a little
  12538. moonlighting commercial programming.  The long compile times of QS
  12539. don't bother me because I develop under dBXL, and the size of the
  12540. EXE files don't concern me because of the prevalence of 640K machines.
  12541. I had thought that WordTech added enough extras to make it attractive,
  12542. plus I found the pair cheaper than a dB3+/Clipper combo.  I compiled
  12543. one DB3 application for a friend who had the Clipper file, and got
  12544. (qualitative...not quantitative) favorable comments back regarding
  12545. execution times.  I'm particularly interested in your comments
  12546. because you have switched camps...was that completely your decision?
  12547.   Incidently, what does the market for "vanilla" data base applications
  12548. look like?  I live about 100 miles north of Milwaukee and am trying
  12549. to get something going on a part time basis.  Any comments, or
  12550. directions to an appropriate forum, would be appreciated.
  12551.   John Wallace
  12552.  
  12553.  
  12554. >>>>>>>>>> Msg 5836 reply #3
  12555.  
  12556.    conf: PROGRAMMING LANGUAGES  #5882  08-07-88  07:45  (Read 96 times)
  12557.    from: GARRY PREFONTAINE
  12558.      to: JOHN WALLACE (Rcvd)
  12559. subject: R: R: CLIPPER DEVELOPMEN  Reply to #5879
  12560.  
  12561. JOHN, I got a lot of good mileage out of Quicksilver, and I don't mean
  12562. to say its not a totally acceptable development environment for compiled
  12563. Dbase appliations. I just happened to have the opportunity for a close look
  12564. at Clipper Summer 87 (note: I wouldn't have switched for earlier versions
  12565. of CLipper), and I felt like I could be more productive in that
  12566. environment.
  12567. A couple of points to note: I don't do multiuser, so I have no knowledge
  12568. how each product stacks up there, though QS has gotten very good reviews
  12569. in that department. And there are a couple of features in QS I miss -
  12570. notably the AUTOMEM features.
  12571. To wrap up, I don't think either Clipper or QS is a bad choice at all,
  12572. and I'm sure Foxbase users would have some convincing
  12573. arguments about that product - I understand an EXE producing version is
  12574. in testing, and if its better than QS or Clipper, I'll use it.
  12575.  
  12576. >>>>>>>>>> Msg 5836 reply #4  >>>Last msg in reply thread.
  12577. Returning to normal sequence.
  12578.  
  12579.    conf: PROGRAMMING LANGUAGES  #5838  07-31-88  21:25  (Read 98 times)
  12580.    from: CULLEN CAREY
  12581.      to: ALL
  12582. subject: PSEUDOCODE ?
  12583.  
  12584. I am currently taking a course using Psedocode for structured basic
  12585. Anyone who knows of any publication on the subject please leave me
  12586. a note. I need source materials for a class paper <ie>, history
  12587. of, origin, names,dates etc.
  12588. There is very little I can find or that be offered by my instructor.
  12589. THANKS
  12590. ---------------
  12591.  
  12592.    conf: PROGRAMMING LANGUAGES  #5839  07-31-88  21:54  (Read 98 times)
  12593.    from: RALPH KREIPLE
  12594.      to: CULLEN CAREY (Rcvd)
  12595. subject: R: PSEUDOCODE ?  Reply to #5838
  12596.  
  12597. I talked my wife into taking a programming course at MATC for basic.  She
  12598. had to get a text which I found to be excellent for teaching structure and
  12599. it does show examples of psuedocoding.  Suprisingly, the course work
  12600. frowned on the GOTO statement.
  12601.  
  12602. "Microsoft BASIC Using Modular Structure" by Julia Case Bradley
  12603.  
  12604. Ralph
  12605.  
  12606. >>>>>>>>>> Msg 5838 reply #1
  12607.  
  12608.    conf: PROGRAMMING LANGUAGES  #5840  07-31-88  23:02  (Read 101 times)
  12609.    from: CULLEN CAREY
  12610.      to: RALPH KREIPLE (Rcvd)
  12611. subject: R: R: PSEUDOCODE ?  Reply to #5839
  12612.  
  12613. Thanks Ralph, that's one more source to check then I had before.
  12614. Funny you mention frown on the dreaded GOTO...
  12615. I have to produce my work for this particular course on
  12616. an APPLE, and unlike basic for IBM, the coding doesn't
  12617. support if/then/else so most of the pseudocoding uses a lot
  12618. of goto this and goto that as an alternative..
  12619. Makes for poor programming in some cases, but  I must
  12620. stay with the structure of coding for this course..
  12621. I guess I'm spoiled with IBM basic and would
  12622. get my hand slapped in Pascal if you use it<althought you can>
  12623. Nothing personal against goto, but not every other line
  12624. Thanks again Cullen
  12625.  
  12626. >>>>>>>>>> Msg 5838 reply #2  >>>Last msg in reply thread.
  12627. Returning to normal sequence.
  12628.  
  12629.    conf: PROGRAMMING LANGUAGES  #5841  08-01-88  00:10  (Read 104 times)
  12630.    from: MIKE ANISFELD
  12631.      to: ALL
  12632. subject: SOFTWARE DEBUGGING
  12633.  
  12634. Is there such a beast as a professional free-lance software
  12635. de-bugger? Am developing a program but need experienced
  12636. debug assiatnce before I can go out to beta-test. Obviously
  12637. am willing to pay the going rate (what is the going rate?).
  12638. If you have experience and are interested, please call me
  12639. at 312/459-8480 (day/voice)
  12640. ---------------
  12641.  
  12642.    conf: PROGRAMMING LANGUAGES  #5873  08-05-88  17:06  (Read 99 times)
  12643.    from: GRANT ELLSWORTH
  12644.      to: MIKE ANISFELD
  12645. subject: R: SOFTWARE DEBUGGING  Reply to #5841
  12646.  
  12647. Mike,  While I have never heard of such a specific beast (s/w debugger), I
  12648. find that I do this frequently ..... on code developed by friends,
  12649. colleagues, and occaisional BBS'ers erquesting help.   Can you very briefly
  12650. state some particulars before I call you on my nickel?  E.g. Language,
  12651. problem / program type (Database, graphics, mixed), etc..  Leave msg in
  12652. the pvt section here if you like . ... Grant
  12653.  
  12654. >>>>>>>>>> Msg 5841 reply #1  >>>Last msg in reply thread.
  12655. Returning to normal sequence.
  12656.  
  12657.    conf: PROGRAMMING LANGUAGES  #5843  08-01-88  22:18  (Read 105 times)
  12658.    from: UWM COMPUTING
  12659.      to: ALL
  12660. subject: QBASIC DATA COLLECTION
  12661.  
  12662. Looking for another person experienced with programming of a data
  12663. collection system and Microsoft QuickBASIC (4.0).
  12664. Having some problems setting certain things up, having some
  12665. problems with the host getting locked up, etc.
  12666. Working with Computerwise TNET data collection devices.  Using
  12667. QuickBASIC as the programming language.  Prompting terminals
  12668. with certain user-definable sequences of prompts.  Capturing
  12669. prompts, writing to file.
  12670. Anyone who might be able to help?
  12671. -Mark X
  12672. ---------------
  12673.  
  12674.    conf: PROGRAMMING LANGUAGES  #5844  08-02-88  21:08  (Read 99 times)
  12675.    from: JOHN GRANT
  12676.      to: UWM COMPUTING (Rcvd)
  12677. subject: R: QBASIC DATA COLLECTIO  Reply to #5843
  12678.  
  12679. Hello, again, Mark.  Your problem sounds interesting.  Can you elaborate a
  12680. bit more?
  12681.  
  12682. >>>>>>>>>> Msg 5843 reply #1
  12683.  
  12684.    conf: PROGRAMMING LANGUAGES  #5847  08-03-88  07:58  (Read 96 times)
  12685.    from: UWM COMPUTING
  12686.      to: JOHN GRANT (Rcvd)
  12687. subject: R: R: QBASIC DATA COLLEC  Reply to #5844
  12688.  
  12689. Yes, John.  Can I give you a call?  Either leave an address or
  12690. phone # on the service today, or if I haven't received one in
  12691. a couple days, I'll EMAIL you a (ho-hum) lengthy description of
  12692. the system I'm trying to develop for a local business (at which
  12693. a friend of mine is employed).
  12694. Thx for reply.
  12695. -Mark
  12696.  
  12697. >>>>>>>>>> Msg 5843 reply #2
  12698.  
  12699.    conf: PROGRAMMING LANGUAGES  #5848  08-03-88  18:14  (Read 91 times)
  12700.    from: PHIL HILL
  12701.      to: UWM COMPUTING (Rcvd)
  12702. subject: R: QBASIC DATA COLLECTIO  Reply to #5843
  12703.  
  12704. Mark,
  12705. I recently worked on a project that *might* be similar -- a QB4
  12706. program for a client to autodial a local credit bureau, log on,
  12707. send a request for info on a particular person (name, address, SSN),
  12708. and then download a credit report.  I, too, had some seemingly
  12709. unexplainable problems until I persuaded MS to send me version 4.00b
  12710. of QuickBASIC.  All has been working well since.  Are you using
  12711. the "b" version?   Phil Hill
  12712.  
  12713. >>>>>>>>>> Msg 5843 reply #3
  12714.  
  12715.    conf: PROGRAMMING LANGUAGES  #5849  08-03-88  20:37  (Read 86 times)
  12716.    from: UWM COMPUTING
  12717.      to: PHIL HILL (Rcvd)
  12718. subject: R: R: QBASIC DATA COLLEC  Reply to #5848
  12719.  
  12720. Phil-
  12721.  
  12722. No, I don't think our projects are similar (boy, my description must
  12723. be vague).  Yes I am using the 4.00b version and it did clear up a
  12724. couple of the problems but not all of them - still I get hung up on
  12725. improperly CLOSED COM port- forced to reset system often.
  12726.  
  12727. Thanks.  Mark X.
  12728.  
  12729. >>>>>>>>>> Msg 5843 reply #4
  12730.  
  12731.    conf: PROGRAMMING LANGUAGES  #5861  08-04-88  18:05  (Read 93 times)
  12732.    from: PHIL HILL
  12733.      to: UWM COMPUTING (Rcvd)
  12734. subject: R: R: QBASIC DATA COLLEC  Reply to #5849
  12735.  
  12736. Mark,
  12737. Where I thought that they might be similar was in the area of
  12738. automatically establishing/maintaining the connection and the
  12739. need to take proper actions based on varied prompts from the
  12740. other end.
  12741.  
  12742. I must admit that I really don't have a clear picture of what
  12743. your system is doing, so I can't even guess what might be causing
  12744. it to hang.  Since you are using 4.00b, I imagine that you've been
  12745. talking to a tech at MS - but just in case:  They told me that
  12746. QB was very prone to framing errors (data and stop bits getting
  12747. "out of sync").  Their recommended solution was a routine to close
  12748. and then reopen the comm port when the error occurs, and this has
  12749. worked extremely well for me.   PH
  12750.  
  12751. >>>>>>>>>> Msg 5843 reply #5
  12752.  
  12753.    conf: PROGRAMMING LANGUAGES  #5863  08-04-88  21:48  (Read 97 times)
  12754.    from: UWM COMPUTING
  12755.      to: PHIL HILL (Rcvd)
  12756. subject: R: R: QBASIC DATA COLLEC  Reply to #5861
  12757.  
  12758. Phil-
  12759. Thanks for the suggestion.  I will try such a routine.  I keep getting
  12760. hung up.  Also, I frequently get the message:"String space corrupt"
  12761. and also "Internal error:pool segments depleted".  Any ideas?
  12762.  
  12763. >>>>>>>>>> Msg 5843 reply #6
  12764.  
  12765.    conf: PROGRAMMING LANGUAGES  #5874  08-05-88  23:39  (Read 96 times)
  12766.    from: PHIL HILL
  12767.      to: UWM COMPUTING (Rcvd)
  12768. subject: R: R: QBASIC DATA COLLEC  Reply to #5863
  12769.  
  12770. Well, I hesitate to even speculate without knowing more about the
  12771. circumstances, but I do know that "String space corrupt" errors are
  12772. frequently caused by problems with arrays.  QuickBASIC can be
  12773. "quirky" in its array-handling and not always consistent between
  12774. the environment and bc.  PH
  12775.  
  12776. >>>>>>>>>> Msg 5843 reply #7
  12777.  
  12778.    conf: PROGRAMMING LANGUAGES  #5877  08-06-88  10:07  (Read 98 times)
  12779.    from: UWM COMPUTING
  12780.      to: PHIL HILL (Rcvd)
  12781. subject: R: R: QBASIC DATA COLLEC  Reply to #5874
  12782.  
  12783. Thanks,
  12784. Phil Hill from Gainseville!
  12785. I am about halfwaythru development, and my arrays need work anyway.
  12786. I'll see if I can't scare some knowledgable support out of Micro
  12787. Soft.
  12788.  
  12789. MarkX
  12790.  
  12791. >>>>>>>>>> Msg 5843 reply #8  >>>Last msg in reply thread.
  12792. Returning to normal sequence.
  12793.  
  12794.    conf: PROGRAMMING LANGUAGES  #5850  08-03-88  22:18  (Read 87 times)
  12795.    from: UWM COMPUTING
  12796.      to: ALL
  12797. subject: QBASIC VARIABLE PROB.
  12798.  
  12799. This is a weird one folks...
  12800.  
  12801. I have a program that uses the COM1 port.  Actually, the user can
  12802. set up the port he/she wants by the use of a configuration file
  12803. that goes along with my system.  Problem is, that whenever I go
  12804. into my source code and try to run it from the integrated environ-
  12805. ment, the variable PORT$ (which I use to hold the port spec from the
  12806. user such as COM1: or COM2:, etc.) gets zapped, and all Im left with
  12807. is just the $.  The program then bombs with some message saying
  12808. "expecting variable name" or "expecting end of statment" or whatever.
  12809. Then I have to go from error to error and type in PORT again.
  12810.  
  12811. Not a serious problem,but a confusing one and perhaps a potentially
  12812. interesting one...  Note also that I have QB 4.00b, the maintenance
  12813. release.
  12814.  
  12815. -MARK X
  12816. ---------------
  12817.  
  12818.    conf: PROGRAMMING LANGUAGES  #5855  08-04-88  05:55  (Read 90 times)
  12819.    from: CHARLES PERRIN
  12820.      to: UWM COMPUTING (Rcvd)
  12821. subject: R: QBASIC VARIABLE PROB.  Reply to #5850
  12822.  
  12823. No, do NOT call it PORT$ -- that is "P OR T$" and it is probably trying
  12824. to parse it as that!!!!
  12825.  
  12826. >>>>>>>>>> Msg 5850 reply #1
  12827.  
  12828.    conf: PROGRAMMING LANGUAGES  #5859  08-04-88  12:23  (Read 95 times)
  12829.    from: UWM COMPUTING
  12830.      to: CHARLES PERRIN (Rcvd)
  12831. subject: R: R: QBASIC VARIABLE PR  Reply to #5855
  12832.  
  12833. I knew it was something dumb like that...
  12834. Or as Arte Johnson might say, "Very interesting... but STUPID!"
  12835. thanks.  I've already renamed it but was interested in the
  12836. REASON I HAD TO!
  12837.  
  12838. Mark X
  12839.  
  12840. >>>>>>>>>> Msg 5850 reply #2  >>>Last msg in reply thread.
  12841. Returning to normal sequence.
  12842.  
  12843.    conf: PROGRAMMING LANGUAGES  #5853  08-04-88  04:26  (Read 83 times)
  12844.    from: JONCARL MITCHELL
  12845.      to: ALL
  12846. subject: HEX CALCULATOR
  12847.  
  12848. I need a program that will give me hex to decimal converstion like the
  12849. following :
  12850. I put in F670 in Hex and the program returns 63088.
  12851. I need one as soon as possible . Even if I have to buy one.
  12852. JOncarl
  12853. ---------------
  12854.  
  12855.    conf: PROGRAMMING LANGUAGES  #5857  08-04-88  07:48  (Read 92 times)
  12856.    from: STEVEN KEY
  12857.      to: JONCARL MITCHELL (Rcvd)
  12858. subject: R: HEX CALCULATOR  Reply to #5853
  12859.  
  12860. Joncarl,
  12861.  
  12862. If all else fails, download one of the Forth interpreters from the board.
  12863. In Forth, the base of the numerical display routines is programable.  In
  12864. most Forth's you can do this for quick conversions:
  12865.  
  12866.     type in the number ( decimal base is start up default.)
  12867.     change the display base ( most forths have the word HEX to change.)
  12868.     type in a period - "." without the quotes.  This displays the number.
  12869.     if you have another number, go back to base 10 before typing in. Most
  12870.          Forths have the word DECIMAL to do that.
  12871.  
  12872.     If you need base 3 or 11 numbers, just type in 3 BASE ! or 11 BASE ! to
  12873.     change the current number base - You'll have to be in base 10 to type
  12874.     in 11 BASE ! to get the right 11 of course.
  12875.  
  12876. You could also write a short colon definition to input a base 10 number and
  12877. display it in hex.  If believe this would work on any F83 compatible
  12878. system:
  12879.  
  12880.    : HEXIT  #IN HEX . DECIMAL ;
  12881.  
  12882. Steve
  12883.  
  12884. >>>>>>>>>> Msg 5853 reply #1
  12885.  
  12886.    conf: PROGRAMMING LANGUAGES  #5865  08-04-88  23:00  (Read 92 times)
  12887.    from: TOM FELLER
  12888.      to: JONCARL MITCHELL (Rcvd)
  12889. subject: R: HEX CALCULATOR  Reply to #5853
  12890.  
  12891. I could do it in about 5 min in C.
  12892.  
  12893. >>>>>>>>>> Msg 5853 reply #2
  12894.  
  12895.    conf: PROGRAMMING LANGUAGES  #5866  08-04-88  23:31  (Read 90 times)
  12896.    from: TOM FELLER
  12897.      to: JONCARL MITCHELL (Rcvd)
  12898. subject: R: HEX CALCULATOR  Reply to #5853
  12899.  
  12900. /* here it is */
  12901.  
  12902.  
  12903.  
  12904. #include <stdio.h>
  12905.  
  12906. main( )
  12907. {
  12908.    char buff[20];
  12909.    long int i;
  12910.  
  12911.    printf("Input the hex number to convert to decimal ->");
  12912.    gets(buff);
  12913.    sscanf(buff, "%lx", &i);
  12914.    printf("The result is %ld", i);
  12915. }
  12916.  
  12917. I will upload the program with the name hex.exe in the file section
  12918. -Tom Feller-
  12919.  
  12920. >>>>>>>>>> Msg 5853 reply #3
  12921.  
  12922.    conf: PROGRAMMING LANGUAGES  #5870  08-05-88  13:32  (Read 96 times)
  12923.    from: JONCARL MITCHELL
  12924.      to: STEVEN KEY (Rcvd)
  12925. subject: R: R: HEX CALCULATOR  Reply to #5857
  12926.  
  12927. Well Dave Oconner gave me a lead on a Casio Cm-1100 pocket caculator and it
  12928. works great.
  12929. Thanks any way.
  12930. Joncarl
  12931.  
  12932. >>>>>>>>>> Msg 5853 reply #4
  12933.  
  12934.    conf: PROGRAMMING LANGUAGES  #5871  08-05-88  13:33  (Read 98 times)
  12935.    from: JONCARL MITCHELL
  12936.      to: TOM FELLER (Rcvd)
  12937. subject: R: R: HEX CALCULATOR  Reply to #5865
  12938.  
  12939. Tom,
  12940. Thanks anyway but I picked up a pocket cacluator that has this option on
  12941. it.
  12942. JOncarl
  12943.  
  12944. >>>>>>>>>> Msg 5853 reply #5
  12945.  
  12946.    conf: PROGRAMMING LANGUAGES  #5872  08-05-88  13:35  (Read 96 times)
  12947.    from: JONCARL MITCHELL
  12948.      to: TOM FELLER (Rcvd)
  12949. subject: R: R: HEX CALCULATOR  Reply to #5866
  12950.  
  12951. Tom,
  12952.  I'll give it a try and then I can also use it with out pulling out the
  12953. caculator when I'm at my computer.
  12954. Thanks JOncarl
  12955.  
  12956. >>>>>>>>>> Msg 5853 reply #6  >>>Last msg in reply thread.
  12957. Returning to normal sequence.
  12958.  
  12959.    conf: PROGRAMMING LANGUAGES  #5858  08-04-88  10:44  (Read 97 times)
  12960.    from: SCOTT CHAMBERLAIN
  12961.      to: ALL
  12962. subject: ROM MYSTERY!
  12963.  
  12964. To all you low-level geniuses out there, or owners of Leading Edge Model
  12965. M's, please read message #25446 with the same title as this one in the IBM
  12966. General Board.
  12967.  
  12968. Thanks,
  12969.    Scott
  12970. ---------------
  12971.  
  12972.    conf: PROGRAMMING LANGUAGES  #5860  08-04-88  16:30  (Read 99 times)
  12973.    from: UWM COMPUTING
  12974.      to: ALL
  12975. subject: QBASIC INTERNAL ERR
  12976.  
  12977. Can anyone explain to me why I keep getting "Internal error - pool
  12978. segments depleted" and "String space corrupt" messages followed
  12979. by system hangup?  I have a QB communications program (and YES
  12980. I DO HAVE the 4.00b maintenance release of QB).
  12981. Thanx.
  12982. Mark
  12983. ---------------
  12984.  
  12985.    conf: PROGRAMMING LANGUAGES  #5862  08-04-88  19:05  (Read 98 times)
  12986.    from: CHARLES PERRIN
  12987.      to: UWM COMPUTING (Rcvd)
  12988. subject: R: QBASIC INTERNAL ERR  Reply to #5860
  12989.  
  12990. Is there any assembly language routines in your code?
  12991. It sounds like they are clobbering areas outside where they
  12992. should be!
  12993.  
  12994. >>>>>>>>>> Msg 5860 reply #1
  12995.  
  12996.    conf: PROGRAMMING LANGUAGES  #5864  08-04-88  21:51  (Read 97 times)
  12997.    from: UWM COMPUTING
  12998.      to: CHARLES PERRIN (Rcvd)
  12999. subject: R: R: QBASIC INTERNAL ER  Reply to #5862
  13000.  
  13001. Charles-
  13002.  
  13003. No, I am not using any assembly language subprograms, but
  13004. I AM using a couple interrupt calls...  One to scroll the
  13005. information displayed on the host monitor and one to search
  13006. the disk space.  Could these interrupts be the prob?
  13007.  
  13008. -Mark X
  13009.  
  13010. >>>>>>>>>> Msg 5860 reply #2
  13011.  
  13012.    conf: PROGRAMMING LANGUAGES  #5867  08-05-88  05:30  (Read 96 times)
  13013.    from: CHARLES PERRIN
  13014.      to: UWM COMPUTING (Rcvd)
  13015. subject: R: R: QBASIC INTERNAL ER  Reply to #5864
  13016.  
  13017. ANY interrupt can be a problem....
  13018.  
  13019. >>>>>>>>>> Msg 5860 reply #3
  13020.  
  13021.    conf: PROGRAMMING LANGUAGES  #5868  08-05-88  07:02  (Read 94 times)
  13022.    from: UWM COMPUTING
  13023.      to: CHARLES PERRIN (Rcvd)
  13024. subject: R: R: QBASIC INTERNAL ER  Reply to #5867
  13025.  
  13026. If I EMAILed you the specific interrupts I am using in the source
  13027. (there's only a few lines of code involved here), could you help
  13028. define the problem?
  13029.  
  13030. I should also mention that the code "compiles" fine and works well
  13031. (except for the post-run hangups) when I run it in the QB enviroment
  13032. but when I compile it from the outside, the .EXE hangs up immediately,
  13033. with the first COM port input.
  13034.  
  13035. Well, whatchoo think? Could you perhaps lend a hand in this regard?
  13036.  
  13037. -Mark X
  13038.  
  13039. >>>>>>>>>> Msg 5860 reply #4  >>>Last msg in reply thread.
  13040. Returning to normal sequence.
  13041.  
  13042.    conf: PROGRAMMING LANGUAGES  #5869  08-05-88  07:06  (Read 98 times)
  13043.    from: STEPHEN HUENERS
  13044.      to: ALL
  13045. subject: PROGRAM LISTER
  13046.  
  13047. I need a way to print listings of WordPerfect 5.0 macros.
  13048. I guess these areanary files and have been told that a
  13049. "program lister" is what I want.  Can someone direct me to
  13050. such a facility in the (F)iles section.
  13051.                        Thanks very much
  13052. ---------------
  13053.  
  13054.    conf: PROGRAMMING LANGUAGES  #5875  08-06-88  05:24  (Read 98 times)
  13055.    from: ROBERT WELKER
  13056.      to: ALL
  13057. subject: TURBO BASIC
  13058.  
  13059. I'm in the market to buy a compiled basic language. QB4 seems to have a lot
  13060. more fans that TB. Could someone educate me just why that is (what does QB
  13061. offer that TB doesn't, etc)?
  13062.  
  13063. Bob
  13064. ---------------
  13065.  
  13066.    conf: PROGRAMMING LANGUAGES  #5876  08-06-88  05:38  (Read 97 times)
  13067.    from: CHARLES PERRIN
  13068.      to: ROBERT WELKER (Rcvd)
  13069. subject: R: TURBO BASIC  Reply to #5875
  13070.  
  13071. (1) Better debugger
  13072. (2) Run-time module (cuts about 20K out of each .EXE file at the cost of
  13073.                      carrying around an 80K file.)
  13074. (3) 150,000 LPM compile speed
  13075. (4) Microsoft marketing
  13076.  
  13077. >>>>>>>>>> Msg 5875 reply #1
  13078.  
  13079.    conf: PROGRAMMING LANGUAGES  #5894  08-09-88  00:04  (Read 94 times)
  13080.    from: ROBERT WELKER
  13081.      to: CHARLES PERRIN (Rcvd)
  13082. subject: R: R: TURBO BASIC  Reply to #5876
  13083.  
  13084. Thanks for your reply, Charles ... I guess the only question in my mind is
  13085. does Borland plan to continue the compiled basic wars, or accede to QB and
  13086. MicroSoft? ...(at this point, I'll be buying QB4.....) Thanks again,
  13087. Bob
  13088.  
  13089. >>>>>>>>>> Msg 5875 reply #2
  13090.  
  13091.    conf: PROGRAMMING LANGUAGES  #5898  08-09-88  02:39  (Read 96 times)
  13092.    from: CHARLES PERRIN
  13093.      to: ROBERT WELKER (Rcvd)
  13094. subject: R: R: TURBO BASIC  Reply to #5894
  13095.  
  13096. I suspect that both of them will keep firing volleys up and down the West
  13097. Coast as there is a market out there for both of them.  (Although Borland
  13098. is going to have to learn how to debug, although there are those who think
  13099. PRINT, printf, etc. are acceptable debugging tools.  I want to use
  13100. something better than the mainframes I work on at work at home.....)
  13101.  
  13102. >>>>>>>>>> Msg 5875 reply #3
  13103.  
  13104.    conf: PROGRAMMING LANGUAGES  #5906  08-09-88  19:28  (Read 96 times)
  13105.    from: JOE VINCENT
  13106.      to: CHARLES PERRIN (Rcvd)
  13107. subject: R: R: TURBO BASIC  Reply to #5898
  13108.  
  13109. Borland will be releasing a generic debugger AND an assembler, addressing
  13110. two of their shortcomings when compared to MS.  Haven't had the first peep
  13111. from Borland about TB since I acquired it, right after it came out.  I
  13112. guess that means TB has bug-free code and, in its first incarnation, was so
  13113. perfect as to require no updating.
  13114.  
  13115. >>>>>>>>>> Msg 5875 reply #4
  13116.  
  13117.    conf: PROGRAMMING LANGUAGES  #5927  08-10-88  23:26  (Read 88 times)
  13118.    from: ROBERT WELKER
  13119.      to: CHARLES PERRIN (Rcvd)
  13120. subject: R: R: TURBO BASIC  Reply to #5898
  13121.  
  13122. Charles,
  13123. Thanks for your comments about QB and TB - I'll keep them in mind when
  13124. making the final purchase decision (which'll have to be soon - interpreted
  13125. BASICdrives me nuts ... ).
  13126. Bob
  13127.  
  13128. >>>>>>>>>> Msg 5875 reply #5  >>>Last msg in reply thread.
  13129. Returning to normal sequence.
  13130.  
  13131.    conf: PROGRAMMING LANGUAGES  #5878  08-06-88  14:20  (Read 90 times)
  13132.    from: RICHARD HEBEL
  13133.      to: ALL
  13134. subject: PCPAINT EGA DISPLAY PROG
  13135.  
  13136. I am looking for a BASIC, Pascal, or C routine which will
  13137. display PCPAINT EGA graphics pictures.  The PCPAINT files
  13138. are the file.pic type of files.  The graphics type is
  13139. 640 x 350 x 16color.  Much thanks in advance if you can
  13140. help.  PS i've got a CGA routine you can have.
  13141. ---------------
  13142.  
  13143.    conf: PROGRAMMING LANGUAGES  #5880  08-06-88  22:25  (Read 92 times)
  13144.    from: THOMAS ATKINSON
  13145.      to: RICHARD HEBEL (Rcvd)
  13146. subject: R: PCPAINT EGA DISPLAY P  Reply to #5878
  13147.  
  13148. I am not 100% sure on this.  Today i did a scan in Mahoney on 'PASCAL,
  13149. TURBO, TP3, TP4',  i think i saw something in the area you mentioned. It
  13150. takes a long time to do this scan.  The new Exec system will be a flash
  13151. compared to what i went through with that scan.
  13152.  
  13153. >>>>>>>>>> Msg 5878 reply #1
  13154.  
  13155.    conf: PROGRAMMING LANGUAGES  #5881  08-07-88  00:56  (Read 92 times)
  13156.    from: RICHARD HEBEL
  13157.      to: THOMAS ATKINSON (Rcvd)
  13158. subject: R: R: PCPAINT EGA DISPLA  Reply to #5880
  13159.  
  13160. It's worth a try...  I'm desperate!  Seems like the sort of thing
  13161. that ought to exist somewhere.  Thanks...
  13162.  
  13163. >>>>>>>>>> Msg 5878 reply #2
  13164.  
  13165.    conf: PROGRAMMING LANGUAGES  #5884  08-07-88  13:49  (Read 91 times)
  13166.    from: WILLIAM BIRD
  13167.      to: RICHARD HEBEL (Rcvd)
  13168. subject: R: R: PCPAINT EGA DISPLA  Reply to #5881
  13169.  
  13170. I probably wrote the program that Thomas is refering to.  I
  13171. think the name is loadpic.arc.  It is written in tp 3.0 with
  13172. source.  The biggest problem is that it is very slow.  I have
  13173. considered rewritting it in C but haven't done it yet.  What
  13174. exactly are you trying to do?
  13175. Have a good day....Bill
  13176.  
  13177. >>>>>>>>>> Msg 5878 reply #3
  13178.  
  13179.    conf: PROGRAMMING LANGUAGES  #5885  08-07-88  17:00  (Read 91 times)
  13180.    from: THOMAS ATKINSON
  13181.      to: RICHARD HEBEL (Rcvd)
  13182. subject: R: R: PCPAINT EGA DISPLA  Reply to #5881
  13183.  
  13184. The file i saw is titled 'LOADPIC.ARC'...
  13185.  
  13186. >>>>>>>>>> Msg 5878 reply #4
  13187.  
  13188.    conf: PROGRAMMING LANGUAGES  #5892  08-08-88  08:00  (Read 94 times)
  13189.    from: RICHARD HEBEL
  13190.      to: WILLIAM BIRD (Rcvd)
  13191. subject: R: R: PCPAINT EGA DISPLA  Reply to #5884
  13192.  
  13193. I found loadpic.arc, and it looks like it might do.  I am writing an expert
  13194. system from a shell, and I want some way of calling diagrams from the
  13195. shell. I have a large collection of PIC graphics that I don't wish to redo,
  13196. so something that will let me call these from the shell is indicated.
  13197. Thanks.
  13198.  
  13199. >>>>>>>>>> Msg 5878 reply #5  >>>Last msg in reply thread.
  13200. Returning to normal sequence.
  13201.  
  13202.    conf: PROGRAMMING LANGUAGES  #5883  08-07-88  09:12  (Read 95 times)
  13203.    from: STEVE MCCRYSTAL
  13204.      to: ALL
  13205. subject: QB RENAME
  13206.  
  13207. I have need to rename a file from a QB program. I have tried SHELL "rename
  13208. 11111.222 xxxxx.yyy" and also NAME "11111.222 AS xxxxx.yyy" and neither of
  13209. them work. I get no runtime error, but the file is not renamed aither.
  13210. Could anyone give me the correct syntax for a statement that will do it?
  13211. Sure would appreciate it.
  13212.  
  13213. Thanks,
  13214. -[Steve]-
  13215. ---------------
  13216.  
  13217.    conf: PROGRAMMING LANGUAGES  #5886  08-07-88  17:12  (Read 92 times)
  13218.    from: CHARLES PERRIN
  13219.      to: STEVE MCCRYSTAL (Rcvd)
  13220. subject: R: QB RENAME  Reply to #5883
  13221.  
  13222. It is
  13223.    NAME "111111.222" AS "XXXXXX.YYY"
  13224. according to the manual.
  13225. Page 277.
  13226. (In QB 4.0, manual 00620, updated 0987.)
  13227.  
  13228. >>>>>>>>>> Msg 5883 reply #1
  13229.  
  13230.    conf: PROGRAMMING LANGUAGES  #5887  08-07-88  20:47  (Read 93 times)
  13231.    from: STEVE MCCRYSTAL
  13232.      to: CHARLES PERRIN (Rcvd)
  13233. subject: R: R: QB RENAME  Reply to #5886
  13234.  
  13235. Charles,
  13236.  
  13237. That is the problem. I used exactly that syntax and it didn't work. I tried
  13238. adding breakpoints before and after the statement to allow me to check the
  13239. variables and the entire routine was executed but the file was not renamed.
  13240. What I am doing is:
  13241.  
  13242. check for file
  13243.    if it exists, rename it
  13244.    if not exist, create it
  13245. continue
  13246.  
  13247. The program crashes looking for the file under the new (named TO) filename.
  13248. Don't remember if I mentioned before, but SHELL "rename xxxxx.yyy
  13249. 11111.222" doesn't work either. Can't figure it out.
  13250.  
  13251. -[Steve]-
  13252.  
  13253. >>>>>>>>>> Msg 5883 reply #2
  13254.  
  13255.    conf: PROGRAMMING LANGUAGES  #5890  08-08-88  01:23  (Read 92 times)
  13256.    from: PHIL HILL
  13257.      to: STEVE MCCRYSTAL (Rcvd)
  13258. subject: R: QB RENAME  Reply to #5883
  13259.  
  13260. Steve,
  13261.  
  13262. If I correctly understand what you need to do, the following
  13263. should do it, unless the file is hidden:
  13264.  
  13265. FileNum% = FREEFILE
  13266. OPEN File1$ FOR RANDOM AS FileNum%
  13267.  
  13268. IF LOF(FileNum%) > 0 THEN
  13269.    ' It already exists, so rename it.
  13270.    CLOSE FileNum%
  13271.    NAME File1$ AS File2$
  13272. ELSE
  13273.    ' It didn't exist, but we just
  13274.    ' created it. Size is 0 bytes.
  13275.    CLOSE FileNum%
  13276. END IF
  13277.  
  13278. >>>>>>>>>> Msg 5883 reply #3
  13279.  
  13280.    conf: PROGRAMMING LANGUAGES  #5891  08-08-88  06:46  (Read 96 times)
  13281.    from: STEVE MCCRYSTAL
  13282.      to: PHIL HILL (Rcvd)
  13283. subject: R: R: QB RENAME  Reply to #5890
  13284.  
  13285. Phil,
  13286.  
  13287. Thanks for the reply. I have the logic figured out, but the file does not
  13288. get renamed by the NAME command. Everything else works OK. What surprised
  13289. me was it didn't have an error, it just didn't do anything. Then when
  13290. trying to read the new file, I get a "file not found" error.
  13291.  
  13292. -[Steve]-
  13293.  
  13294. >>>>>>>>>> Msg 5883 reply #4
  13295.  
  13296.    conf: PROGRAMMING LANGUAGES  #5920  08-10-88  21:19  (Read 81 times)
  13297.    from: JIM KOTSCHI
  13298.      to: STEVE MCCRYSTAL (Rcvd)
  13299. subject: R: QB RENAME  Reply to #5883
  13300.  
  13301. Steve;
  13302. What you need to do is utilize two string variable for the renaming
  13303. process. Filename1$ would be the [file name as it is now] FileName2$
  13304. would be the [file name as you want it to be copied as]. Here is an example
  13305. Filename1$ = "Myfile"
  13306. FileName2$ = "MyFile.Bak" 'or any other name you want to give it.
  13307. 'Then after you open the file
  13308. Name FileName1$ as fileName2$
  13309.  
  13310. I have used this approximate code several times, only I use random files
  13311. and always check to see if the filee exists first. I do this by utilizing
  13312. the Block If statements available with QB2,3,4.
  13313.  
  13314. I Hope this will be of some help to you. Let me know if it has.
  13315.  
  13316. Good luck
  13317.  
  13318. Jim
  13319.  
  13320. >>>>>>>>>> Msg 5883 reply #5
  13321.  
  13322.    conf: PROGRAMMING LANGUAGES  #5921  08-10-88  21:45  (Read 85 times)
  13323.    from: UWM COMPUTING
  13324.      to: JIM KOTSCHI (Rcvd)
  13325. subject: R: R: QB RENAME  Reply to #5920
  13326.  
  13327. Jim-
  13328.  
  13329. How do you check to see if the file exists?
  13330. I have a program that uses the CALL INT86OLD function and I want
  13331. to get rid of all interrupt usage in the prog.
  13332.   
  13333. -Mark X
  13334.  
  13335. >>>>>>>>>> Msg 5883 reply #6
  13336.  
  13337.    conf: PROGRAMMING LANGUAGES  #5930  08-11-88  01:11  (Read 85 times)
  13338.    from: PHIL HILL
  13339.      to: UWM COMPUTING (Rcvd)
  13340. subject: R: R: QB RENAME  Reply to #5921
  13341.  
  13342. Getting rid of INT86OLD sounds like a good move.  To test for the
  13343. existence of a file, try the following (after assigning the filename
  13344. to the variable File$).  ItExists% will hold the result:
  13345.  
  13346. FileNum% = FREEFILE
  13347. OPEN File$ FOR RANDOM AS FileNum%
  13348.  
  13349. IF LOF(FileNum%) > 0 THEN
  13350.    CLOSE FileNum%
  13351.    ItExists% = -1    ' TRUE
  13352. ELSE
  13353.    CLOSE FileNum%
  13354.    KILL File$
  13355.    ItExists% = 0     ' FALSE
  13356. END IF
  13357.  
  13358. >>>>>>>>>> Msg 5883 reply #7
  13359.  
  13360.    conf: PROGRAMMING LANGUAGES  #5932  08-11-88  06:31  (Read 86 times)
  13361.    from: STEVE MCCRYSTAL
  13362.      to: JIM KOTSCHI (Rcvd)
  13363. subject: R: R: QB RENAME  Reply to #5920
  13364.  
  13365. Jim,
  13366.  
  13367. That is what I presently have. On the advice of another user, I put in
  13368. almost that exact code and tried it. It didn't work! So I extracted the
  13369. code and ran it by itself. There it works and the file gets renamed. Sure
  13370. don't know why. The original code is part of a loop, so I had to 'force
  13371. feed' the variables in the stand alone code, but other than that everything
  13372. is the same.
  13373.  
  13374. I noticed the reference to opening the file in your reply. That is where
  13375. the code crashes, trying to open the RENAMED file. Are you saying I should
  13376. open the original file and THEN rename it? I'll have to try that. Thanks
  13377. for the reply, I appreciate it.
  13378.  
  13379. -[Steve]-
  13380.  
  13381. >>>>>>>>>> Msg 5883 reply #8
  13382.  
  13383.    conf: PROGRAMMING LANGUAGES  #5934  08-11-88  07:48  (Read 86 times)
  13384.    from: UWM COMPUTING
  13385.      to: PHIL HILL (Rcvd)
  13386. subject: R: R: QB RENAME  Reply to #5930
  13387.  
  13388. Thanks, Phil!
  13389. I'll give it a try.
  13390. -Mark X
  13391.  
  13392. >>>>>>>>>> Msg 5883 reply #9
  13393.  
  13394.    conf: PROGRAMMING LANGUAGES  #5936  08-11-88  16:09  (Read 91 times)
  13395.    from: JIM KOTSCHI
  13396.      to: UWM COMPUTING (Rcvd)
  13397. subject: R: R: QB RENAME  Reply to #5921
  13398.  
  13399. Mark X;
  13400.  
  13401. Here is an the exact code I used to check if a file exist. Of course
  13402. I'm not using the CALL INT86OLD function but it may work anyway.
  13403.  
  13404. NtFile=1
  13405. NtFile$="NtFile"
  13406. open Ntfile$ as NtFile len=1280
  13407. rem $include: 's:NtFields.Bas'
  13408. 'Mark my s: drive has been SUBST (a DOS command) for C:\Source
  13409. 'which is whrer we keep all of our source code. We do this for
  13410. 'because we utilize a lot of INCLUDE files.
  13411.  
  13412. Now that the file is OPENed here is how I check if it Exists.
  13413.  
  13414. if lof(NtFile)/1280 < 1 then
  13415.     locate 10,10
  13416.     print "There are no Loan-In-Process on file"
  13417.     Close
  13418.     END
  13419. End If
  13420.  
  13421. So in using a random file structure this is how we check if any records
  13422. exist in the file. If not the program closes ALL files and ends.
  13423.  
  13424. Hope this helps
  13425.  
  13426. Jim
  13427.  
  13428. >>>>>>>>>> Msg 5883 reply #10
  13429.  
  13430.    conf: PROGRAMMING LANGUAGES  #5937  08-11-88  16:17  (Read 86 times)
  13431.    from: JIM KOTSCHI
  13432.      to: STEVE MCCRYSTAL (Rcvd)
  13433. subject: R: R: QB RENAME  Reply to #5932
  13434.  
  13435. Steve;
  13436.  
  13437. In a reply to Msg. #5921 I gave Mark X an example of how we
  13438. use the opening of a file and checking if it exists. Take a look
  13439. at it once I don't know if it will help you at all.
  13440.  
  13441. Jim
  13442.  
  13443. >>>>>>>>>> Msg 5883 reply #11  >>>Last msg in reply thread.
  13444. Returning to normal sequence.
  13445.  
  13446.    conf: PROGRAMMING LANGUAGES  #5888  08-07-88  21:10  (Read 93 times)
  13447.    from: DAVE CLAY
  13448.      to: ALL
  13449. subject: MAKEFILE
  13450.  
  13451.     Can any one help me with a MS make file?
  13452.  
  13453. ******************************************************
  13454. Example #1
  13455.  
  13456.     I am trying to build a library for a QB 4.00b program using the
  13457. MAKE.EXE in MASM. Assume that TOL17L.LIB already exists.
  13458.  
  13459.                    In the "makefile" I have:
  13460.  
  13461. TOL17L.LIB:    PAGE2.OBJ PAGE3.OBJ PAGE4.OBJ PAUSE.OBJ REVIE.OBJ \
  13462.               CHANG.OBJ PAGE1.OBJ CALCU.OBJ PRNANS.OBJ MENU2.OBJ PRNTOUT.OB
  13463. J
  13464.               LIB $@ @$*.RSP, $*.LST, $@;
  13465.  
  13466.                In a seperate file by the name of TOL17L.RSP I have:
  13467.  
  13468. -+ PAGE1.OBJ&
  13469. -+ PAGE2.OBJ&
  13470. -+ PAGE3.OBJ&
  13471. -+ PAGE4.OBJ&
  13472. -+ PAUSE.OBJ&
  13473. -+ REVIE.OBJ&
  13474. -+ CHANG.OBJ&
  13475. -+ CALCU.OBJ&
  13476. -+ PRNASN.OBJ&
  13477. -+ MENU2.OBJ&
  13478. -+ PRNTOUT.OBJ
  13479.                  The error message says "Cannot load responce file."
  13480.  
  13481. *******************************************************************
  13482. Example # 2
  13483.  
  13484.               In the makefile I have:
  13485.  
  13486. TOL17L.LIB:    PAGE2.OBJ PAGE3.OBJ PAGE4.OBJ PAUSE.OBJ REVIE.OBJ \
  13487.               CHANG.OBJ PAGE1.OBJ CALCU.OBJ PRNANS.OBJ MENU2.OBJ PRNTOUT.OB
  13488. J
  13489.               LIB $@ -+ PAGE1.OBJ&
  13490.               -+ PAGE2.OBJ&
  13491.               -+ PAGE3.OBJ&
  13492.               -+ PAGE4.OBJ&
  13493.               -+ PAUSE.OBJ&
  13494.               -+ REVIE.OBJ&
  13495.               -+ CHANG.OBJ&
  13496.               -+ CALCU.OBJ&
  13497.               -+ PRNASN.OBJ&
  13498.               -+ MENU2.OBJ&
  13499.               -+ PRNTOUT.OBJ, $*.LST, $@;
  13500.  
  13501.     In this case the dumb program prompts the keyboard instead of the file.
  13502.  
  13503.                 Any help would be much appreciated. Thanks much.
  13504.                 Dave Clay
  13505.  
  13506. .
  13507.  
  13508. ---------------
  13509.  
  13510.    conf: PROGRAMMING LANGUAGES  #5893  08-08-88  20:27  (Read 91 times)
  13511.    from: STEVE MCCRYSTAL
  13512.      to: PHIL HILL (Rcvd)
  13513. subject: QB RENAME
  13514.  
  13515.      cc: CHARLES PERRIN
  13516.  
  13517. Phil and Charles,
  13518.  
  13519. Most all of the examples I've seen for the NAME command have the old and
  13520. new filenames in variables, including the one Phil left. But the manual
  13521. seems to indicate that it can be declared directly in the command. In any
  13522. case, I tried compiling again tonight and the it still doesn't work. I have
  13523. included both filenames in quotes just like it shows in the manual. Any
  13524. idea why? If  you like, I can give you the exact code that fails. Sure
  13525. would appreciate a hand.
  13526.  
  13527. -[Steve]-
  13528. ---------------
  13529.  
  13530.    conf: PROGRAMMING LANGUAGES  #5897  08-09-88  02:36  (Read 89 times)
  13531.    from: CHARLES PERRIN
  13532.      to: STEVE MCCRYSTAL (Rcvd)
  13533. subject: R: QB RENAME  Reply to #5893
  13534.  
  13535. The one you typed in had too few quotes.  It is
  13536.      NAME "A" AS "B"
  13537. not
  13538.      NAME "A AS B"
  13539. as it was in the example.  Note for it to work that "A" must exist
  13540. and "B" must NOT exist....
  13541.  
  13542. >>>>>>>>>> Msg 5893 reply #1
  13543.  
  13544.    conf: PROGRAMMING LANGUAGES  #5900  08-09-88  07:03  (Read 92 times)
  13545.    from: STEVE MCCRYSTAL
  13546.      to: CHARLES PERRIN (Rcvd)
  13547. subject: R: R: QB RENAME  Reply to #5897
  13548.  
  13549. Charles,
  13550.  
  13551. Sorry about that. But the line in the program has all 4 quotes. And I even
  13552. went so far as to to assign variables to both filenames and do a NAME file1$
  13553. AS file2$ type of thing and still it doesn't work. What surprised me is
  13554. that there is no error, either from the syntax checking or at runtime. The
  13555. first file does exist and the second one does not. Wierd...
  13556.  
  13557. -[Steve]-
  13558.  
  13559. >>>>>>>>>> Msg 5893 reply #2
  13560.  
  13561.    conf: PROGRAMMING LANGUAGES  #5907  08-09-88  20:40  (Read 88 times)
  13562.    from: PHIL HILL
  13563.      to: STEVE MCCRYSTAL (Rcvd)
  13564. subject: R: QB RENAME  Reply to #5893
  13565.  
  13566. It doesn't sound like your code is at fault.  Does the rename
  13567. fail if you compile and run just the offending fragment?
  13568.  
  13569. For what it's worth, QB appears to rename via Function 56H of
  13570. INT 21H.  Do you make any calls to 21H with CALL INTERRUPT, or
  13571. do you think there's any chance that a tsr or device driver is
  13572. getting in the way?  Or maybe an anti-virus "vaccine"?    PH
  13573.  
  13574. >>>>>>>>>> Msg 5893 reply #3
  13575.  
  13576.    conf: PROGRAMMING LANGUAGES  #5910  08-09-88  21:33  (Read 91 times)
  13577.    from: STEVE MCCRYSTAL
  13578.      to: PHIL HILL (Rcvd)
  13579. subject: R: R: QB RENAME  Reply to #5907
  13580.  
  13581. Phil,
  13582.  
  13583. I don't even know what CALL INTERRupt does! Not really, but, no, I am not
  13584. using it. Not a 'vaccine' either. But possibly a tsr. I'll try to boot from
  13585. a nude DOS disk and see what happens. Thanks for the suggestion. Never
  13586. thought of it. But this is the only thing I've found that doesn't work from
  13587. QB, that and SHELL which I also tried to use to rename the file. I'll let
  13588. you know what I find. Thanks again...
  13589.  
  13590. -[Steve]-
  13591.  
  13592. >>>>>>>>>> Msg 5893 reply #4
  13593.  
  13594.    conf: PROGRAMMING LANGUAGES  #5947  08-11-88  22:13  (Read 81 times)
  13595.    from: THOMAS ATKINSON
  13596.      to: STEVE MCCRYSTAL (Rcvd)
  13597. subject: R: R: QB RENAME  Reply to #5900
  13598.  
  13599. I seem to remember a similar problem that was due to either my command.com
  13600. being hidden, maybe it was read only, it had something to do with
  13601. command.com though. Good help hey...
  13602.  
  13603. >>>>>>>>>> Msg 5893 reply #5  >>>Last msg in reply thread.
  13604. Returning to normal sequence.
  13605.  
  13606.    conf: PROGRAMMING LANGUAGES  #5895  08-09-88  00:33  (Read 93 times)
  13607.    from: DAVE KOCOL
  13608.      to: ALL
  13609. subject: TURBO PASCAL SCHOOLS
  13610.  
  13611.      cc: SYSOP
  13612.      cc: MARK TELLIER
  13613.      cc: PHIL KATZ
  13614.      cc: JUDY GETTS
  13615.  
  13616. Help,
  13617.  
  13618. As a novice (begining) programmer, I am enjoying playing with Turbo Pascal.
  13619. As I plod along, I can't help but think that my time would be far better
  13620. utilized if I could take a course somewhere. My question is where in the
  13621. Milwaukee area can one learn the finer points of Turbo Pascal, that the
  13622. V.A. will recognize as an institution of higher learning. If anyone has
  13623. taken such a course, I would appreciate knowing the details.
  13624.  
  13625. Thanks,
  13626.  
  13627. Dave
  13628. ---------------
  13629.  
  13630.    conf: PROGRAMMING LANGUAGES  #5899  08-09-88  07:01  (Read 95 times)
  13631.    from: MARK TELLIER (LEADER)
  13632.      to: DAVE KOCOL (Rcvd)
  13633. subject: R: TURBO PASCAL SCHOOLS  Reply to #5895
  13634.  
  13635. Dave,
  13636.  
  13637. I have a couple of suggestions for you to check out.  First, MSOE has a
  13638. programming class for 'C' and Pascal in one 12 week quarter.  You'll get to
  13639. see both languages.  However, it does make for a fairly rushed coverage of
  13640. the two languages in that amount of time.
  13641.  
  13642. I believe that UWM-EXT offers a class in Pascal Programming.  I took the
  13643. class something like 6 to 8 years back.  It was "fair" in covering the
  13644. topics of Pascal.
  13645.  
  13646. I'm sure that UWM offers a regular (for credit) class as part of the
  13647. Computer Science department offerings, as well as Marquette U.  You would
  13648. have to call and check on these.
  13649.  
  13650. Hope this helps.
  13651.  
  13652. - mwt -
  13653.  
  13654. >>>>>>>>>> Msg 5895 reply #1
  13655.  
  13656.    conf: PROGRAMMING LANGUAGES  #5901  08-09-88  16:20  (Read 98 times)
  13657.    from: ANDY WHITCROFT
  13658.      to: DAVE KOCOL (Rcvd)
  13659. subject: R: TURBO PASCAL SCHOOLS  Reply to #5895
  13660.  
  13661. Dear Dave,
  13662.      Try Cardinal Stritch College, they sometimes offer a pascal
  13663. programming course that uses turbo or UCSD pascal, depending on hardware
  13664. you have. There number is (414) 352-5400.
  13665.      Dr Kasum is the head of the Math/Comp Sci dept, and can tell you exact
  13666. details, but be warned he is next to impossible to get hold of!
  13667.                   andy.
  13668.  
  13669. >>>>>>>>>> Msg 5895 reply #2
  13670.  
  13671.    conf: PROGRAMMING LANGUAGES  #5978  08-13-88  20:07  (Read 88 times)
  13672.    from: CHRISTOPHER OTTO
  13673.      to: MARK TELLIER (LEADER) (Rcvd)
  13674. subject: R: R: TURBO PASCAL SCHOO  Reply to #5899
  13675.  
  13676. ....However, almost every regular course offered by UWM's College of
  13677. Engineering is closed to everyone not enrolled as an engineering degree
  13678. candidate. Special students are not welcome.
  13679.  
  13680. (Budget cuts are really killing that school....)
  13681.  
  13682. >>>>>>>>>> Msg 5895 reply #3  >>>Last msg in reply thread.
  13683. Returning to normal sequence.
  13684.  
  13685.    conf: PROGRAMMING LANGUAGES  #5896  08-09-88  00:50  (Read 95 times)
  13686.    from: THOMAS BASHORE
  13687.      to: ALL
  13688. subject: TURBO PASCAL
  13689.  
  13690. I need some info on making my T. Pascal program memory resident.  Anyone
  13691. know of a good program to aid me in this subject.  I have tried a program
  13692. called LDRES.com but could not get it to run correctly.
  13693. ---------------
  13694.  
  13695.    conf: PROGRAMMING LANGUAGES  #5902  08-09-88  17:11  (Read 109 times)
  13696.    from: LARRY RUBANKA
  13697.      to: ALL
  13698. subject: PKXARC!!!
  13699.  
  13700. can anyone direct me to a small un-archiving program which will un-arc
  13701. files created by pkarc??
  13702.  
  13703. The compression method is not particularly important (any of the techniques
  13704. supported by pkarc will be fine).\
  13705.  
  13706. The main concern is the amount of memory required by the program.  The
  13707. un-archiver must run in 58K or less.
  13708.  
  13709. This program will be run under a DOS application.
  13710.  
  13711.  
  13712. If there is any such program in the PD, please refer me to it.
  13713.  
  13714. If anyone has written such a program for sale or is willing to write one
  13715. for hire, please contact me.
  13716.  
  13717.  
  13718. Thanks,
  13719.  
  13720. Larry Rubanka
  13721. Snap-on Tools Corporation
  13722. 2801 80th. Street
  13723. Kenosha, WI 53141-1410
  13724. 1-800-328-6506  Ext# 5093
  13725. ---------------
  13726.  
  13727.    conf: PROGRAMMING LANGUAGES  #5903  08-09-88  18:38  (Read 97 times)
  13728.    from: GRANT ELLSWORTH
  13729.      to: LARRY RUBANKA (Rcvd)
  13730. subject: R: PKXARC!!!  Reply to #5902
  13731.  
  13732. Larry - try PKUNPAKJR (PKXARKJR) distributed with the PK361.exe package.
  13733. It requires less memoy than PKXARC - but I've forgotten how much it does
  13734. require.  Grant
  13735.  
  13736. >>>>>>>>>> Msg 5902 reply #1
  13737.  
  13738.    conf: PROGRAMMING LANGUAGES  #5913  08-10-88  12:32  (Read 93 times)
  13739.    from: LARRY RUBANKA
  13740.      to: PAUL ZIMMERMAN (Rcvd)
  13741. subject: R: R: PKXARC!!!  Reply to #5909
  13742.  
  13743. Thanks Paul, ARCE etc. may be just whay we need.
  13744.  
  13745. Larry Rubanka
  13746.  
  13747. >>>>>>>>>> Msg 5902 reply #2
  13748.  
  13749.    conf: PROGRAMMING LANGUAGES  #6078  08-24-88  14:28  (Read 111 times)
  13750.    from: LARRY RUBANKA
  13751.      to: PAUL ZIMMERMAN (Rcvd)
  13752. subject: R: R: PKXARC!!!  Reply to #5917
  13753.  
  13754. Thanks loads Paul, the new version of pkxarc should be a ringer.
  13755.  
  13756. Larry Rubanka
  13757.  
  13758. >>>>>>>>>> Msg 5902 reply #3  >>>Last msg in reply thread.
  13759. Returning to normal sequence.
  13760.  
  13761.    conf: PROGRAMMING LANGUAGES  #5904  08-09-88  18:54  (Read 94 times)
  13762.    from: GRANT ELLSWORTH
  13763.      to: ALL
  13764. subject: WATCOM C 6.5 - GOOD!!
  13765.  
  13766. For those that are interested in alternative to MSC 5.0/5.1, WATCOM C 6.5
  13767. looks pretty good .... very compatible with MSC 5.0.
  13768.  
  13769. Major improvement in code generation time ... what took 45 mins on 4.77 mhz
  13770. PC now takes 11 mins (compile and link === link is fast - most time is in
  13771. optimaization compile) using maximum optimization.   45 mins was WATCOM C
  13772. 6.0 time.
  13773.  
  13774. Major added functions include a good graphics utility lib set and support
  13775. for interrupt routines (but there is a "bug" --- compiler does NOT
  13776. recognize a function as an interrupt function if directly invoked via
  13777. a function call --- it fails to insert a pushf before calling the interrupt
  13778. routine --- this can be worked around via a pseudo in-line assembly
  13779. sequence coded very much like in-line machine code in turbo pascal)
  13780.  
  13781. Pure memory  oriented operations - or compute intensive functions run
  13782. faster than MSC, but those functions involving a lot of i/o to disk are
  13783. a little slower. (10 - 11%)
  13784.  
  13785. BTW MSC5.0 compiles at maximimum optimization in about 6 mins what WC6.5
  13786. takes 11 mins to do ojn  a pc w/4.77 mhz.
  13787.  
  13788. Grant
  13789. ---------------
  13790.  
  13791.    conf: PROGRAMMING LANGUAGES  #5905  08-09-88  19:04  (Read 91 times)
  13792.    from: CHARLES PERRIN
  13793.      to: GRANT ELLSWORTH (Rcvd)
  13794. subject: R: WATCOM C 6.5 - GOOD!!  Reply to #5904
  13795.  
  13796. PC Mag reviewed C compilers and rated the WATCOM compiler and the
  13797. Microsoft compilers (Quick and "Slow") as the best....
  13798.  
  13799. >>>>>>>>>> Msg 5904 reply #1
  13800.  
  13801.    conf: PROGRAMMING LANGUAGES  #5938  08-11-88  17:28  (Read 84 times)
  13802.    from: GRANT ELLSWORTH
  13803.      to: CHARLES PERRIN (Rcvd)
  13804. subject: R: R: WATCOM C 6.5 - GOO  Reply to #5905
  13805.  
  13806. Charles, PCTJ, CL , and DDJ do not agree.  PC mag's best is also 2 * best
  13807. of the others in PRICE.  And I did write, ... a good LOWER PRICED
  13808. alternative .. ...!  Grant
  13809.  
  13810. >>>>>>>>>> Msg 5904 reply #2  >>>Last msg in reply thread.
  13811. Returning to normal sequence.
  13812.  
  13813.    conf: PROGRAMMING LANGUAGES  #5911  08-10-88  01:29  (Read 94 times)
  13814.    from: PHIL KATZ
  13815.      to: ALL
  13816. subject: CRC-32
  13817.  
  13818.      cc: CHUCK FORSBERG
  13819.  
  13820. Could someone direct me to documentation or other information
  13821. on how to calculate a 32 bit CRC value?
  13822.  
  13823. >Phil>
  13824. ---------------
  13825.  
  13826.    conf: PROGRAMMING LANGUAGES  #5916  08-10-88  19:10  (Read 86 times)
  13827.    from: PAUL ZIMMERMAN
  13828.      to: PHIL KATZ (Rcvd)
  13829. subject: R: CRC-32  Reply to #5911
  13830.  
  13831. You are on the right track sending a CC to Chuck Forsberg. Look for the
  13832. Zmodem source code in C I u/led here a few months back (January or so.)
  13833. There is a table driven 32 bit CRC function in it. I forget who it was
  13834. credited too, Chuck had some help developing it, but the copyright notice
  13835. with the code says anyone can use it if they give proper credit.
  13836. Also, a Turbo Pascal 4.0 Unit for 32 bit CRC is on the board somewhere,
  13837. too. But you will probably be more interested in the C stuff...
  13838.  
  13839.                                                     Paul
  13840. (p.s. - does this mean your new file cruncher will have 32 bit CRC?
  13841. I hope so. Its about time someone did it...)
  13842.  
  13843. >>>>>>>>>> Msg 5911 reply #1
  13844.  
  13845.    conf: PROGRAMMING LANGUAGES  #5919  08-10-88  19:59  (Read 84 times)
  13846.    from: JOE VINCENT
  13847.      to: PHIL KATZ (Rcvd)
  13848. subject: R: CRC-32  Reply to #5911
  13849.  
  13850. Phil, there's a very good discussion of CRCs in "Encyclopedia of Computer
  13851. Science," Anthony Ralston and Chester L. Meek, Petrocelli/Charter.  Let me
  13852. know if this isn't what you want and I'll dig deeper into the Vincent
  13853. Library.  I have more books than I can look through tonight.
  13854.  
  13855. Gosh, Phil, why in the world would you be interested in developing your own
  13856. CRC calculation code?  ^-
  13857.  
  13858. >>>>>>>>>> Msg 5911 reply #2
  13859.  
  13860.    conf: PROGRAMMING LANGUAGES  #5924  08-10-88  21:57  (Read 83 times)
  13861.    from: PHIL KATZ
  13862.      to: PAUL ZIMMERMAN (Rcvd)
  13863. subject: R: R: CRC-32  Reply to #5916
  13864.  
  13865.      cc: PAT SHEA
  13866.  
  13867. Paul,
  13868.  
  13869. >>(p.s. - does this mean your new file cruncher will have 32 bit CRC?
  13870. >>I hope so. Its about time someone did it...)
  13871.  
  13872. Would you believe me if I said that I enjoyed calculating
  13873. CRC polynomials in my spare time??
  13874.  
  13875. In any event, Pat Shea graciously uploaded some info to my BBS
  13876. about CRC-32.  Thanks Pat!
  13877.  
  13878. >Phil>
  13879.  
  13880. >>>>>>>>>> Msg 5911 reply #3
  13881.  
  13882.    conf: PROGRAMMING LANGUAGES  #5948  08-11-88  22:17  (Read 82 times)
  13883.    from: THOMAS ATKINSON
  13884.      to: PHIL KATZ (Rcvd)
  13885. subject: R: CRC-32  Reply to #5911
  13886.  
  13887. See the source to Binkley. MSC, Zmodem mail transfers...
  13888.  
  13889. >>>>>>>>>> Msg 5911 reply #4
  13890.  
  13891.    conf: PROGRAMMING LANGUAGES  #6039  08-19-88  07:50  (Read 98 times)
  13892.    from: CHUCK FORSBERG
  13893.      to: PHIL KATZ (Rcvd)
  13894. subject: R: CRC-32  Reply to #5911
  13895.  
  13896. The C source code in rzsz.arc includes atable driven CRC-32
  13897. (Federal std CRC32 used by ZMODEM).
  13898.  
  13899. >>>>>>>>>> Msg 5911 reply #5  >>>Last msg in reply thread.
  13900. Returning to normal sequence.
  13901.  
  13902.    conf: PROGRAMMING LANGUAGES  #5914  08-10-88  18:06  (Read 85 times)
  13903.    from: UWM COMPUTING
  13904.      to: ALL
  13905. subject: QBASIC DATA COLLECTION
  13906.  
  13907. HELP WANTED
  13908. ------------
  13909. Looking for someone experienced with Microsoft QuickBASIC and loading
  13910. large, nested and multi-dimensional arrays.  Looking for experience
  13911. with data collection terminals in a manufacturing environment (or,
  13912. at least, with handling COM port input).  Must be experienced with
  13913. the use of the CALL INTERRUPT statement, and the use of registers.
  13914.  
  13915. NEED HELP FAST!  Need to get prototype of system out by second week
  13916. of September, and need someone to consult with (I'm about halfway done
  13917. with the coding, but I'm kind of stuck now).
  13918.  
  13919. Please send private mail if interested.  Thank you.
  13920.  
  13921. Mark
  13922. ---------------
  13923.  
  13924.    conf: PROGRAMMING LANGUAGES  #5915  08-10-88  18:17  (Read 85 times)
  13925.    from: UWM COMPUTING
  13926.      to: PHIL HILL (Rcvd)
  13927. subject: QBASIC CALL INTERR
  13928.  
  13929. Phil-
  13930.  
  13931. From a previous message of yours, I get the impression that you might
  13932. be able to help me.  I have a QB program that uses the CALL INT86OLD
  13933. and the CALL INTERRRUPT statements and have good reason to believe that
  13934. these statements are causing my system to hang up, issue weird messages
  13935. like "String Space Corrupt" and "Internal Error:Pool segments depleted"
  13936. and the like.
  13937. Could you possibly be of assistance?  This has really got me stressed
  13938. out lately...
  13939.  
  13940. -Mark
  13941. ---------------
  13942.  
  13943.    conf: PROGRAMMING LANGUAGES  #5928  08-11-88  00:20  (Read 82 times)
  13944.    from: PHIL HILL
  13945.      to: UWM COMPUTING (Rcvd)
  13946. subject: R: QBASIC CALL INTERR  Reply to #5915
  13947.  
  13948. Mark,
  13949.  
  13950. This latest incarnation of QB can be pretty baffling at times - but
  13951. sure, I'd be glad to help if I can.  Without some details, though, I
  13952. can't say whether I've had any useful experience in the areas that
  13953. are giving you trouble.
  13954.  
  13955. Specifically, what interrupt calls are you making, and are you using
  13956. static or dynamic arrays?  Also, I think you were discussing this a
  13957. while back - are you linking this application with db/LIB (or any
  13958. other external routines)?   PH
  13959.  
  13960. >>>>>>>>>> Msg 5915 reply #1
  13961.  
  13962.    conf: PROGRAMMING LANGUAGES  #5933  08-11-88  07:46  (Read 86 times)
  13963.    from: UWM COMPUTING
  13964.      to: PHIL HILL (Rcvd)
  13965. subject: R: R: QBASIC CALL INTERR  Reply to #5928
  13966.  
  13967. THANK YOU PHIL!
  13968. I'll get back to you with the specifics.  And yes, I am using
  13969. DB/LIB, but don't think that's my problem.
  13970.  
  13971. Mark X
  13972.  
  13973. >>>>>>>>>> Msg 5915 reply #2
  13974.  
  13975.    conf: PROGRAMMING LANGUAGES  #5939  08-11-88  18:54  (Read 83 times)
  13976.    from: PHIL HILL
  13977.      to: UWM COMPUTING (Rcvd)
  13978. subject: R: R: QBASIC CALL INTERR  Reply to #5933
  13979.  
  13980. Where db/LIB could possibly corrupt your string space is if you pass
  13981. it a near address when a far address is required - not an uncommon
  13982. problem when using dynamic arrays.  PH
  13983.  
  13984. >>>>>>>>>> Msg 5915 reply #3
  13985.  
  13986.    conf: PROGRAMMING LANGUAGES  #5942  08-11-88  20:45  (Read 83 times)
  13987.    from: UWM COMPUTING
  13988.      to: PHIL HILL (Rcvd)
  13989. subject: R: R: QBASIC CALL INTERR  Reply to #5939
  13990.  
  13991. Do you really think db/LIB is corrupting the string space?
  13992. What is the difference between near and far addresses?
  13993. I'm using arrays defined as COMMON SHARED :
  13994. AxREG%=0
  13995. bxreg%=1
  13996. cxreg%=2
  13997. dxreg%=3
  13998. flreg%=7
  13999. dim inary%(8),outary%(8)
  14000. INARY%(AXREG%)=&H4E00
  14001. INARY%(CXREG%)=0
  14002. FILE1$=FILENAME$+CHR$(0)
  14003. INARY%(DXREG%)=SADD(FILE1$)
  14004. OUTARY%(FLREG%)=0
  14005. INTNO%=&H21
  14006. CALL INT86OLD(INTNO%,VARPTR(INARY%(0)),VARPTR(OUTARY%(0))
  14007.  
  14008. Does the above make sense to you? (ax-dx,fl defined as regtype,
  14009. integer, DIMmed as share.
  14010.  
  14011. AAAARRRGH!! - I have two more such interrupts in this program I am
  14012. modifying.  Another gets a disk transer area and the third scrolls
  14013. the lines displayed on the screen.
  14014.  
  14015. Thanks.  Mark X
  14016.  
  14017. >>>>>>>>>> Msg 5915 reply #4
  14018.  
  14019.    conf: PROGRAMMING LANGUAGES  #5950  08-12-88  00:28  (Read 83 times)
  14020.    from: PHIL HILL
  14021.      to: UWM COMPUTING (Rcvd)
  14022. subject: R: R: QBASIC CALL INTERR  Reply to #5942
  14023.  
  14024. This is where it gets a bit complicated.  The array in your
  14025. example uses variables for subscripts (note that the example in
  14026. the QB manual p.88 uses constants).  Such an array is $DYNAMIC,
  14027. and requires a far address since it is located in a different
  14028. area of memory.
  14029.  
  14030. To keep this short (and to avoid making any mis-statements on a
  14031. subject that I'm not fully comfortable with), I'll refer you to
  14032. pages 32-33 and 38 in "BASIC Language Reference" and  to pages
  14033. 311-312 and 316 in "Learning and Using Microsoft QuickBASIC" (both
  14034. are manuals that come with QB4).  Note that on p.32 they admit to
  14035. the inconsistency between programs run in the environment and
  14036. exe's, but they don't really explain it.
  14037.  
  14038. Now you just need to decide when to use CALLS rather than CALL,
  14039. when to use the SEG keyword, and when it doesn't matter.  Told you
  14040. it was getting complicated!
  14041.  
  14042. Another method of dealing with this situation (that I've seen
  14043. documented elsewhere) is to change segments right before the call
  14044. and then change back:
  14045.  
  14046. DEF SEG = VARSEG(arrayname(0))
  14047. CALL function(VARPTR(arrayname(0))
  14048. DEF SEG
  14049.  
  14050. If you have any questions after reading the documentation
  14051. mentioned above, I'll *try* to clarify - or perhaps someone with
  14052. a complete command of such things will join the discussion.
  14053.  
  14054. The OPEN AS RANDOM routine can probably replace your CALL
  14055. INT86OLD example but, as a point of interest, note that VARPTR
  14056. isn't normally used here.  And as long as upward is the direction
  14057. you want to scroll, any part of the screen can easily be scrolled
  14058. with VIEW PRINT.  But I don't really understand your reference to
  14059. "disk transfer area".  Could you elaborate?   PH
  14060.  
  14061. >>>>>>>>>> Msg 5915 reply #5
  14062.  
  14063.    conf: PROGRAMMING LANGUAGES  #5953  08-12-88  07:50  (Read 86 times)
  14064.    from: UWM COMPUTING
  14065.      to: PHIL HILL (Rcvd)
  14066. subject: R: R: QBASIC CALL INTERR  Reply to #5950
  14067.  
  14068. Thanks Phil.
  14069. I was aware of VIEW PRINT, but how do I use this to print on say, line
  14070. 25 and have the previous lines move UP the screen.  Do I have to just do
  14071. an UN-LOCATEd print on that line and the rest will take care of itself
  14072. automatically?  When I LOCATE 25,1 and then print, I just print on
  14073. line 25 constantly.
  14074. -Mark X
  14075.  
  14076. >>>>>>>>>> Msg 5915 reply #6
  14077.  
  14078.    conf: PROGRAMMING LANGUAGES  #5961  08-12-88  20:32  (Read 87 times)
  14079.    from: PHIL HILL
  14080.      to: UWM COMPUTING (Rcvd)
  14081. subject: R: R: QBASIC CALL INTERR  Reply to #5953
  14082.  
  14083. The default viewport is 1 to 24, probably to maintain
  14084. compatibility with BASICA's display of function keys on
  14085. row 25.  So, just use VIEW PRINT 1 TO 25.  To scroll the
  14086. line first and leave the message on line 25, issue an
  14087. extra PRINT and end the line with a semi-colon:
  14088.  
  14089. LOCATE 25, 1: PRINT
  14090. LOCATE 25, col%: PRINT msg$;
  14091.  
  14092. >>>>>>>>>> Msg 5915 reply #7
  14093.  
  14094.    conf: PROGRAMMING LANGUAGES  #5969  08-13-88  10:22  (Read 92 times)
  14095.    from: UWM COMPUTING
  14096.      to: PHIL HILL (Rcvd)
  14097. subject: R: R: QBASIC CALL INTERR  Reply to #5961
  14098.  
  14099. Phil-
  14100. Thanks for the tip- this is what I've done.
  14101. Leave it to me to ask questions first before TRYING it myself...
  14102. Thx again.
  14103. -Mark X
  14104.  
  14105. >>>>>>>>>> Msg 5915 reply #8
  14106.  
  14107.    conf: PROGRAMMING LANGUAGES  #5972  08-13-88  13:44  (Read 90 times)
  14108.    from: PHIL HILL
  14109.      to: UWM COMPUTING (Rcvd)
  14110. subject: R: R: QBASIC CALL INTERR  Reply to #5969
  14111.  
  14112. Mark, I've just been visited by a flash from the proverbial
  14113. "light bulb", which answered my previous question regarding
  14114. your use of "disk transfer area".  Don't know why, but I hadn't
  14115. made the association with "DTA".
  14116.  
  14117. By the way, any progress on the "String space corrupt" problem?  PH
  14118.  
  14119. >>>>>>>>>> Msg 5915 reply #9
  14120.  
  14121.    conf: PROGRAMMING LANGUAGES  #5975  08-13-88  18:24  (Read 94 times)
  14122.    from: UWM COMPUTING
  14123.      to: PHIL HILL (Rcvd)
  14124. subject: R: R: QBASIC CALL INTERR  Reply to #5972
  14125.  
  14126. Phil-
  14127.  
  14128. Pass some of the light from your proverbial light bulb this way!
  14129. I don't understand this function of the code I am editing.  What
  14130. exactly is a "disk transfer area" (DTA) and what does it do?
  14131. Is this some sort of RAMdisk emulator?
  14132.  
  14133. Also, on the string space corrupt, I rewrote two of the interrupts
  14134. with common BASIC code.  The only one I have left is this stupid
  14135. disk transfer area one.  Is the CALL INT86OLD command the same as
  14136. the old CALL INT86 command?  Not really sure of how this works, or
  14137. what it does.
  14138.  
  14139. Thanks. -Mark X
  14140.  
  14141. >>>>>>>>>> Msg 5915 reply #10
  14142.  
  14143.    conf: PROGRAMMING LANGUAGES  #5977  08-13-88  20:00  (Read 93 times)
  14144.    from: PHIL HILL
  14145.      to: UWM COMPUTING (Rcvd)
  14146. subject: R: R: QBASIC CALL INTERR  Reply to #5975
  14147.  
  14148. "DTA" is nothing more than a descriptive term for a sort of
  14149. buffer that dos uses to hold info for file access.  I'm not
  14150. really all that proficient in low-level file operations, but my
  14151. guess is that if this is your only routine using CALL INT86OLD,
  14152. you probably can just delete it, since it would seem to be
  14153. superflous all by itself.  I'd have to see it in context to be
  14154. more certain, though.
  14155.  
  14156. Yes, CALL INT86OLD is more-or-less a simulation of CALL INT86
  14157. for compatibility with older versions.  CALL INTERRUPT is more
  14158. convenient, because you don't have to mess with arrays.
  14159.  
  14160. While on the subject, did you have some specific indication that
  14161. these interrupt calls were causing problems?   PH
  14162.  
  14163. >>>>>>>>>> Msg 5915 reply #11
  14164.  
  14165.    conf: PROGRAMMING LANGUAGES  #5987  08-14-88  06:31  (Read 96 times)
  14166.    from: CHARLES PERRIN
  14167.      to: PHIL HILL (Rcvd)
  14168. subject: R: R: QBASIC CALL INTERR  Reply to #5977
  14169.  
  14170.      cc: UWM COMPUTING
  14171.      cc: PHIL KATZ
  14172.      cc: NICK KEES
  14173.  
  14174. DTA is the "disk transfer area", idea stolen directly from CP/M.....
  14175. Gary Kildall should sue for "look and feel"....
  14176.  
  14177. >>>>>>>>>> Msg 5915 reply #12
  14178.  
  14179.    conf: PROGRAMMING LANGUAGES  #5991  08-14-88  12:05  (Read 97 times)
  14180.    from: UWM COMPUTING
  14181.      to: PHIL HILL (Rcvd)
  14182. subject: R: R: QBASIC CALL INTERR  Reply to #5977
  14183.  
  14184. Chances are that the interrupts were the culprits.  I got "pool segments
  14185. depleted errors" and other such silly stuff.
  14186. I don't think it's db/LIB, because that package comes with many example
  14187. source code modules that run just fine (and do a lot of the things
  14188. I'm doing in my prog.
  14189. Thanks.
  14190. -Mark X
  14191.  
  14192. >>>>>>>>>> Msg 5915 reply #13
  14193.  
  14194.    conf: PROGRAMMING LANGUAGES  #5992  08-14-88  12:07  (Read 97 times)
  14195.    from: UWM COMPUTING
  14196.      to: CHARLES PERRIN (Rcvd)
  14197. subject: R: R: QBASIC CALL INTERR  Reply to #5987
  14198.  
  14199. I had a girlfriend that once tried to sue me for "look and feel"...
  14200.  
  14201. >>>>>>>>>> Msg 5915 reply #14
  14202.  
  14203.    conf: PROGRAMMING LANGUAGES  #5995  08-14-88  15:06  (Read 93 times)
  14204.    from: PHIL HILL
  14205.      to: CHARLES PERRIN (Rcvd)
  14206. subject: R: R: QBASIC CALL INTERR  Reply to #5987
  14207.  
  14208. Agreed.  And why hasn't someone claiming to be an heir to the
  14209. estate of the original inventor of the wheel gone after some
  14210. of the floppy disk manufacturers?  PH
  14211.  
  14212. >>>>>>>>>> Msg 5915 reply #15
  14213.  
  14214.    conf: PROGRAMMING LANGUAGES  #5996  08-14-88  15:08  (Read 96 times)
  14215.    from: PHIL HILL
  14216.      to: UWM COMPUTING (Rcvd)
  14217. subject: R: R: QBASIC CALL INTERR  Reply to #5991
  14218.  
  14219. I was just curious because the calls seemed relatively harmless,
  14220. although the one for DTA could give you trouble - if the program
  14221. wasn't setting aside sufficient space in advance for the result.
  14222.  
  14223. And I agree that db/LIB probably isn't at fault.  From what I've
  14224. heard, it's a very reliable product.  I've been postponing my
  14225. purchase, but expect to be using it "real soon now" as an adjunct
  14226. to my QuickSilver programming.  How do you like it?  PH
  14227.  
  14228. >>>>>>>>>> Msg 5915 reply #16
  14229.  
  14230.    conf: PROGRAMMING LANGUAGES  #6001  08-14-88  17:38  (Read 109 times)
  14231.    from: CHARLES PERRIN
  14232.      to: PHIL HILL (Rcvd)
  14233. subject: R: R: QBASIC CALL INTERR  Reply to #5996
  14234.  
  14235.      cc: UWM COMPUTING
  14236.  
  14237. I don't think much code likes having the DTA address changed.  (They
  14238. point it and don't expect it to be changed unless the run-time does it....)
  14239.  
  14240. >>>>>>>>>> Msg 5915 reply #17
  14241.  
  14242.    conf: PROGRAMMING LANGUAGES  #6003  08-14-88  20:59  (Read 108 times)
  14243.    from: UWM COMPUTING
  14244.      to: PHIL HILL (Rcvd)
  14245. subject: R: R: QBASIC CALL INTERR  Reply to #5996
  14246.  
  14247. I like it lots.   Extremely easy to use and so far (apparently) trouble-
  14248. free.  I am recommending it for use at my 9-5, also, where I am a
  14249. Systems Analyst with Insurance agent's proposal software.
  14250.  
  14251. Haven't run any benchmarks as far as speed is concerned, but it seems
  14252. to run pretty quickly.  Comes with an entire disk of QB source code
  14253. that can be modified to create your own progs.
  14254. -Mark X
  14255.  
  14256. >>>>>>>>>> Msg 5915 reply #18  >>>Last msg in reply thread.
  14257. Returning to normal sequence.
  14258.  
  14259.    conf: PROGRAMMING LANGUAGES  #5918  08-10-88  19:28  (Read 84 times)
  14260.    from: CURTIS ABRUE
  14261.      to: CHARLES PERRIN (Rcvd)
  14262. subject: QB4
  14263.  
  14264. <Quick> question...not familiar with QB4 but someone gave me two pgms
  14265. to run and the reason they wouldn't is because they're written in
  14266. interpreted IBM BASICA.  Will QB4 compile them?
  14267. I've compiled Pascal, but not BASIC and would like to know before I
  14268. run out and get them.  Someone told me they compiled a BASICA pgm
  14269. and it ran real sloppy.  If not QB4, what else is there?
  14270. Thanks for your input.
  14271. Curt
  14272. ---------------
  14273.  
  14274.    conf: PROGRAMMING LANGUAGES  #5923  08-10-88  21:52  (Read 84 times)
  14275.    from: UWM COMPUTING
  14276.      to: CURTIS ABRUE (Rcvd)
  14277. subject: R: QB4  Reply to #5918
  14278.  
  14279. Curtis-
  14280. QB4 will compile BASICA code "as is".  The only thing you have to do
  14281. first is save the BASICA code from within the interpreter with the
  14282. /A option:  issue the command (from the interpreter):
  14283.   SAVE "progname",a
  14284. This will save the prog in the ASCII format, so that it can be read
  14285. by QB (and other word processors, etc.).  Then, you can compile it
  14286. with the BC compiler supplied with QB.  Either that, or you can first
  14287. load it into QuickBASIC (QB from the DOS prompt, then load the file with
  14288. the Alt-F L combo) and hit Shift-F5 (RUN).  This will auto-syntax check
  14289. the code, and tell you if QB doesn't like any of the code, and why.
  14290. QB also has on-line help, which will direct you to the syntax of any
  14291. commands you may need to use.
  14292. Be advised that interpreter-type commands such as SAVE and DELETE and
  14293. LOAD won't work in QB.
  14294. Notice that when you compile with QB, the size of the EXE file will be
  14295. about 18% larger than if you had compiled with the IBM Basic Compiler.
  14296. -Mark X
  14297.  
  14298. >>>>>>>>>> Msg 5918 reply #1
  14299.  
  14300.    conf: PROGRAMMING LANGUAGES  #5931  08-11-88  05:07  (Read 90 times)
  14301.    from: CHARLES PERRIN
  14302.      to: UWM COMPUTING (Rcvd)
  14303. subject: R: R: QB4  Reply to #5923
  14304.  
  14305.      cc: CURTIS ABRUE
  14306.  
  14307. Or Microsoft Basic Compiler 6.0, probably.... (although QB
  14308. generates very FAST code.... faster than Quick C.)
  14309.  
  14310. I have found compatibility with all but the most unruly BASIC
  14311. code (such as stuff that builds character strings and then
  14312. executes them as USR subroutines.....).
  14313.  
  14314. >>>>>>>>>> Msg 5918 reply #2
  14315.  
  14316.    conf: PROGRAMMING LANGUAGES  #5935  08-11-88  14:08  (Read 86 times)
  14317.    from: CURTIS ABRUE
  14318.      to: CHARLES PERRIN (Rcvd)
  14319. subject: R: R: QB4  Reply to #5931
  14320.  
  14321.      cc: UWM COMPUTING
  14322.  
  14323. Thanks.  I'll take the advice and use it (I printed the msgs you
  14324. both sent).  It sure would be nice to run these compiled.
  14325. Thanks
  14326. Curt
  14327.  
  14328. >>>>>>>>>> Msg 5918 reply #3
  14329.  
  14330.    conf: PROGRAMMING LANGUAGES  #5940  08-11-88  19:07  (Read 84 times)
  14331.    from: CURTIS ABRUE
  14332.      to: CHARLES PERRIN (Rcvd)
  14333. subject: R: R: QB4  Reply to #5931
  14334.  
  14335.      cc: UWM COMPUTING
  14336.  
  14337. Which is cheaper, QB4.0 or MS-BC6.0?  I'm only gonna do this for this
  14338. project which is why I'm not into $pending?
  14339.   
  14340. Unless there's a PD compiler (heh-heh).
  14341. Thanks much!
  14342. Curt
  14343.  
  14344. >>>>>>>>>> Msg 5918 reply #4
  14345.  
  14346.    conf: PROGRAMMING LANGUAGES  #5941  08-11-88  19:21  (Read 83 times)
  14347.    from: JOE VINCENT
  14348.      to: CURTIS ABRUE (Rcvd)
  14349. subject: R: R: QB4  Reply to #5940
  14350.  
  14351. QB is cheaper than BASIC 6.0 by far.
  14352.  
  14353. >>>>>>>>>> Msg 5918 reply #5
  14354.  
  14355.    conf: PROGRAMMING LANGUAGES  #5943  08-11-88  20:48  (Read 83 times)
  14356.    from: UWM COMPUTING
  14357.      to: CURTIS ABRUE (Rcvd)
  14358. subject: R: R: QB4  Reply to #5940
  14359.  
  14360. MS QuickBASIC is MUCH cheaper (at around $60 mail order - the ONLY
  14361. way to buy software).  You are buying less, however.  The BIG BASIC
  14362. compiler sells for I think around $400, but you can write code for
  14363. OS/2 with it and use it to write programs with single modules larger
  14364. than 64K (a traditional DOS limitation).
  14365.  
  14366. -Mark X
  14367.  
  14368. >>>>>>>>>> Msg 5918 reply #6
  14369.  
  14370.    conf: PROGRAMMING LANGUAGES  #5944  08-11-88  21:40  (Read 81 times)
  14371.    from: CURTIS ABRUE
  14372.      to: JOE VINCENT (Rcvd)
  14373. subject: R: R: QB4  Reply to #5941
  14374.  
  14375. Thanks Joe...
  14376. Btw, how's the market? Big news with discount rate drop, huh...
  14377. Thanks
  14378. Curt
  14379.  
  14380. >>>>>>>>>> Msg 5918 reply #7
  14381.  
  14382.    conf: PROGRAMMING LANGUAGES  #5945  08-11-88  21:45  (Read 83 times)
  14383.    from: CURTIS ABRUE
  14384.      to: UWM COMPUTING (Rcvd)
  14385. subject: R: R: QB4  Reply to #5943
  14386.  
  14387.      cc: CHARLES PERRIN
  14388.      cc: JOE VINCENT
  14389.  
  14390. Mark--thanks for the info. QB is my style.  Now that I think of it,
  14391. and I wish I hadn't because it opens a can of worms, this pgm wont
  14392. run on a lot of clones even if they use IBM/BASICA.  i'd like to
  14393. squash the graphics out of it...guess I dig around in there while
  14394. I'm looking at it.
  14395. Thanks!
  14396. Curt
  14397.  
  14398. >>>>>>>>>> Msg 5918 reply #8
  14399.  
  14400.    conf: PROGRAMMING LANGUAGES  #5949  08-11-88  22:29  (Read 82 times)
  14401.    from: UWM COMPUTING
  14402.      to: CURTIS ABRUE (Rcvd)
  14403. subject: R: R: QB4  Reply to #5945
  14404.  
  14405. Interesting note
  14406. :
  14407. QB 4.0 was recently offered FREE, with purchase of the BIG Microsoft
  14408. BASIC compiler.  I guess this puts things into perspective.
  14409.  
  14410. -Mark X
  14411.  
  14412. >>>>>>>>>> Msg 5918 reply #9
  14413.  
  14414.    conf: PROGRAMMING LANGUAGES  #5951  08-12-88  06:10  (Read 81 times)
  14415.    from: CHARLES PERRIN
  14416.      to: UWM COMPUTING (Rcvd)
  14417. subject: R: R: QB4  Reply to #5949
  14418.  
  14419. Same relationship between Quick C and Microsoft C.  Although I would
  14420. say 98% of the users would never need anything more than the Quick
  14421. compilers.  (My brother likes Quick Basic so much that he didn't move
  14422. to another language.....)
  14423.  
  14424. >>>>>>>>>> Msg 5918 reply #10
  14425.  
  14426.    conf: PROGRAMMING LANGUAGES  #5954  08-12-88  11:12  (Read 85 times)
  14427.    from: CURTIS ABRUE
  14428.      to: UWM COMPUTING (Rcvd)
  14429. subject: R: R: QB4  Reply to #5949
  14430.  
  14431. Wow...sure does put things in perspective.  I wish this BASICA version
  14432. that comes with Dos had a compiler.  I guess they were just set up to
  14433. work with little/personal pgms.  That why I don't understand why the
  14434. guy who wrote these pgms for us used it.
  14435. Thanks for the info.
  14436. Curt
  14437.  
  14438. >>>>>>>>>> Msg 5918 reply #11
  14439.  
  14440.    conf: PROGRAMMING LANGUAGES  #5956  08-12-88  17:10  (Read 86 times)
  14441.    from: UWM COMPUTING
  14442.      to: CURTIS ABRUE (Rcvd)
  14443. subject: R: R: QB4  Reply to #5954
  14444.  
  14445. IBM also sells a BASIC compiler, for a couple hundred bucks or so.
  14446. You use it to compile BASICA code.  It also comes with an ISAM disk
  14447. that allows use of ISAM (indexed sequential) files in your BASIC
  14448. program (a feature left out of QuickBASIC).  You don't have many
  14449. options for File I/O with QB, which is one of the few limitations of
  14450. the language.
  14451. You can, however purchase third-party packages with QB that allow
  14452. ISAM file usage and others that allow the maintainence of files in
  14453. the dBASE III Plus file format (e.g. BTrieve and db/LIB respectively).
  14454. I could give you further info on db/LIB and I'm sure others on this
  14455. BBS could give you info on the popular QB add-on, B-Trieve.
  14456.  
  14457. -Mark X
  14458.  
  14459. >>>>>>>>>> Msg 5918 reply #12
  14460.  
  14461.    conf: PROGRAMMING LANGUAGES  #5957  08-12-88  18:19  (Read 87 times)
  14462.    from: CHARLES PERRIN
  14463.      to: UWM COMPUTING (Rcvd)
  14464. subject: R: R: QB4  Reply to #5956
  14465.  
  14466. QB4 will also compile the great majority of BASICA code.... (so
  14467. would QB3, and 2, and 1....)
  14468.  
  14469. >>>>>>>>>> Msg 5918 reply #13
  14470.  
  14471.    conf: PROGRAMMING LANGUAGES  #5958  08-12-88  20:05  (Read 85 times)
  14472.    from: UWM COMPUTING
  14473.      to: CHARLES PERRIN (Rcvd)
  14474. subject: R: R: QB4  Reply to #5957
  14475.  
  14476. Of course!
  14477.  
  14478. However, there are a couple reasons I stay away from mixing
  14479. environments.
  14480.    1) The IBM BASIC compiler gives you ISAM file processing,
  14481.       which is unsupported by QB (without third party libraries).
  14482.  
  14483.    2) QuickBASIC's BC compiler works DIFFERENTLY than code run
  14484.       from the coding environment.
  14485.  
  14486.    3)  The BC compiler supplied with QB creates slightly larger
  14487.        executable code than the .EXE files created by the IBM
  14488.        BASIC compiler, although the code is faster...  Also, I
  14489.        have found inconsistencies between compilers in the way
  14490.        calculations are handled.
  14491.  
  14492.    4)  It's a bit difficult when you get used to coding in QB to
  14493.        remember which functions are unsupported or handled differ-
  14494.        ently with the other compiler (if the other one is the one you wish
  14495.        to user). And vice versa.
  14496.  
  14497.    FOR THESE REASONS (and a few more) I would recommend compiling
  14498.    QB code with BC, and BASICA code with the IBM compiler.
  14499.  
  14500.    -Mark X
  14501.  
  14502. >>>>>>>>>> Msg 5918 reply #14
  14503.  
  14504.    conf: PROGRAMMING LANGUAGES  #5962  08-12-88  21:17  (Read 88 times)
  14505.    from: CURTIS ABRUE
  14506.      to: UWM COMPUTING (Rcvd)
  14507. subject: R: R: QB4  Reply to #5956
  14508.  
  14509. Well, I guess I'll go with the QB.  Frankly I wish I could find someone
  14510. to do it for me.  I can two weeks (at least) down the drain on a QB
  14511. learning curve.  Not my style.  I've got so many projects lined up
  14512. in the next few weeks, months, that it makes no sense to do it.  Why
  14513. me?
  14514. Thanks for your help.  I was hopin' that it came with the interpreter
  14515. and it was on the disk somewhere, but I guess that life has dealt me
  14516. another fair, but losing hand.
  14517. It's 10PM on a Fri nite and I'm at work, working, looking forward to
  14518. a compu-work weekend...it aint fair.  I can hardly wait till I can
  14519. hire someone.
  14520. See ya!
  14521. Curt
  14522.  
  14523. >>>>>>>>>> Msg 5918 reply #15
  14524.  
  14525.    conf: PROGRAMMING LANGUAGES  #5970  08-13-88  10:27  (Read 92 times)
  14526.    from: UWM COMPUTING
  14527.      to: CURTIS ABRUE (Rcvd)
  14528. subject: R: R: QB4  Reply to #5962
  14529.  
  14530. Curtis-
  14531. Welcome to my world!
  14532. I got so many projects goin' on right now and such a high demand on
  14533. my time I'm losing concentration sometimes.  I have a BIG program due
  14534. in the middle of next month that will take about three man-months
  14535. of effort (I'm the only resource).
  14536. (Not to mention my 9-to-5 job, where I am struggling with another project
  14537. to get out next week due to poor user planning)
  14538. It's great to stare at a tube for 8 hours, go home, eat supper, and
  14539. spend another 5 hours on the PC.
  14540. Feels good b-tchin' about it tho'- gets rid of the frustration!
  14541. Take heart- it all works out in the end...
  14542.  
  14543. -Mark X
  14544.  
  14545. >>>>>>>>>> Msg 5918 reply #16
  14546.  
  14547.    conf: PROGRAMMING LANGUAGES  #5971  08-13-88  13:02  (Read 91 times)
  14548.    from: JOE VINCENT
  14549.      to: CURTIS ABRUE (Rcvd)
  14550. subject: R: R: QB4  Reply to #5944
  14551.  
  14552. Market is psychotic.  (You said "discount rate drop"; actually, the
  14553. discount rate has increased in two successive half-point increases by the
  14554. Fed.)  I'm on record as having predicted an increase in interest rates
  14555. after the election (unless something unforeseen happens), but I'm VERY
  14556. surprised at the inflationary pressure which would comepl the Fed to boost
  14557. the discount rate twice BEFORE the election!
  14558.  
  14559. I know this isn't the right place for this topic, so I'll just invite you
  14560. to drop by Investors to join in the discussion of this and other hot
  14561. financial topics.  See you there.
  14562.  
  14563. How 'bout them 'Skins?  Looking forward to the upcoming NFL season!
  14564.  
  14565. >>>>>>>>>> Msg 5918 reply #17
  14566.  
  14567.    conf: PROGRAMMING LANGUAGES  #5976  08-13-88  19:41  (Read 91 times)
  14568.    from: CURTIS ABRUE
  14569.      to: UWM COMPUTING (Rcvd)
  14570. subject: R: R: QB4  Reply to #5970
  14571.  
  14572. The biggest prob I have with my lifestyle of work-work-work is I
  14573. never give myself a break.
  14574.   
  14575. I like what my friend...she said "I don't live to work, I work to
  14576. live"...it still hasnt sunk in tho...too much work and not enuf
  14577. livin'.
  14578.   
  14579. Curt
  14580.  
  14581. >>>>>>>>>> Msg 5918 reply #18
  14582.  
  14583.    conf: PROGRAMMING LANGUAGES  #5982  08-13-88  21:45  (Read 91 times)
  14584.    from: TOM FELLER
  14585.      to: UWM COMPUTING (Rcvd)
  14586. subject: R: R: QB4  Reply to #5956
  14587.  
  14588. If you are looking into a database mgr. I recommend Btrieve. We use it
  14589. for in our business and it is very solid. It has transaction processing
  14590. for network safe operation. Btrieve works with any DOS 3.1 or better
  14591. network or stand alone. And there is a UNIX version. And now a OS/2
  14592. version is out.
  14593. -Tom Feller-
  14594.  
  14595. >>>>>>>>>> Msg 5918 reply #19
  14596.  
  14597.    conf: PROGRAMMING LANGUAGES  #5993  08-14-88  13:44  (Read 95 times)
  14598.    from: JOE VINCENT
  14599.      to: TOM FELLER (Rcvd)
  14600. subject: R: R: QB4  Reply to #5982
  14601.  
  14602.      cc: UWM COMPUTING
  14603.  
  14604. Tom, ditto what you said about Btrieve.  I've been using Btrieve since
  14605. release 3.14 -- over three years -- and have been quite pleased with it.  I
  14606. wrote and marketed the ONLY interface between Btrieve and BetterBASIC, and
  14607. it's still alive in Europe.
  14608.  
  14609. Novell -- parent company to SoftCraft/Btrieve -- has a forum on Compu$erve
  14610. (GO NETWIRE) for Novell stuff, including Btrieve.
  14611.  
  14612. >>>>>>>>>> Msg 5918 reply #20  >>>Last msg in reply thread.
  14613. Returning to normal sequence.
  14614.  
  14615.    conf: PROGRAMMING LANGUAGES  #5926  08-10-88  23:24  (Read 90 times)
  14616.    from: STEPHEN DINAN
  14617.      to: RON ERDODY (Rcvd)
  14618. subject: R: DBASE III + APPEND PR  Reply to #5014
  14619.  
  14620. YOU MAY HAVE AN ANSWER TO THIS BY NOW, BUT HERE IT IS ANYWAY.
  14621. FIRST, COPY THE FILE YOU WANT TO APPEND AS AN SDF FILE-- THAT IS,
  14622. WITH NO FIELD LABELS.  NEXT, COPY THE STRUCTURE OF THE SAME FILE
  14623. TO A TEMPORARY FILE.  NOW MODIFY THE STRUCTURE OF THAT EMPTY FILE
  14624. SO THAT ITS FIELD NAMES ARE THE SAME AS THE ONE YOU WANT TO ADD
  14625. RECORDS TO.  YOU MUST NOT CHANGE THE NUMBER OR LOCATION OF THE
  14626. FIELDS, HOWEVER.  NOW APPEND THE SDF COPY OF THE FILE TO BE APPENDED
  14627. TO THIS TEMPORARY FILE.  THE RESULT IS A FILE WHOSE FIELDS ARE COM-
  14628. PATIBLE WITH THE FILE TO WHICH YOU WANT TO ADD THE DATA.  YOU CAN
  14629. ADD THE DATA, THEREFORE, BY A SIMPLE APPEND.  IF THIS IS CONFUSING,
  14630. CALL ME AT 871-9646 AND I'LL STEP YOU THROUGH IT.
  14631. ---------------
  14632.  
  14633.    conf: PROGRAMMING LANGUAGES  #5952  08-12-88  06:23  (Read 79 times)
  14634.    from: STEVE MCCRYSTAL
  14635.      to: THOMAS ATKINSON (Rcvd)
  14636. subject: QB RENAME
  14637.  
  14638. Tom,
  14639.  
  14640. Thanks, that may do it. I did change command.com to read only. I'll give it
  14641. a try when I log off and see. Sure hope that fixes it, I've tried
  14642. everything else! Must have redone the 6 lines of code 100 times and it
  14643. still won't work! Thanks again.
  14644.  
  14645. -[Steve]-
  14646. ---------------
  14647.  
  14648.    conf: PROGRAMMING LANGUAGES  #5955  08-12-88  15:40  (Read 83 times)
  14649.    from: LAMONT THOMAS
  14650.      to: ALL
  14651. subject: IRR ALGORITHM
  14652.  
  14653. I WOULD LIKE SOME HELP ON A PROGRAM I AM DEVELOPING.
  14654. DOES ANYONE KNOW OF AN ALGORITHM TH CAN CALCULATE
  14655. THE INTERNAL RATE OF RETURN. I THANK YOU IN ADVANCE.
  14656. ---------------
  14657.  
  14658.    conf: PROGRAMMING LANGUAGES  #5963  08-12-88  21:40  (Read 88 times)
  14659.    from: PAT SHEA
  14660.      to: LAMONT THOMAS (Rcvd)
  14661. subject: R: IRR ALGORITHM  Reply to #5955
  14662.  
  14663. Lamont...
  14664.   
  14665. I've had this for quite some time.... don't know where I got it
  14666. OR
  14667. if I ever used it !!!!??
  14668. BUT
  14669. this may give you a starting point.  PLZ NOTE..... I don't even remember
  14670. if the damned thing works or not !!! happyhacking....
  14671.  
  14672. /***********************************************************************
  14673.  *
  14674.  *   NAME:
  14675.  *     IRR - Internal Rate of Return
  14676.  *
  14677.  *   SYNOPSIS:
  14678.  *     double irr( best_guess, flows, n )
  14679.  *     double best_guess -- first guess
  14680.  *     double *flows --  array of cash flows
  14681.  *     int n  --  number of periods ian analysis
  14682.  *
  14683.  *   DESCRIPTION:
  14684.  *     Approximates the interest rate which equates the present
  14685.  *     value of cash outflows and inflows; ie, the rate at which
  14686.  *     the present value of flows would be 0.
  14687.  *
  14688.  *   RETURNS:
  14689.  *     net present value of flows as a double precision
  14690.  *     floating point number.
  14691.  *
  14692.  *****/
  14693.  
  14694. #define MAX_TIMES  30   /* maximum number of iterations to run        */
  14695.  
  14696. double irr( double best_guess, double *flows, int n )
  14697. {
  14698.    register int i, cnt = 0;
  14699.    double  zero;        /* solution should approach 0.00 and will     */
  14700.    double  high, low;   /*  converge within these defined limits      */
  14701.    int p;
  14702.    double  div;
  14703.  
  14704.    high = ( best_guess > 0.0 ) ? best_guess + 1.0 : 1.0;
  14705.    low = ( best_guess <= 1.0 ) ? best_guess - 1.0 : 0.0;
  14706.    do {
  14707.       i = n;
  14708.       zero = 0.0;
  14709.       while ( i-- ) {
  14710.          div = 1.0;
  14711.          for ( p = i; p; p-- ) {
  14712.             div *= ( 1.0 + best_guess );
  14713.          }
  14714.          zero += flows[i] / div;
  14715.       }
  14716.       if ( zero > 0.0 ) {
  14717.          low = best_guess;
  14718.       }
  14719.       else {
  14720.          high = best_guess;
  14721.       }
  14722.       best_guess = ( high - low )/2.0 + low;
  14723.       ++ cnt;
  14724.    } while ( cnt < MAX_TIMES && zero != 0.0 );
  14725.    return( best_guess );
  14726. }
  14727.  
  14728. >>>>>>>>>> Msg 5955 reply #1
  14729.  
  14730.    conf: PROGRAMMING LANGUAGES  #5983  08-13-88  21:52  (Read 88 times)
  14731.    from: TOM FELLER
  14732.      to: LAMONT THOMAS (Rcvd)
  14733. subject: R: IRR ALGORITHM  Reply to #5955
  14734.  
  14735. I recall a way to do that from 3rd sem calc. However, I think that was for
  14736. compound interest. I am a math major, not a business major. If you describe
  14737. how to calculate a internal rate of return in a specific case I will give
  14738. you the general solution.
  14739. -Tom Feller-
  14740.  
  14741. >>>>>>>>>> Msg 5955 reply #2
  14742.  
  14743.    conf: PROGRAMMING LANGUAGES  #6011  08-16-88  09:49  (Read 116 times)
  14744.    from: LAMONT THOMAS
  14745.      to: TOM FELLER (Rcvd)
  14746. subject: R: R: IRR ALGORITHM  Reply to #5983
  14747.  
  14748.  
  14749.  
  14750.   
  14751.     
  14752.  0 = summation from n=0 to N
  14753.         NCF(n)
  14754.         ------
  14755.         (1+r)^n
  14756.         
  14757.  where  n = each year of the period
  14758.         N = number of year
  14759.    NCF(n) = net cash flow in year n
  14760.         r = internal rate of return             
  14761.     
  14762. example
  14763.         ASSUME THE FOLLOW NET CASH FLOW
  14764.                 NCF(0) = -1000 (REPRESENTS CASH OUT FLOW)
  14765.                 NCF(1) = 400   (REPRESENTS CASH IN FLOW)
  14766.                 NCF(2) = 425
  14767.                 NCF(3) = 515
  14768.                 
  14769.                  IN THIS CASH THE INTERNAL RATE OF RETURN
  14770.                  WOULD BE 15.45%.
  14771.  
  14772.  
  14773.  
  14774.  THIS IS A EXAMPLE I GOT OUT OF A BOOK. I HOPE IT WILLPROVIDE YOU WITH
  14775. ENOUGH INFORMATION SO THAT YOU MAY HELP ME. ONCE AGAIN THANK YOU.
  14776.  
  14777.  
  14778. >>>>>>>>>> Msg 5955 reply #3
  14779.  
  14780.    conf: PROGRAMMING LANGUAGES  #6118  09-04-88  19:06  (Read 96 times)
  14781.    from: BENTLY TURNER
  14782.      to: LAMONT THOMAS (Rcvd)
  14783. subject: R: R: IRR ALGORITHM  Reply to #6011
  14784.  
  14785. Are you the Lamont Thomas of MIAA and Wisconsin Bell....If so, glad to run
  14786. into on a PC Bulletin Board...What's been up lately? Call or leave me an
  14787. Email here on in Private Board.
  14788.   
  14789. Bently
  14790.  
  14791. >>>>>>>>>> Msg 5955 reply #4  >>>Last msg in reply thread.
  14792. Returning to normal sequence.
  14793.  
  14794.    conf: PROGRAMMING LANGUAGES  #5959  08-12-88  20:10  (Read 80 times)
  14795.    from: DAN BUDIAC
  14796.      to: ALL
  14797. subject: BASIC
  14798.  
  14799. I would like to know if it is possible to write memory resident (TSR) or
  14800. Microsoft Windows applications using QuickBASIC 4.0. I have heard that this
  14801. is possible using C, but I don't have the money yet to buy a compiler. Any
  14802. input on the subject would be very much appreciated. Also, I have a
  14803. question in regard to the Shareware concept. I am currently writing a
  14804. program called FEUDAL, a strategic game based upon the board game by Mi
  14805. nisoda Mining & Mfg. in 1973. I have no idea if the company is even around.
  14806. If I were to put this program into the public domain, would I be violating
  14807. the copy rights of the company? Would it be sufficient to just put a notice
  14808. of the copyright in the program and documentation?
  14809.  
  14810.                                              -Dan Budiac
  14811. ---------------
  14812.  
  14813.    conf: PROGRAMMING LANGUAGES  #5966  08-13-88  04:36  (Read 84 times)
  14814.    from: CHARLES PERRIN
  14815.      to: DAN BUDIAC (Rcvd)
  14816. subject: R: BASIC  Reply to #5959
  14817.  
  14818. TSR's, YES; Don't know about Windows application.  If you mean
  14819. "Minnesota Mining and Manufacturing", they are most definitely around
  14820. and would NOT like having the name copied.  The concept is another
  14821. thing.... "Minnesota Mining and Manufacturing" should change their
  14822. name to "3M" or "Scotch" (after the tape.....) as people sort of gag
  14823. on the long name....
  14824. Although "Scotch" is sort of generic now....
  14825.  
  14826. >>>>>>>>>> Msg 5959 reply #1
  14827.  
  14828.    conf: PROGRAMMING LANGUAGES  #5981  08-13-88  21:39  (Read 87 times)
  14829.    from: TOM FELLER
  14830.      to: DAN BUDIAC (Rcvd)
  14831. subject: R: BASIC  Reply to #5959
  14832.  
  14833. Yea, 3M is still around! Do you by tape, recording or otherwise?
  14834. I have the Feudal game and I used to play it years ago. Does your game
  14835. have the computer as one or more of the players? You may be able to
  14836. get a agreement from 3M. Maybe 20% of your profits after your first
  14837. $25,000 or something. If you had a legit game I would buy it. It makes
  14838. chess look almost easy.
  14839. -Tom Feller-
  14840.  
  14841. >>>>>>>>>> Msg 5959 reply #2
  14842.  
  14843.    conf: PROGRAMMING LANGUAGES  #5990  08-14-88  09:49  (Read 90 times)
  14844.    from: DAN BUDIAC
  14845.      to: TOM FELLER (Rcvd)
  14846. subject: R: R: BASIC  Reply to #5981
  14847.  
  14848. Whoa! I was only writing the program for the heck of it! I don't think I'll
  14849. go commercial on it or anything. $25000? I wish! Sorry if I gave the wrong
  14850. impression or anything. Thanks
  14851.  
  14852.                                                   -Dan Budiac
  14853.  
  14854. >>>>>>>>>> Msg 5959 reply #3
  14855.  
  14856.    conf: PROGRAMMING LANGUAGES  #5999  08-14-88  15:31  (Read 92 times)
  14857.    from: TIM NESHAM
  14858.      to: TOM FELLER (Rcvd)
  14859. subject: R: R: BASIC  Reply to #5981
  14860.  
  14861.   Chess easy, Tom? Is that why you gave up on beating Psion?
  14862.  
  14863. >>>>>>>>>> Msg 5959 reply #4
  14864.  
  14865.    conf: PROGRAMMING LANGUAGES  #6009  08-15-88  19:19  (Read 106 times)
  14866.    from: TOM FELLER
  14867.      to: TIM NESHAM (Rcvd)
  14868. subject: R: R: BASIC  Reply to #5999
  14869.  
  14870. Did you ever play Feudal? Chess is hard but its very hard to
  14871. figure out how to defend against a opponent that will move all
  14872. his or her pieces in the next move. Thats Feudal!
  14873. -Tom Feller-
  14874.  
  14875. >>>>>>>>>> Msg 5959 reply #5
  14876.  
  14877.    conf: PROGRAMMING LANGUAGES  #6010  08-16-88  08:12  (Read 102 times)
  14878.    from: TIM NESHAM
  14879.      to: TOM FELLER (Rcvd)
  14880. subject: R: R: BASIC  Reply to #6009
  14881.  
  14882.    As long as a fist fight doesn't break out I'll give it a shot. Too bad
  14883. this board doesn't have some sort of multi-player game.
  14884.  
  14885. >>>>>>>>>> Msg 5959 reply #6  >>>Last msg in reply thread.
  14886. Returning to normal sequence.
  14887.  
  14888.    conf: PROGRAMMING LANGUAGES  #5960  08-12-88  20:19  (Read 81 times)
  14889.    from: STEVE MCCRYSTAL
  14890.      to: THOMAS ATKINSON (Rcvd)
  14891. subject: QB RENAME
  14892.  
  14893. Tom,
  14894.  
  14895. Tried changing the attributes on command.com and even copied a copy of it
  14896. to the same directory as the QB program and it still didn't rename the
  14897. file. Any other ideas? This is getting to me!
  14898.  
  14899. -[Steve]-
  14900. ---------------
  14901.  
  14902.    conf: PROGRAMMING LANGUAGES  #5964  08-12-88  21:47  (Read 83 times)
  14903.    from: THOMAS ATKINSON
  14904.      to: STEVE MCCRYSTAL (Rcvd)
  14905. subject: R: QB RENAME  Reply to #5960
  14906.  
  14907. QB3 right ?  I have it and the name "?" as "?" worked without flaw. How
  14908. about a fresh unpatched copy of QB ?  Try to get as vanilla as possible.
  14909.  
  14910. >>>>>>>>>> Msg 5960 reply #1
  14911.  
  14912.    conf: PROGRAMMING LANGUAGES  #5965  08-12-88  22:28  (Read 83 times)
  14913.    from: STEVE MCCRYSTAL
  14914.      to: THOMAS ATKINSON (Rcvd)
  14915. subject: R: R: QB RENAME  Reply to #5964
  14916.  
  14917. Tom,
  14918.  
  14919. No, first upgrade of QB 4.0, whatever they call it. Not patched unless it
  14920. was done by Microsoft. I'll try to refresh the files and see waht happens.
  14921. In case I didn't mention it, someone suggested tryiny the routine as a
  14922. stand alone routine. I did and it worked. But from my program nothing
  14923. happens. I really appreciate the reply. Thanks...
  14924.  
  14925. -[Steve]-
  14926.  
  14927. >>>>>>>>>> Msg 5960 reply #2
  14928.  
  14929.    conf: PROGRAMMING LANGUAGES  #5973  08-13-88  14:09  (Read 83 times)
  14930.    from: PHIL HILL
  14931.      to: STEVE MCCRYSTAL (Rcvd)
  14932. subject: R: R: QB RENAME  Reply to #5965
  14933.  
  14934. Steve,
  14935.  
  14936. This is really a long shot, but probably worth mentioning.  I
  14937. once had a "bug" that defied all explanations.  In desperation,
  14938. I had re-typed the entire source file (not really expecting
  14939. anything different).  After recovering from the shock of seeing
  14940. the program execute flawlessly, I examined the original source
  14941. file with Norton and found an imbedded control character that
  14942. had been keeping the entire line from compiling.  Don't remember
  14943. what it was (possibly an ascii 0 or 1), but it hadn't even shown
  14944. up in my editor.
  14945.  
  14946. As I said, a long shot - but it might be worth checking.  PH
  14947.  
  14948. >>>>>>>>>> Msg 5960 reply #3
  14949.  
  14950.    conf: PROGRAMMING LANGUAGES  #5984  08-13-88  22:58  (Read 87 times)
  14951.    from: STEVE MCCRYSTAL
  14952.      to: PHIL HILL (Rcvd)
  14953. subject: R: R: QB RENAME  Reply to #5973
  14954.  
  14955. Phil,
  14956.  
  14957. funny you should mention retyping the entire source! That may be exactly
  14958. what I have to do! I think I have figured out the problem, but NOW I have a
  14959. real problem. I saved the source last night before I went to bed and this
  14960. morning when I tried to load it I got a "bad file mode" error and the thing
  14961. won't load. The previous version is two weeks and many changes old. Ever
  14962. try to remember what you did two weeks ago? I can't remember yesterday real
  14963. well! Anyway, at this point, my rename problem is not too important 'till I
  14964. can get to the point where I started using it. Don't have any idea what a
  14965. guy can do with a bad file mode, do you?
  14966.  
  14967. Thanks for the tip, I'll have a look for it when I get the source
  14968. reconstructed.
  14969.  
  14970. -[Steve]-
  14971.  
  14972. >>>>>>>>>> Msg 5960 reply #4
  14973.  
  14974.    conf: PROGRAMMING LANGUAGES  #5994  08-14-88  15:04  (Read 88 times)
  14975.    from: PHIL HILL
  14976.      to: STEVE MCCRYSTAL (Rcvd)
  14977. subject: R: R: QB RENAME  Reply to #5984
  14978.  
  14979. If you saved the file in ascii format you should be able to fix
  14980. it up with another editor, but if it was "quick load"... (shrug).
  14981.  
  14982. I know the feeling.  I had a similar experience a couple of years
  14983. ago.  Since then I've been driven by a sort of paranoia to back
  14984. up my code several times a day.   PH
  14985.  
  14986. >>>>>>>>>> Msg 5960 reply #5
  14987.  
  14988.    conf: PROGRAMMING LANGUAGES  #6002  08-14-88  20:13  (Read 102 times)
  14989.    from: STEVE MCCRYSTAL
  14990.      to: PHIL HILL (Rcvd)
  14991. subject: R: R: QB RENAME  Reply to #5994
  14992.  
  14993. Phil,
  14994.  
  14995. It was a "Quick Load"! I should be able to fix it up in a couple of days,
  14996. IF I don't do anything else! Oh, well, they do tell you to backup often. I
  14997. just ASSUMED they meant the drive, not the files. But you can bet that I
  14998. will save two copies at least from now on. The only hassle is that QB
  14999. switches to active the LAST file saved (ASCII vs Quick). Thanks for the
  15000. reply, that is what I expected...
  15001.  
  15002. -[Steve]-
  15003.  
  15004. >>>>>>>>>> Msg 5960 reply #6  >>>Last msg in reply thread.
  15005. Returning to normal sequence.
  15006.  
  15007.    conf: PROGRAMMING LANGUAGES  #5967  08-13-88  09:45  (Read 88 times)
  15008.    from: TIM NESHAM
  15009.      to: ALL
  15010. subject: QUICKC
  15011.  
  15012.        I am having a problem with QuickC. I cannot get it to compile
  15013. without including a header file that is not asked for!? It wouldn't be so
  15014. bad but QuickC says there is an error in the header file. The header file
  15015. comes from Blaise and looks fine and QuickC is out to lunch! I'm not doing
  15016. anything major because I can't get past this. I can't believe PC mag likes
  15017. QuickC over TurboC.
  15018.  
  15019.      Tim
  15020. ---------------
  15021.  
  15022.    conf: PROGRAMMING LANGUAGES  #5979  08-13-88  21:28  (Read 89 times)
  15023.    from: GRANT ELLSWORTH
  15024.      to: TIM NESHAM (Rcvd)
  15025. subject: R: QUICKC  Reply to #5967
  15026.  
  15027. Tim, mnake sure the environment INCLUDEs are set up right ... and get
  15028. redundant ... also add the Blaise header file subdirectory to the
  15029. INCLUDE option in the qc setup menu.  Then, get rational.  Switch to TC.
  15030. I find QC impossible to use effectively.  TC isd much better and makes more
  15031. sense to my fingers.  Grant
  15032.  
  15033. >>>>>>>>>> Msg 5967 reply #1
  15034.  
  15035.    conf: PROGRAMMING LANGUAGES  #5980  08-13-88  21:30  (Read 89 times)
  15036.    from: TOM FELLER
  15037.      to: TIM NESHAM (Rcvd)
  15038. subject: R: QUICKC  Reply to #5967
  15039.  
  15040. Blaise has tools for TurboC. I hear that they are very good. Sell the
  15041. Blaise tools for the Microsoft compiler and get the tools for TurboC.
  15042. Using QuickC or any other Microsoft C compiler is a very good way to
  15043. get a major case of the frustrations. The 2.0 version of TurboC
  15044. has a debugger!! I hope to see it in the next
  15045. few months. This will cool any objections to TurboC.
  15046.  
  15047. >>>>>>>>>> Msg 5967 reply #2
  15048.  
  15049.    conf: PROGRAMMING LANGUAGES  #5988  08-14-88  06:34  (Read 90 times)
  15050.    from: CHARLES PERRIN
  15051.      to: GRANT ELLSWORTH (Rcvd)
  15052. subject: R: R: QUICKC  Reply to #5979
  15053.  
  15054. Crummy, condescending documentation and no debugger does not a "PC Magazine
  15055. Editors' Choice" make.... (although they'll be willing to offer an upgrade
  15056. to TC 2.0, which allgedly debugs -- for more than the street price of TC
  15057. 2.0, almost.....)
  15058.  
  15059. >>>>>>>>>> Msg 5967 reply #3
  15060.  
  15061.    conf: PROGRAMMING LANGUAGES  #5989  08-14-88  09:33  (Read 93 times)
  15062.    from: GRANT ELLSWORTH
  15063.      to: CHARLES PERRIN (Rcvd)
  15064. subject: R: R: QUICKC  Reply to #5988
  15065.  
  15066. Charles, I don't get or read PC Magazine.  So, some of your reply flies
  15067. over my head ... whazzis on a TC 2.0???  I have not gotten anythiong from
  15068. Borland anouncing it, nor have I seen any formal accepted references to it
  15069. elsewhere.  What's the street price on TC 2.0?
  15070.  
  15071. BTW, I've recently really tried to use some source code debuggers .... I
  15072. find them worse than useless (including codeview, and watcom's wvideo);
  15073. however, I will say enthusiastically that the featrures of these debuggers
  15074. which allow you to set watch points and command-enhanced break points are
  15075. very well worth having.  Thus, if i really need to debug a tC program, I
  15076. generate ASM and assemble for debug with the MS assembler so I can get a
  15077. symbol table,  then I can use the codeview which came with the assembler.
  15078. But those circumstances are rare.  I usually find that just using plain
  15079. ordinary DEBUG and the TC exe or com is sufficient ... and, at times, quite
  15080. fast.  So, I ask, why relegate TC to the less-than-sufficient trash heap
  15081. for want of a formal sdource debugger????? makes no sense!  Grant
  15082.  
  15083. >>>>>>>>>> Msg 5967 reply #4
  15084.  
  15085.    conf: PROGRAMMING LANGUAGES  #5997  08-14-88  15:19  (Read 94 times)
  15086.    from: TIM NESHAM
  15087.      to: GRANT ELLSWORTH (Rcvd)
  15088. subject: R: R: QUICKC  Reply to #5979
  15089.  
  15090.    Grant,
  15091.     Thanks but A: the blaise header files are im the same directory as the
  15092. MSC files. B: I already have TC but I also have a library of functions that
  15093. are not porting over to the TC environment. I wanted to do some window
  15094. stuff with my library. But hey, TC already comes with the capability to do
  15095. window stuff in their 1.5 ver. So I will try to sell the Blaise library and
  15096. then flush QuickC. TC is sooooo much easier....
  15097.  
  15098.      Tim
  15099.  
  15100. >>>>>>>>>> Msg 5967 reply #5
  15101.  
  15102.    conf: PROGRAMMING LANGUAGES  #5998  08-14-88  15:22  (Read 93 times)
  15103.    from: TIM NESHAM
  15104.      to: TOM FELLER (Rcvd)
  15105. subject: R: R: QUICKC  Reply to #5980
  15106.  
  15107.   As usual Tom, you're right again. I will post the Blaise library up
  15108. today. I just wanted it for my windows by I see that TC 1.5 already does
  15109. windows! At least enough to get me going.
  15110.  
  15111.     Tim
  15112.  
  15113. >>>>>>>>>> Msg 5967 reply #6
  15114.  
  15115.    conf: PROGRAMMING LANGUAGES  #6000  08-14-88  15:42  (Read 106 times)
  15116.    from: TIM NESHAM
  15117.      to: GRANT ELLSWORTH (Rcvd)
  15118. subject: R: R: QUICKC  Reply to #5979
  15119.  
  15120.     Oh, and another thing Grant; was it you who was surprised about hearing
  15121. about TC 2.0. How about TASM 1.0? Yes Borland is coming out with their own
  15122. assembler to work with TC and, of course, is better than MASM???? (they
  15123. say). TC 2.0 will have a fine debugger and better docs. Boy, now I find out
  15124. or else I would have held out instead of gettin1.5. I'll still pay tho.
  15125. Lets see here. MSC 5.1 $260. TC 2.0 $99??
  15126.  
  15127.     Tim
  15128.  
  15129. >>>>>>>>>> Msg 5967 reply #7
  15130.  
  15131.    conf: PROGRAMMING LANGUAGES  #6005  08-15-88  00:56  (Read 110 times)
  15132.    from: GRANT ELLSWORTH
  15133.      to: TIM NESHAM (Rcvd)
  15134. subject: R: R: QUICKC  Reply to #5997
  15135.  
  15136. Tim, for A:,,, your problem is baffling ... I had a similar problem when I
  15137. tried out QC ... and solved it by setting some darn define or lib parameter
  15138. in the Compile screen options ... but it's been a while and I don't quite
  15139. remember what I did.  Grant
  15140.  
  15141. >>>>>>>>>> Msg 5967 reply #8
  15142.  
  15143.    conf: PROGRAMMING LANGUAGES  #6006  08-15-88  01:01  (Read 110 times)
  15144.    from: GRANT ELLSWORTH
  15145.      to: TIM NESHAM (Rcvd)
  15146. subject: R: R: QUICKC  Reply to #6000
  15147.  
  15148. >> ... was it you who was surprised bout hearing (reading) about TC 2.0?
  15149.  
  15150. Tim, yep, I sure am ... and TASM?  REads to be very promissing .... now if
  15151. Borland can just address their optimization problems ... MSC can take its
  15152. usurious prices and jump from a high bridge, etc..  TASM may be the icing
  15153. on the cake, but I hope it is not as insufficient as the TURBO ASM product
  15154. by ???? which I saw advertised last year and reviewed sometime later.  BTW,
  15155. have you considered SLR's OptAsm --- price seems good.  Grant
  15156.  
  15157. >>>>>>>>>> Msg 5967 reply #9  >>>Last msg in reply thread.
  15158. Returning to normal sequence.
  15159.  
  15160.    conf: PROGRAMMING LANGUAGES  #5968  08-13-88  10:19  (Read 85 times)
  15161.    from: BILL LYDON
  15162.      to: ALL
  15163. subject: DESQVIEW
  15164.  
  15165. I have been trying to implement the LAP TOP strategy in the DV manual and
  15166. have gotten no progress.  Three calls to Quarterdeck have not resulted in
  15167. any answers other than "try it again".  Has anyone successfully implemented
  15168. the LAP TOP strategy with version 2.01.  I have a NEC MultiSpeed with 2,
  15169. 720k floppies.  I would really appreciate any ideas or suggestions of other
  15170. resources for information.  Thank You.
  15171. ---------------
  15172.  
  15173.    conf: PROGRAMMING LANGUAGES  #5974  08-13-88  17:27  (Read 84 times)
  15174.    from: WES PIKE
  15175.      to: ALL
  15176. subject: DBASE/GRAPHICS
  15177.  
  15178.     I am currently putting together an electronic catalog for our
  15179. company using dBASE III+.  I am trying to find a way to be able to have
  15180. a picture of the product be displayed in 1/4 of the screen with the
  15181. data from the dbase fields displayed around it.  A simple line drawing from
  15182. any "pc-paint" program would be sufficient for our needs.
  15183.      Does anyone have any ideas about how to go about this?  I have found a
  15184. system by Chorus that is commercially available, but if there is an easier
  15185. way to do it we would rather save the $1000.00
  15186.                     
  15187. ---------------
  15188.  
  15189.    conf: PROGRAMMING LANGUAGES  #6004  08-14-88  21:06  (Read 105 times)
  15190.    from: UWM COMPUTING
  15191.      to: CHARLES PERRIN (Rcvd)
  15192. subject: PORT$
  15193.  
  15194. Chas-=
  15195. remember a couple weeks ago I told you about the PORT$ variable I
  15196. had in a QB program that kept getting zapped to just the $
  15197. ???
  15198. (Sort of like the "Cheshire cat," wouldn't you say?  Maybe I'll call
  15199. it the Cheshire Cat Syndrome)
  15200. It keeps happening, sporadically, even after I changed the variable
  15201. name to COM.PRT$  !!!
  15202. So I don't think the problem was that QB was trying to parse PORT$
  15203. as P OR T$ and got confused...!
  15204. Any other suggestions?  This is not REAL important- it only happens
  15205. on occasion, and of course has no effect on compiled code, but it IS
  15206. confusing and a little annoying!
  15207.  
  15208. Mark X
  15209. ---------------
  15210.  
  15211.    conf: PROGRAMMING LANGUAGES  #6007  08-15-88  01:51  (Read 103 times)
  15212.    from: PHIL HILL
  15213.      to: UWM COMPUTING (Rcvd)
  15214. subject: R: PORT$  Reply to #6004
  15215.  
  15216.      cc: STEVE MCCRYSTAL
  15217.  
  15218. Mark,
  15219.  
  15220. If you're saving the file in "quick load" format, your "lost"
  15221. variable bug may be related to Steve's damaged file problem.  PH
  15222.  
  15223. >>>>>>>>>> Msg 6004 reply #1
  15224.  
  15225.    conf: PROGRAMMING LANGUAGES  #6008  08-15-88  07:42  (Read 108 times)
  15226.    from: UWM COMPUTING
  15227.      to: PHIL HILL (Rcvd)
  15228. subject: R: R: PORT$  Reply to #6007
  15229.  
  15230. No, actually I'm saving in ASCII format so I can print out the
  15231. source listing with PCTOOLS Deluxe printer.
  15232. -MX
  15233.  
  15234. >>>>>>>>>> Msg 6004 reply #2  >>>Last msg in reply thread.
  15235. Returning to normal sequence.
  15236.  
  15237.    conf: PROGRAMMING LANGUAGES  #6014  08-16-88  12:45  (Read 118 times)
  15238.    from: TOM PETERS
  15239.      to: ALL
  15240. subject: C CHARS & STRINGS
  15241.  
  15242.      cc: PHIL KATZ
  15243.  
  15244. Help! I don't know how to handle strings & chars in C. The fragments below
  15245. are supposed to search the string line[] from charcter 79 down to number
  15246. 10, and replace the first space (and only the first) with a newline. I get
  15247. a syntax error comparing line[n] to a space. I also think I'm missing a
  15248. semicolon someplace. And how do I jump out when I find my space and replace
  15249. it? I don't want to replace ALL spaces with newlines. Only the first one I
  15250. find counting backwards from 79.
  15251.  
  15252.  
  15253. int dosfn,dosdx,dosal,get_ver=0x30;
  15254. int dos_ver,dos_maj,dos_min;
  15255. struct dostime_t time;  /*Structure in dos.h to receive time */
  15256. struct dosdate_t date;  /*Structure in dos.h to receive date */
  15257. unsigned myseed=17;
  15258. register int n;
  15259. register int r;
  15260. int limit,readstat,inf_flag=0,test_flag=0,help_flag;
  15261. /*double max_in=32767.0;*/
  15262. /*double scale;           */
  15263. int max_in=32767;
  15264. char line[256];
  15265. char filespec[256];
  15266. char cc;
  15267.   
  15268. if (strlen(line) > 78)  /* Don't bother if line is short */
  15269. for (n=78; n-- ; n > 10)
  15270. if line[n]==' '
  15271. line[n] = '\n';
  15272. printf("%s",line );
  15273.  
  15274. Sorry about the indenting missing; EXEC doesn't like tabs.
  15275.  
  15276. The printf is supposed to happen after the first space is converted to a
  15277. newline, or no space was found, or the line was too short to bother.
  15278. ---------------
  15279.  
  15280.    conf: PROGRAMMING LANGUAGES  #6016  08-16-88  21:42  (Read 106 times)
  15281.    from: PHIL KATZ
  15282.      to: TOM PETERS (Rcvd)
  15283. subject: R: C CHARS & STRINGS  Reply to #6014
  15284.  
  15285. Tom,
  15286.  
  15287. Well, try something like this:
  15288.  
  15289. if (strlen(line) > 78)
  15290.   for (n=78; n > 10; n--)
  15291.     if (line[n] == ' ')
  15292.       { line[n]='\n';
  15293.         break;
  15294.       }
  15295.  
  15296. That is essentially what you had, with a few changes.  One is
  15297. that you had the expressions in the for statement reversed,
  15298. and I added the "break" statement which will cause control
  15299. flow to jump out of the for() loop.
  15300.  
  15301. >Phil>
  15302.  
  15303. >>>>>>>>>> Msg 6014 reply #1
  15304.  
  15305.    conf: PROGRAMMING LANGUAGES  #6018  08-17-88  16:47  (Read 98 times)
  15306.    from: TOM PETERS
  15307.      to: PHIL KATZ (Rcvd)
  15308. subject: R: R: C CHARS & STRINGS  Reply to #6016
  15309.  
  15310. Thanks! will try. I just noticed you put your condition for the IF
  15311. statement in parens. Oh yeah! Knew I forgot something.
  15312.  
  15313. >>>>>>>>>> Msg 6014 reply #2  >>>Last msg in reply thread.
  15314. Returning to normal sequence.
  15315.  
  15316.    conf: PROGRAMMING LANGUAGES  #6020  08-17-88  22:10  (Read 101 times)
  15317.    from: JOHN GRANT
  15318.      to: ALL
  15319. subject: AL STEVENS QUICK C
  15320.  
  15321. I'm taking a crack at some screen routines in QC with the above book.  They
  15322. seem to compile OK outside the environment, but I get 'Program Too Big For
  15323. Memory' at runtime at the DOS prompt.
  15324.  
  15325. Any suggestions?  Modify the *.MAK files?  Stick with command-line
  15326. compiles?
  15327. ---------------
  15328.  
  15329.    conf: PROGRAMMING LANGUAGES  #6029  08-18-88  19:47  (Read 101 times)
  15330.    from: TIM NESHAM
  15331.      to: JOHN GRANT (Rcvd)
  15332. subject: R: AL STEVENS QUICK C  Reply to #6020
  15333.  
  15334.    Just get Turbo C. We use it for 50,000+ line programs.
  15335.   Other suggestions: In the compile menu you can select exe or memory if I
  15336. recall. Or perhaps you can split up a large function. I know the MSC5.1
  15337. compiler cries about functions being too large for the optimization
  15338. process. Or, speaking of optimizing, turn that off too.
  15339.  You should be able to compile within the environment or your money back!
  15340.  
  15341.    Tim
  15342.  
  15343. >>>>>>>>>> Msg 6020 reply #1
  15344.  
  15345.    conf: PROGRAMMING LANGUAGES  #6044  08-19-88  17:05  (Read 107 times)
  15346.    from: PHIL KATZ
  15347.      to: JOHN GRANT (Rcvd)
  15348. subject: R: AL STEVENS QUICK C  Reply to #6020
  15349.  
  15350. John,
  15351.  
  15352. Uh, how much free memory do you have when you try and run this
  15353. program?  How much memory should the program need??
  15354.  
  15355. >Phil>
  15356.  
  15357. >>>>>>>>>> Msg 6020 reply #2
  15358.  
  15359.    conf: PROGRAMMING LANGUAGES  #6054  08-21-88  08:47  (Read 104 times)
  15360.    from: JOHN GRANT
  15361.      to: TIM NESHAM (Rcvd)
  15362. subject: R: R: AL STEVENS QUICK C  Reply to #6029
  15363.  
  15364. Thanks for the reply.  The book (if you are familiar with it) was
  15365. supposedly written expressly for Quick C (hence the name) and it represents
  15366. that the *.MAK files it supplies are supposed to work.
  15367.  
  15368. I think my problem is with the *.MAK files, not QC.
  15369.  
  15370. >>>>>>>>>> Msg 6020 reply #3
  15371.  
  15372.    conf: PROGRAMMING LANGUAGES  #6055  08-21-88  08:56  (Read 107 times)
  15373.    from: JOHN GRANT
  15374.      to: PHIL KATZ (Rcvd)
  15375. subject: R: R: AL STEVENS QUICK C  Reply to #6044
  15376.  
  15377. 640K.
  15378.  
  15379. The problem is specific to QC-environment compiles, it works fine from the
  15380. command line.  Also of note:  I get an EXEMOD error to the effect of the
  15381. file size not being the same as stated, or something, when I EXEMOD it.
  15382.  
  15383. Wanna see a *.MAK file?
  15384.  
  15385. #
  15386. # Program: Order
  15387. #
  15388.  
  15389. .c.obj:
  15390.         qcl -c  -W3 -Gs -Ze -AM $*.c
  15391.  
  15392. OTHER_OBJS=vpeek.obj
  15393.  
  15394. order.obj : order.c
  15395.  
  15396. ordent.obj : ordent.c
  15397.  
  15398. entry.obj : entry.c
  15399.  
  15400. qwindow.obj : qwindow.c
  15401.  
  15402. ibmpc.obj : ibmpc.c
  15403.  
  15404. qhelp.obj : qhelp.c
  15405.  
  15406. Order.exe : order.obj ordent.obj entry.obj qwindow.obj \
  15407.                 ibmpc.obj qhelp.obj vpeek.obj
  15408.         del Order.lnk
  15409.         echo order.obj+ >>Order.lnk
  15410.         echo ordent.obj+ >>Order.lnk
  15411.         echo entry.obj+ >>Order.lnk
  15412.         echo qwindow.obj+ >>Order.lnk
  15413.         echo ibmpc.obj+ >>Order.lnk
  15414.         echo qhelp.obj+ >>Order.lnk
  15415.         echo vpeek.obj  >>Order.lnk
  15416.         echo Order.exe >>Order.lnk
  15417.         echo Order.map >>Order.lnk
  15418.         link @Order.lnk /NOI $(LDFLAGS);
  15419.  
  15420. It seems to be occuring during LINK, since I'm using the same (medium
  15421. memory) object modules produced in the QC environment.  The LINK I'm using
  15422. is v3.65, which did not come with QC, but with v4.0b of QB.
  15423.  
  15424. >>>>>>>>>> Msg 6020 reply #4
  15425.  
  15426.    conf: PROGRAMMING LANGUAGES  #6060  08-21-88  22:22  (Read 105 times)
  15427.    from: PHIL KATZ
  15428.      to: JOHN GRANT (Rcvd)
  15429. subject: R: R: AL STEVENS QUICK C  Reply to #6055
  15430.  
  15431. John,
  15432.  
  15433. From what I can tell, MSC/QC uses some extensions to the standard
  15434. .OBJ format that only the MSC/QC/MASM linkers can understand
  15435. correctly.  I would recommend trying one of those linkers if
  15436. you have one around.  Also, I would try manually entering the
  15437. link parameters in the make file.  That redirection trick looks
  15438. interesting, but maybe your map file is now your exe or something . . .
  15439.  
  15440. Also, it would probably be easier to collect all the .OBJ files
  15441. together and put them in one .LIB file.
  15442.  
  15443. >Phil>
  15444.  
  15445. >>>>>>>>>> Msg 6020 reply #5
  15446.  
  15447.    conf: PROGRAMMING LANGUAGES  #6064  08-22-88  17:15  (Read 106 times)
  15448.    from: TIM NESHAM
  15449.      to: JOHN GRANT (Rcvd)
  15450. subject: R: R: AL STEVENS QUICK C  Reply to #6054
  15451.  
  15452.     Emphasis on 'supposed'. See the letter to the August DDJ (Doctor Dobbs
  15453. Journal) for a good comment on the differences between QuickC and TurboC.
  15454.  
  15455.    Tim
  15456.  
  15457. >>>>>>>>>> Msg 6020 reply #6
  15458.  
  15459.    conf: PROGRAMMING LANGUAGES  #6067  08-22-88  22:11  (Read 106 times)
  15460.    from: JOHN GRANT
  15461.      to: PHIL KATZ (Rcvd)
  15462. subject: R: R: AL STEVENS QUICK C  Reply to #6060
  15463.  
  15464. Thanks...I hate to fall in love with a development environment then hit ONE
  15465. snag that forces me back to the command line.  Not that I can't navigate
  15466. there, but if you can't do MOST of your work in the environment, then it's
  15467. just a big TEASE...
  15468.  
  15469. >>>>>>>>>> Msg 6020 reply #7  >>>Last msg in reply thread.
  15470. Returning to normal sequence.
  15471.  
  15472.    conf: PROGRAMMING LANGUAGES  #6025  08-18-88  12:15  (Read 98 times)
  15473.    from: DAVID UNTRECHT
  15474.      to: ALL
  15475. subject: QUICKBASIC 3.0 WINDOWS
  15476.  
  15477. I recently downloaded a neat little package consisting of window routines
  15478. and other things that work with Microsoft's Quickbasic. These routines were
  15479. written by David Evers. However, the routines I have got a hold of only
  15480. seem to work for Quickbasic version 2.0.  I've tried scanning the file
  15481. section for an updated version but it seems that they have skipped version
  15482. 3.0 and gone directly to 4.0. The one window routine I did download for
  15483. version 4.0 was corrupted or something.
  15484. Anyway I just wanted to know if there were any window routines for
  15485. Quickbasic 3.0.  Any help would be greatly appreciated.
  15486.                                          Thanks.
  15487. ---------------
  15488.  
  15489.    conf: PROGRAMMING LANGUAGES  #6037  08-19-88  06:59  (Read 96 times)
  15490.    from: BOB BLAIR
  15491.      to: DAVID UNTRECHT (Rcvd)
  15492. subject: R: QUICKBASIC 3.0 WINDOW  Reply to #6025
  15493.  
  15494. Since I upgraded to QB 4 I haven't any idea any longer what I had for QB 3.
  15495. Would suggest you pay the fee and go for 4.  There is lots available in the
  15496. shareware market for it.  BTW, most of us think it is a better
  15497. implementation.
  15498.                              Bob
  15499.  
  15500. >>>>>>>>>> Msg 6025 reply #1  >>>Last msg in reply thread.
  15501. Returning to normal sequence.
  15502.  
  15503.    conf: PROGRAMMING LANGUAGES  #6026  08-18-88  13:57  (Read 99 times)
  15504.    from: MARK LAW
  15505.      to: ALL
  15506. subject: DBASE
  15507.  
  15508. I don't know if anyone can help me but let's try.
  15509. I need to combine 2 dbase files into one file. I don't mean append on the
  15510. bottom but rather adding fields to the right of an exsisting data base.
  15511. Similar to adding columns to the right on 123. If anyone can tell me how to
  15512. do that you would make my day.
  15513. ---------
  15514. thanks MARK
  15515. ---------------
  15516.  
  15517.    conf: PROGRAMMING LANGUAGES  #6027  08-18-88  15:25  (Read 98 times)
  15518.    from: ANDY WHITCROFT
  15519.      to: MARK LAW (Rcvd)
  15520. subject: R: DBASE  Reply to #6026
  15521.  
  15522. Dear Mark,
  15523.      If I understand you correctly you want to merge the 2 Db's. I initial
  15524. impression is to 1) convert both DB's to an ascii dilimited format. 2)
  15525. then use a wp or programmers editor to append one record to the end of the
  15526. other DB, continue until all records are joined. 3) create a DB with the
  15527. field's in the same order as the record. 4) convert back into a DB.
  15528.      Now the only  problem with this approach is the combining of the two
  15529. DB's. Another way to go about this is to whip up a short C or pascal
  15530. program to automate the process. Being that I do not frequently use DB3,
  15531. that is my best sggustion.
  15532.                                         Andy.
  15533. P.S. One final thought, use same basic approach, but use the DB3
  15534. programming language to do the automated processing. Big advantage to that
  15535. apprach is the NO convertions!
  15536.  
  15537. >>>>>>>>>> Msg 6026 reply #1
  15538.  
  15539.    conf: PROGRAMMING LANGUAGES  #6040  08-19-88  09:20  (Read 100 times)
  15540.    from: GEORGE KOFMAN
  15541.      to: MARK LAW (Rcvd)
  15542. subject: R: DBASE  Reply to #6026
  15543.  
  15544. Mark,
  15545.  
  15546. I am glad you asked...
  15547.  
  15548. How much is it worth to you?     (just kidding)
  15549.  
  15550. If you are using a database package (read: dBASEIII+,Clipper,FoxBase,etc.)
  15551. you should look into the JOIN operation.
  15552. The exact dBASE syntax is: JOIN WITH <alias> TO <new file> FOR <condition>
  15553.                            [FIELDS <field list>].
  15554.  
  15555. Provided that you have a common field to join on.
  15556.  
  15557. Good luck. Let me know how it goes.
  15558. George M. Kofman.
  15559.  
  15560. >>>>>>>>>> Msg 6026 reply #2  >>>Last msg in reply thread.
  15561. Returning to normal sequence.
  15562.  
  15563.    conf: PROGRAMMING LANGUAGES  #6028  08-18-88  18:23  (Read 96 times)
  15564.    from: ALLAN BECKER
  15565.      to: ALL
  15566. subject: BASRUN.EXE
  15567.  
  15568. HELLO PROGRAMMERS, I'M FAIRLY NEW HERE, SO PLEASE EXCUSE ANY LACK OF
  15569. PROTOCOL!!  RECENTLY I'VE DOWNLOADED A GENERAL LEDGER PACKAGE FROM THE
  15570. MAHONEY CATALOG ONLY TO FIND THAT IN ORDER TO SET UP AND RUN THE THING,
  15571. I NEED BASRUN.EXE. TO SHOW WHAT A ROOKIE I AM, I DIDN'T EVEN KNOW THAT IT
  15572. IS PART OF AN IBM APPLICATIONS PACKAGE.
  15573.   
  15574. THE GENERAL LEDGER PROGRAM LOOKS NICE AND I THINK I WOULD LIKE TO USE IT
  15575. RATHER THAN A COUPLE OF THE OTHER ONES, BUT I WILL HAVE TO SCRAP THE IDEA
  15576. UNLESS I CAN COME UP WITH BASERUN.EXE .
  15577.  
  15578. CAN ANYONE SUGGEST A SOURCE FOR THIS FILE, OR A WAY OF OBTAINING IT?
  15579. INCIDENTALLY, DO I NEED IRM ROM BASIC ON MY MACHINE, IF SO I MAY AS WELL
  15580. ERASE THE GEN. LEDGER FILES RIGHT NOW SINCE MY YANG TECH BOOT ROM (AS WE
  15581. KNOW) DOES NOT HAVE A TRACE OF IT ON IT'S SILICON !
  15582.  
  15583. I AM:      ALLAN BECKER
  15584.            1743 N. CAMBRIDGE, #205
  15585.            MILWAUKEE, WI 53202
  15586.            (414) 276-6236        [ ALSO HAVE E MAIL BOX ON THIS BOARD ]
  15587.    
  15588.                           THANKS
  15589. ---------------
  15590.  
  15591.    conf: PROGRAMMING LANGUAGES  #6030  08-18-88  19:54  (Read 96 times)
  15592.    from: TIM NESHAM
  15593.      to: ALLAN BECKER
  15594. subject: R: BASRUN.EXE  Reply to #6028
  15595.  
  15596.     Allan,
  15597.  
  15598.     Anything that needs BASRUN.exe to run a ledger program ain't worth
  15599. havin'. Did you check into DAC software that makes a program for accounting
  15600. that contains General Ledger, A/R, A/P, Billing, Inventory, POs and
  15601. forecasting plus is multi-company, password protected, POS and sells for
  15602. about $60! AND!!! won Infoworld's product of the year award, PC world class
  15603. award. Stay away from BASRUN.EXE and catch the wave. BBBBBBBBye......
  15604.  
  15605. >>>>>>>>>> Msg 6028 reply #1
  15606.  
  15607.    conf: PROGRAMMING LANGUAGES  #6056  08-21-88  09:07  (Read 101 times)
  15608.    from: JOHN GRANT
  15609.      to: ALLAN BECKER
  15610. subject: R: BASRUN.EXE  Reply to #6028
  15611.  
  15612. BASRUN.EXE is an runtime module that is necessary to run some
  15613. (non-standalone) basic compiled programs.  It should have been included in
  15614. the application if the author could have legally distributed it.
  15615.  
  15616. You would need to purchase the compiler to get it.
  15617.  
  15618. As far as what Tim Nesham said about staying away from software that
  15619. requires BASRUN.EXE, if you like the software, who cares?
  15620.  
  15621. BTW, DAC packages are (I think) still written in basic (compiled as
  15622. standalone...i.e. they don't need BASRUN.EXE), so if the bias is against
  15623. compiled basic applications, I'm a bit confused.
  15624.  
  15625. Requiring BASRUN.EXE is not that bad.  Several applications that use it
  15626. could share it, thus reducing diskspace needed for those applications if
  15627. compiled as standalone.
  15628.  
  15629. >>>>>>>>>> Msg 6028 reply #2  >>>Last msg in reply thread.
  15630. Returning to normal sequence.
  15631.  
  15632.    conf: PROGRAMMING LANGUAGES  #6031  08-18-88  22:19  (Read 101 times)
  15633.    from: KAREN LITTLE
  15634.      to: NED REITER (Rcvd)
  15635. subject: R: R: MORE ON CLARION  Reply to #6023
  15636.  
  15637. Let's see if I understand your msg.  About the new release of Filer and the
  15638. database change problem.  I think I've observed that problem.  When you
  15639. introduce a change in the initial program, you have to trash the database,
  15640. right?  I was only making test entries, but I noticed that when I'd
  15641. recompile the program, it wouldn't access the .DAT files.  I was thinking
  15642. that could be a real problem if you wanted to make some changes over months
  15643. of entering.
  15644.  
  15645. They must be first setting up their BBS.  I haven't been able to get into a
  15646. position where I can upload the code for someone at Clarion to look at.
  15647. The SYSOP is supposed to give me a clearance or something, but as of
  15648. yesterday noon, I didn't have it.
  15649.  
  15650. I never learned Rbase, or payed as much attention to it as I am doing with
  15651. this program.  The InfoWorld review ranked Clarion and Rbase the same.  It
  15652. seems to me that Clarion does more.
  15653.  
  15654. The manuals could be a bit more helpful -- I think some diagrams about how
  15655. the programs are built would be a real plus.  The latest thing I did was
  15656. create point & shoot selections for a field.  Thrill.
  15657.  
  15658. Karen
  15659. ---------------
  15660.  
  15661.    conf: PROGRAMMING LANGUAGES  #6038  08-19-88  07:28  (Read 106 times)
  15662.    from: STEPHEN ROSS
  15663.      to: NED REITER (Rcvd)
  15664. subject: R: R: MORE ON CLARION  Reply to #6024
  15665.  
  15666.      cc: KAREN LITTLE
  15667.  
  15668. Ned,
  15669.  
  15670.    I have a feeling that soon I'll be the proud (maybe stupid, but proud)
  15671. owner of two programmable relational databases, Clarion being my second.
  15672.  
  15673.    I've sent away for the demo, or rather called for it, and they'll
  15674. include ALL the good reviews of course.  And what with you and Karen
  15675. touting it to me, . . . I can only hold out against so much unfair
  15676. pressure.
  15677.  
  15678.    Do I need it?  No.  Do I program for hire?  No.  Is there any
  15679. conceivable reason why I would be better off with Clarion?  No.  Will I get
  15680. it?  Probably.
  15681.  
  15682.    Have to keep my toy up to date.  If I have any brains at all -- a point
  15683. contested hotly by those who know me -- I would content myself with a 286
  15684. and no new programs.  (I have a Compaq portable, 8088 or 8086.)  But I'm
  15685. saving my pennies for a 386, a super duper laser and, now, Clarion.
  15686.  
  15687.    Computers are, as Phillippe Kahn (Borland) says, just toys.
  15688. Occasionally they do useful things but primarily they're toys.
  15689. Fortunately, unlike electric trains, they're tax deductible.
  15690.  
  15691. Steve
  15692.  
  15693. >>>>>>>>>> Msg 6031 reply #1
  15694.  
  15695.    conf: PROGRAMMING LANGUAGES  #6041  08-19-88  10:34  (Read 109 times)
  15696.    from: NED REITER
  15697.      to: KAREN LITTLE (Rcvd)
  15698. subject: R: R: MORE ON CLARION  Reply to #6031
  15699.  
  15700. Yes, if you make a change to the database definition, the new
  15701. program won't be able to access the file.  However, you just run
  15702. FILER on it and it reformats the database for you.  FILER only
  15703. runs in the Clarion environment right now, but I think the next
  15704. batch, 2004 (which I order the other day) will have the
  15705. standalone FILER.  You can distribute this with the source for
  15706. the new database definition and the user can reformat the file
  15707. himself.
  15708.  
  15709. The BBS is up, but the sysop must authorize you.  It takes about
  15710. 24 hours after you request access.  Try again today.
  15711.  
  15712. There is a lot of pressure for Clarion to publish information on
  15713. the .MDL files to allow developers to modify them.  Just studying
  15714. the .MDL files can tell  you a lot about how designer creates a
  15715. program.
  15716.  
  15717. The sample programs in the tutorial are very good for showing how
  15718. to design a database and program.  Do the PHONES exercise.  Even
  15719. with my 27 years of programming, it really helped me get started
  15720. with Clarion.
  15721.  
  15722. It looks like Stephen Ross is going to join the Clarion club RSN.
  15723.  
  15724. -- Ned --
  15725.  
  15726. >>>>>>>>>> Msg 6031 reply #2
  15727.  
  15728.    conf: PROGRAMMING LANGUAGES  #6042  08-19-88  10:37  (Read 108 times)
  15729.    from: NED REITER
  15730.      to: STEPHEN ROSS (Rcvd)
  15731. subject: R: R: MORE ON CLARION  Reply to #6038
  15732.  
  15733. "He who dies with the most toys, wins."  Anon.
  15734.  
  15735. I think that Karen uploaded the Clarion demo here.  It is rather
  15736. large, however, so you may want to wait for the diskette.
  15737.  
  15738. -- Ned --
  15739.  
  15740. >>>>>>>>>> Msg 6031 reply #3
  15741.  
  15742.    conf: PROGRAMMING LANGUAGES  #6043  08-19-88  15:42  (Read 110 times)
  15743.    from: KAREN LITTLE
  15744.      to: NED REITER (Rcvd)
  15745. subject: R: R: MORE ON CLARION  Reply to #6041
  15746.  
  15747.      cc: MARK TELLIER
  15748.      cc: JIM TOIGO
  15749.  
  15750. Before I go on about Clerion, I'd like to get a reading from Mark Tellier
  15751. about the level of conversation on one subject he feels comfortable with on
  15752. this conference.
  15753.  
  15754. If you get me involved, we could get into some long and pretty constant
  15755. conversation about Clarion as I am passionately interested in it, and also,
  15756. this isn't a long distant telephone call.
  15757.  
  15758. Karen
  15759.  
  15760. >>>>>>>>>> Msg 6031 reply #4
  15761.  
  15762.    conf: PROGRAMMING LANGUAGES  #6050  08-20-88  08:39  (Read 112 times)
  15763.    from: STEPHEN ROSS
  15764.      to: NED REITER (Rcvd)
  15765. subject: R: R: MORE ON CLARION  Reply to #6042
  15766.  
  15767. Ned,
  15768.  
  15769.    Had already tried downloading Karen's upload -- got 4 CRC errors and
  15770. couldn't unarc the whole file.  But the diskette arrived yesterday.
  15771.  
  15772.    Now, of course, I want Clarion.  Looks really slick.  But for the moment
  15773. at least I'll hold off.  Primary reason:  programming is a hobby and if I
  15774. get Clarion I'll once again start putting too much time into play and not
  15775. enough into earning money.
  15776.  
  15777.    Paradox has a Personal Programmer that does at least some of what
  15778. Clarion does -- except you have to create the data bases and scripts or
  15779. procedures before you can use it.  Essentially it ties it all together and
  15780. builds menus for you.  I don't use it at all because it is incredibly
  15781. slooooow on my old clunker.  And it's nothing like Clarion that seems to do
  15782. just about everything automatically.
  15783.  
  15784.    I'm jealous.  I'll have to get it before I die.  If only to be in
  15785. contention for having the most toys.
  15786.  
  15787. Steve
  15788.  
  15789. >>>>>>>>>> Msg 6031 reply #5
  15790.  
  15791.    conf: PROGRAMMING LANGUAGES  #6057  08-21-88  14:00  (Read 105 times)
  15792.    from: MARK WADE
  15793.      to: STEPHEN ROSS (Rcvd)
  15794. subject: R: R: MORE ON CLARION  Reply to #6050
  15795.  
  15796.      
  15797. STEVE - I'VE GOT AN UNOPENED COPY OF CLARION 2.0 FOR SALE.
  15798.    
  15799.         I'M LOOKING FOR $479 OUT OF IT.  I BELIEVE THIS IS THE DEALER COST.
  15800.     
  15801.         IF YOU FIND A LOWER PRICE I'LL BEAT IT BY $10.
  15802.     
  15803.         DON'T WAIT.  YOU COULD BE HIT BY A BUS TOMORROW.
  15804.    
  15805.         MARK WADE - 963-0252
  15806.  
  15807. >>>>>>>>>> Msg 6031 reply #6
  15808.  
  15809.    conf: PROGRAMMING LANGUAGES  #6061  08-22-88  09:31  (Read 104 times)
  15810.    from: NED REITER
  15811.      to: KAREN LITTLE (Rcvd)
  15812. subject: R: R: MORE ON CLARION  Reply to #6043
  15813.  
  15814. Well, this is the programming conference and discussions about
  15815. Clarion are about programming.  And we might get more people
  15816. interested in Clarion by our discussions.  Wait until you want
  15817. to link in a routine written in C to your Clarion application.
  15818. That can get complicated.
  15819.  
  15820. -- Ned --
  15821.  
  15822. >>>>>>>>>> Msg 6031 reply #7
  15823.  
  15824.    conf: PROGRAMMING LANGUAGES  #6063  08-22-88  12:39  (Read 107 times)
  15825.    from: KAREN LITTLE
  15826.      to: NED REITER (Rcvd)
  15827. subject: R: R: MORE ON CLARION  Reply to #6061
  15828.  
  15829. If Mark doesn't mind, I have no objections.  You can answer my note in
  15830. Writers about procedures over here.
  15831.  
  15832. I was up until 2:00 last night trying to figure out the links between
  15833. procedures, and actually got the thing to work.
  15834.  
  15835. Clarion appears to be absolutely remarkable.
  15836.  
  15837. Next thing is to get numbers to automatically increment when I create a
  15838. record.
  15839.  
  15840. Next thing is to create links between files.
  15841.  
  15842. Karen
  15843.  
  15844. >>>>>>>>>> Msg 6031 reply #8
  15845.  
  15846.    conf: PROGRAMMING LANGUAGES  #6071  08-22-88  23:42  (Read 112 times)
  15847.    from: MARK TELLIER (LEADER)
  15848.      to: KAREN LITTLE (Rcvd)
  15849. subject: R: R: MORE ON CLARION  Reply to #6063
  15850.  
  15851. A Clarion discussion is very welcome.  The DBase guys (& gals) have good
  15852. conversations here all the time.  If its programming (or somewhat close),
  15853. we would like to here about it.
  15854.  
  15855. - mwt -
  15856.  
  15857. >>>>>>>>>> Msg 6031 reply #9
  15858.  
  15859.    conf: PROGRAMMING LANGUAGES  #6072  08-23-88  08:46  (Read 113 times)
  15860.    from: NED REITER
  15861.      to: KAREN LITTLE (Rcvd)
  15862. subject: R: R: MORE ON CLARION  Reply to #6063
  15863.  
  15864. Glad you got your program running.  Don't erase your .DAT files for
  15865. each new version.  Just run the FILER on them and they will be
  15866. reformatted to the new database layout.
  15867.  
  15868. As for the files created by Clarion, once you have a working .EXE
  15869. file, you only need to keep the .APP and the .EXE file.  The .CLA
  15870. file will be needed if you want to run the FILER or debug the
  15871. program.  The .SYM program is needed for the debugger, too.  The .PRO
  15872. file is only needed to run under the PROCESSOR and the .OBJ file is
  15873. only needed to link.  The .BAP files are backups of the .APP files and
  15874. can be deleted.
  15875.  
  15876. The auto incrementing field can be done with a single record file
  15877. that is updated on an entry screen, but use a computed field instead
  15878. of an entry field.
  15879.  
  15880. Have fun, -- Ned --
  15881.  
  15882. >>>>>>>>>> Msg 6031 reply #10
  15883.  
  15884.    conf: PROGRAMMING LANGUAGES  #6081  08-24-88  20:01  (Read 109 times)
  15885.    from: JIM TOIGO
  15886.      to: NED REITER (Rcvd)
  15887. subject: R: R: MORE ON CLARION  Reply to #6061
  15888.  
  15889. Ned---
  15890.     
  15891. Another Clarion user!!!  I did not think there was anyone else out
  15892. there but Karen and I.
  15893.  
  15894. >>>>>>>>>> Msg 6031 reply #11
  15895.  
  15896.    conf: PROGRAMMING LANGUAGES  #6082  08-24-88  20:06  (Read 111 times)
  15897.    from: JIM TOIGO
  15898.      to: NED REITER (Rcvd)
  15899. subject: R: R: MORE ON CLARION  Reply to #6041
  15900.  
  15901. Ned--
  15902.    
  15903. I got the Clarion BBS number from Karen.  Tried to call and it just
  15904. rang and rang.  Is it only online during business hours?
  15905.    
  15906. Also, is it PC-Pursuitable?
  15907.  
  15908. >>>>>>>>>> Msg 6031 reply #12
  15909.  
  15910.    conf: PROGRAMMING LANGUAGES  #6083  08-24-88  20:43  (Read 110 times)
  15911.    from: JIM TOIGO
  15912.      to: NED REITER (Rcvd)
  15913. subject: R: R: MORE ON CLARION  Reply to #6072
  15914.  
  15915. Ned---
  15916.    
  15917. I just checked that number that Karen gave me for the Clarion BBS.
  15918. It is the customer support number.  Please leave me the number
  15919. of the BBS next time you log on.  I'd like to give them a try.
  15920.   
  15921. Thanks.
  15922.  
  15923. >>>>>>>>>> Msg 6031 reply #13
  15924.  
  15925.    conf: PROGRAMMING LANGUAGES  #6084  08-25-88  09:40  (Read 109 times)
  15926.    from: NED REITER
  15927.      to: JIM TOIGO (Rcvd)
  15928. subject: R: R: MORE ON CLARION  Reply to #6083
  15929.  
  15930. I helped convince Karen to get Clarion.  I gave her a demo at
  15931. my place and she bought it shortly after.
  15932.  
  15933. The Clarion BBS is 305-785-9172.  I don't know how far you can
  15934. get without authorization, but the tech support people will
  15935. take care of that in a day or two, if you ask.  I don't know if
  15936. it is PCPursuitable.  Clarion is in Pompano Beach, FL.
  15937.  
  15938. -- Ned --
  15939.  
  15940. >>>>>>>>>> Msg 6031 reply #14
  15941.  
  15942.    conf: PROGRAMMING LANGUAGES  #6085  08-25-88  18:36  (Read 108 times)
  15943.    from: JIM TOIGO
  15944.      to: NED REITER (Rcvd)
  15945. subject: R: R: MORE ON CLARION  Reply to #6084
  15946.  
  15947. Thanks a million for the number Ned.
  15948.  
  15949. >>>>>>>>>> Msg 6031 reply #15
  15950.  
  15951.    conf: PROGRAMMING LANGUAGES  #6123  09-06-88  22:19  (Read 100 times)
  15952.    from: KAREN LITTLE
  15953.      to: NED REITER (Rcvd)
  15954. subject: R: R: MORE ON CLARION  Reply to #6072
  15955.  
  15956.      cc: JIM TOIGO
  15957.  
  15958. I didn't work on Clarion for a little over a week, and got back to it two
  15959. nights ago ... I keep reading the manual.  I am a little confused about the
  15960. relationships between things.  I don't even want to ask a question at this
  15961. point, because the information will overwelm me until I have things sorted
  15962. out in my mind.
  15963.  
  15964. A friend of mine just told me about Agenda (which I might get free from
  15965. Lotus).  You can create a series of notes and automatically post them to
  15966. different projects or people.  This seems like something Clarion could
  15967. handle.
  15968.  
  15969. Also, in one of their old ads, they show the development of a calendar.  Is
  15970. this something, a unit or module, that can be easily added in?
  15971.  
  15972. Karen
  15973.  
  15974. >>>>>>>>>> Msg 6031 reply #16
  15975.  
  15976.    conf: PROGRAMMING LANGUAGES  #6124  09-07-88  08:33  (Read 90 times)
  15977.    from: NED REITER
  15978.      to: KAREN LITTLE (Rcvd)
  15979. subject: R: R: MORE ON CLARION  Reply to #6123
  15980.  
  15981. Karen, keep at it.  Clarion is very complex and not for the novice,
  15982. by any means.  A calendar could be written in Clarion using a
  15983. memory table and appropriate indexing when displaying it.  I don't
  15984. know of any calendar LEM, but you could ask on the Clarion BBS.
  15985. Let us know of your progress on your applications.
  15986. -- Ned --
  15987.  
  15988. >>>>>>>>>> Msg 6031 reply #17
  15989.  
  15990.    conf: PROGRAMMING LANGUAGES  #6126  09-07-88  17:13  (Read 94 times)
  15991.    from: KAREN LITTLE
  15992.      to: NED REITER (Rcvd)
  15993. subject: R: R: MORE ON CLARION  Reply to #6124
  15994.  
  15995. As a professional trainer, I like tight summaries.  The summaries of
  15996. Clarion are spread throughout the manual -- what I am trying to do is
  15997. gather information on what I find confusing.
  15998.  
  15999. For example ... what can you accomplish in each procedure:  form, table,
  16000. menureport, and ??? (I am not by my notes).  So, what I have been doing is
  16001. reading thru the book and making a list under each of these things.
  16002.  
  16003. When I get the list complete, I'll post it here and you can see if I
  16004. captured everything.
  16005.  
  16006. A PROBLEM I am having ... conceptualizing when a calculated field is posted
  16007. to a file and when it is not ... Under what conditions are things posted to
  16008. files ... can it be done from a menu?
  16009.  
  16010. When I worked with my friend Walter, it was a little difficult to figure
  16011. out how to link information.  My problem is that I am a SLOW learner, and
  16012. must have tactile impact on whatever I learn.  So...hearing someone's voice
  16013. makes me a little dizzy, and then I get silly.  REALLY.  I don't retain
  16014. audio input at all ... it may be connected with the dyslexia that I have.
  16015.  
  16016. This is one of the reasons I can successfully train people with lower
  16017. reading comprehension because I have observed how I learn ... with that in
  16018. mind, I am trying to develop crib sheets that will act as a guide to
  16019. development.
  16020.  
  16021. Karen
  16022.  
  16023. >>>>>>>>>> Msg 6031 reply #18
  16024.  
  16025.    conf: PROGRAMMING LANGUAGES  #6127  09-07-88  20:04  (Read 95 times)
  16026.    from: JIM TOIGO
  16027.      to: KAREN LITTLE (Rcvd)
  16028. subject: R: R: MORE ON CLARION  Reply to #6123
  16029.  
  16030. Karen---
  16031.    
  16032. I think that the calendar program that you refered to is an example file
  16033. sent with the Clarion package.  Check the "Annotated Examples" manual, page
  16034. 42 for the listing.  These examples can all be loaded onto your PC with the
  16035. Clarion install program.
  16036.  
  16037. >>>>>>>>>> Msg 6031 reply #19
  16038.  
  16039.    conf: PROGRAMMING LANGUAGES  #6128  09-07-88  20:13  (Read 97 times)
  16040.    from: JIM TOIGO
  16041.      to: KAREN LITTLE (Rcvd)
  16042. subject: R: R: MORE ON CLARION  Reply to #6126
  16043.  
  16044. aren---
  16045.    
  16046. I too have found the Clarion manuals a bit taxing.  Even usage of the same
  16047. command can be found in several manuals.  Good examples of the use of
  16048. thecommands are not well documented in the "Examples" manual, and I
  16049. constantly have a hard time deciding whether a good pointer I read
  16050. previously was in the "Utilities" or "Language" reference guide.
  16051.    
  16052. A calulated field will be posted to the file (if it is defined in the file)
  16053. when the Update is processed.  From the Update screen, this is when you go
  16054. into insert or update mode, complete the entry of the last field on the
  16055. screen.  My wife found the update without a message confusing also, so I
  16056. modified the .MDL file to insert appropriate messages on the screens when
  16057. an update is complete.  You might also add a "PAUSE" field to your screens
  16058. to prompt the user to press enter to update or insert the record.
  16059.    
  16060. Be carefuul how you define your calculated fields, some calulated fields
  16061. are for display use only on screens and reports.  A calculated field can be
  16062. changed by using an edit procedure after the last field used to calculate
  16063. the field is entered.  I keep all of my edit procedures in the same file
  16064. and call the desired procedure when needed.
  16065.  
  16066. >>>>>>>>>> Msg 6031 reply #20
  16067.  
  16068.    conf: PROGRAMMING LANGUAGES  #6129  09-08-88  08:49  (Read 98 times)
  16069.    from: NED REITER
  16070.      to: KAREN LITTLE (Rcvd)
  16071. subject: R: R: MORE ON CLARION  Reply to #6126
  16072.  
  16073. Karen, I find the manuals a little confusing too.  But it is all
  16074. there, once you know where to look.
  16075.  
  16076. I see that Jim has answered most of your questions, so I won't
  16077. try.  I just received batch 2004 yesterday and it has some nice
  16078. new features such as you can read and update up to 3 secondary
  16079. files on a form, many of the procedures can now be up to 255
  16080. characters of Clarion code or a procedure name and they have now
  16081. included documentation for the .MDL files.
  16082.  
  16083. Since you get one free upgrade with the extended support, perhaps
  16084. we can work something out to avoid getting duplicate batches and
  16085. we can both stay current.
  16086.  
  16087. When you get your list done, I will answer any questions that I
  16088. can for you.
  16089.  
  16090. -- Ned --
  16091.  
  16092. >>>>>>>>>> Msg 6031 reply #21
  16093.  
  16094.    conf: PROGRAMMING LANGUAGES  #6131  09-08-88  20:33  (Read 99 times)
  16095.    from: JIM TOIGO
  16096.      to: NED REITER (Rcvd)
  16097. subject: R: R: MORE ON CLARION  Reply to #6129
  16098.  
  16099. Ned---
  16100.    
  16101. Is batch 2004 a Clarion upgrade?  How did you get it?  I did not order
  16102. extended support, but I think they gave me 3 months or something when I
  16103. upgraded to version 2.
  16104.  
  16105. >>>>>>>>>> Msg 6031 reply #22
  16106.  
  16107.    conf: PROGRAMMING LANGUAGES  #6132  09-09-88  10:45  (Read 99 times)
  16108.    from: NED REITER
  16109.      to: JIM TOIGO (Rcvd)
  16110. subject: R: R: MORE ON CLARION  Reply to #6131
  16111.  
  16112. Jim, batch 2004 is the latest release of Clarion.  Check your upgrade
  16113. paperwork, I received the extended support as part of the upgrade.
  16114. Perhaps it was for 3 months only, now that I think of it.  You also
  16115. get one free upgrade with that.  Just call the support number and
  16116. ask for the latest batch.  You may want to wait for 2005, which is
  16117. nearing release.  The upgrade consists of 10 diskettes but no new
  16118. pages for the manuals.  There is an extensive read.me on disk 1,
  16119. however.
  16120.  
  16121. Even if you buy the upgrade, it is only about $30.  Very reasonable,
  16122. I think.
  16123.  
  16124. -- Ned --
  16125.  
  16126. >>>>>>>>>> Msg 6031 reply #23
  16127.  
  16128.    conf: PROGRAMMING LANGUAGES  #6133  08-09-88  18:53  (Read 92 times)
  16129.    from: JIM TOIGO
  16130.      to: NED REITER (Rcvd)
  16131. subject: R: R: MORE ON CLARION  Reply to #6132
  16132.  
  16133. Ned---
  16134.    
  16135. Thanks for the info.  How has you Clarion support been?  They promised to
  16136. notify me as soon as the Clarion BBS was up and running.  They did not, and
  16137. I found out from you.  Now are you telling me that I was entitled to one
  16138. free upgrade and did not receive it?
  16139. If so, my advice to Clarion Software would be that they have a grat
  16140. product, but poor support and poor customer relations have ruined companies
  16141. far superior to them!  In addition, a PUBLIC message like this on the BEST
  16142. BBS in the country can go a long way to warn potential buyers to beware of
  16143. poor support and poor customer relations from a company like CLARION.
  16144.    
  16145. Maybe a copy of this message belongs on the CLARION BBS in Florida!
  16146. It may wake them up!
  16147.  
  16148. >>>>>>>>>> Msg 6031 reply #24
  16149.  
  16150.    conf: PROGRAMMING LANGUAGES  #6137  09-12-88  09:07  (Read 83 times)
  16151.    from: NED REITER
  16152.      to: JIM TOIGO (Rcvd)
  16153. subject: R: R: MORE ON CLARION  Reply to #6133
  16154.  
  16155. Jim,
  16156. Did you send in the registration card?  This should entitle you to a
  16157. free quality control release.  The extended support entitles youto
  16158. one more free release, I believe.  You do not receive these
  16159. automatically, you must call and request them.
  16160.  
  16161. I have found the tech support to be excellent.  The people that
  16162. answer the phone are very knowledgeable and I have had no problem
  16163. getting through.  The BBS is also very good for support questions.
  16164. There are quite a few experienced developers that frequent it and
  16165. you may get several answers to any question.  However, I have found
  16166. that it is getting quite busy lately.  Clarion's support and customer
  16167. relations is the best I have ever experienced.  Their Quality
  16168. Control Releases usually contain as many new features as they do
  16169. bug fixes.  And there are very few bugs in Clarion.  Please give
  16170. them a call and ask about your upgrade.  I am sure you will find them
  16171. to be extremely pleasant to work with.  Let me know what happens.
  16172. If you find out that your first impression was mistaken, please
  16173. post a reply here.
  16174.  
  16175. -- Ned --
  16176.  
  16177. >>>>>>>>>> Msg 6031 reply #25
  16178.  
  16179.    conf: PROGRAMMING LANGUAGES  #6140  09-12-88  20:40  (Read 84 times)
  16180.    from: KAREN LITTLE
  16181.      to: JIM TOIGO (Rcvd)
  16182. subject: R: R: MORE ON CLARION  Reply to #6127
  16183.  
  16184.      cc: NED REITER
  16185.      cc: WALTER BLANKENSHIP
  16186.  
  16187. Jim & Ned ...
  16188.  
  16189. Tonight I am uploading    Clar-dvl.ARC    which is the outline of one
  16190. segment of the "library" or paperfile coordination program I am trying to
  16191. develop.
  16192.  
  16193. Perhaps if you could look the basic plans over, the three of us could
  16194. comment on it as it is developed.
  16195.  
  16196. Purpose of the program:  Paper files, such as correspondence, are often
  16197. interrelated.  Unfortunately, if they are filed alpha by company name, you
  16198. can miss the individuals ... and sometimes individuals you need to
  16199. correspond with move to different companies.  Another problem is when
  16200. coworkers need to know what each other is doing in a particular area.
  16201. Traditional filing systems make it difficult to pull.
  16202.  
  16203. Example:  I do work with Milw. County, with individual Departments, to
  16204. various people on various things.  There is no clear filing direction.  In
  16205. addition, we get casual letters announcing proposal dates, etc.  We may not
  16206. wish to respond to proposals, but want to keep the key individual's
  16207. information on file.
  16208.  
  16209. Eventually, this database will be linked with other information, such as
  16210. Call Reports, Photos (the ones WE take), Published Photos, & Misc. Info as
  16211. reported in newspapers.
  16212.  
  16213. I invision each file as being a simple sequential storage (I have already
  16214. developed a similar concept for my paper-based Research File that I will
  16215. get into Clarion as soon as I understand the language)
  16216.  
  16217. >>>>>>>>>> Msg 6031 reply #26
  16218.  
  16219.    conf: PROGRAMMING LANGUAGES  #6141  09-12-88  20:44  (Read 82 times)
  16220.    from: KAREN LITTLE
  16221.      to: NED REITER (Rcvd)
  16222. subject: R: R: MORE ON CLARION  Reply to #6129
  16223.  
  16224. I just received a Clarion newsletter and saw something about a BATCH.  Does
  16225. this mean a complete multi-disk new program?  Do I have to ask for this?
  16226. I noticed that after the first FREE one, the updates cost $125 a year?  Is
  16227. this worth it...do they come out with a new one once a month or something?
  16228.  
  16229. >>>>>>>>>> Msg 6031 reply #27
  16230.  
  16231.    conf: PROGRAMMING LANGUAGES  #6145  09-13-88  08:27  (Read 76 times)
  16232.    from: NED REITER
  16233.      to: KAREN LITTLE (Rcvd)
  16234. subject: R: R: MORE ON CLARION  Reply to #6140
  16235.  
  16236. Karen,
  16237. I will try to look at your CLAR-DVL.ARC later today.
  16238. -- Ned --
  16239.  
  16240. >>>>>>>>>> Msg 6031 reply #28
  16241.  
  16242.    conf: PROGRAMMING LANGUAGES  #6146  09-13-88  08:30  (Read 77 times)
  16243.    from: NED REITER
  16244.      to: KAREN LITTLE (Rcvd)
  16245. subject: R: R: MORE ON CLARION  Reply to #6141
  16246.  
  16247. Karen,
  16248. Yes, the upgrade is a complete set of diskettes.  Batch 2004 is
  16249. 10 disks.  You have to request the upgrade from Clarion.  The
  16250. upgrades cost $29.50 after the first free one.  The extended
  16251. technical support costs $100/year and includes one free upgrade
  16252.  and the technical bulletins as well as the telephone support.
  16253. New batches average one a month or less and are not mandatory.
  16254. I plan on upgrading only if I need a feature that they add or
  16255. a bug fix (which are fewer than the feature additions).
  16256. -- Ned --
  16257.  
  16258. >>>>>>>>>> Msg 6031 reply #29
  16259.  
  16260.    conf: PROGRAMMING LANGUAGES  #6161  09-14-88  22:21  (Read 78 times)
  16261.    from: KAREN LITTLE
  16262.      to: NED REITER (Rcvd)
  16263. subject: R: R: MORE ON CLARION  Reply to #6146
  16264.  
  16265. I just set up my files ... the 3 weeks I wasn't involved with Clarion
  16266. caused a major brain drain.  FRUSTRATION!  I am trying to do the whole
  16267. thing in my head ... and want EVERYTHING to be perfect when I create it.  I
  16268. LEARNED one thing --- don't get fancy with the menus, etc., until
  16269. everything works.  So today I could have had fun with my opening menu but
  16270. REFUSED to get sucked in ... then I was faced with my own lack of skill.
  16271. Instant depression.
  16272.  
  16273. 10 disks an upgrade?  That sounds like one hell of an upgrade!  And the
  16274. $100 includes automatic mailing of upgrades throughout the year?  That
  16275. seems rather reasonable.  ... I get frustrated trying to save a dime.  It
  16276. usually costs much more in time spent.  I was supposed to get a FREE
  16277. program from SoftCraft because I was a beta user ... BUT  all the people
  16278. who sent in their $25 got theirs  and *I* really need that program.
  16279. Tomorrow I am going to order the $25 upgrade and to hell with their best
  16280. intentions.   ... I am frustrated and mildly depressed tonight.
  16281.  
  16282. Karen
  16283.  
  16284. >>>>>>>>>> Msg 6031 reply #30
  16285.  
  16286.    conf: PROGRAMMING LANGUAGES  #6162  09-14-88  22:38  (Read 78 times)
  16287.    from: JIM TOIGO
  16288.      to: NED REITER (Rcvd)
  16289. subject: R: R: MORE ON CLARION  Reply to #6137
  16290.  
  16291. Ned---
  16292.    
  16293. No sooner did I blow my top on this conference about Clarion and I received
  16294. their newsletter in the mail the following day!  I have mailed in the
  16295. registration card and did not receive my free upgrade.  I have not ordered
  16296. extended support.
  16297. I too have had good experiences with the technical support staff at Clarion
  16298. both times that I have called.  The gave me some good pointers for working
  16299. my way through the .APP files and modifying them to suit my application
  16300. development style.
  16301. I could not beleive that their BBS requires purchase of their extended
  16302. support to use it for more than 90 days!  I realize that they are in the
  16303. business to make money, but that is one service that would help promote the
  16304. popularity of the product.  The cost of the Clarion extended support and
  16305. the upgrades that I have purchased are quite steep.  It will not be too
  16306. long and I will have over $1000 invested in this product.  And $120/year
  16307. to use their bulletin board is a bit much.
  16308. It will probably be another$100-$200  for their next upgrade to the
  16309. designer utility, and I predict that their next move will be to a
  16310. relational type system (probably about $200 for the upgrade), and then
  16311. another $500 for the OS version in about 2 years.
  16312.  
  16313. >>>>>>>>>> Msg 6031 reply #31
  16314.  
  16315.    conf: PROGRAMMING LANGUAGES  #6166  09-15-88  10:08  (Read 77 times)
  16316.    from: NED REITER
  16317.      to: JIM TOIGO (Rcvd)
  16318. subject: R: R: MORE ON CLARION  Reply to #6162
  16319.  
  16320. Jim,
  16321. Hm, I haven't received my bulletin yet.  I suspect they may have
  16322. sent it to my old address.  The USPS isn't too reliable at forwarding
  16323. my mail.
  16324.  
  16325. The BBS is only part of what you get for $100.  The telephone support,
  16326. bulletins and the free upgrade are also included.  Very reasonable
  16327. for a developer product.  I deal with another company that charges me
  16328. several thousands dollars for tech support and upgrades and doesn't
  16329. have a bulletin board with message capability.  At $100 per year plus
  16330. say, 3 upgrades, and if you bought Clarion on the street for $600, it
  16331. would be 2 years before you had $1000 invested.  Just one program
  16332. developed with Clarion for a customer should easily repay that
  16333. investment.  If you are only using it for your personal amusement
  16334. and amazement, it is a little costly, but then so is DBase when you
  16335. add a screen generator and compiler.  Computers for a hobby is not
  16336. cheap.
  16337. -- Ned --
  16338.  
  16339. >>>>>>>>>> Msg 6031 reply #32
  16340.  
  16341.    conf: PROGRAMMING LANGUAGES  #6168  09-15-88  22:26  (Read 75 times)
  16342.    from: JIM TOIGO
  16343.      to: NED REITER (Rcvd)
  16344. subject: R: R: MORE ON CLARION  Reply to #6166
  16345.  
  16346. Ned---
  16347.    
  16348. Clarion has payed for itself many times over.  I use it to write programs
  16349. for my wife's title insurance company.  So far I have her using Clarion
  16350. developed programs for payroll,  Accounts receiveable, fileing 1099B forms
  16351. (last year--the IRS changed the law <again> and I ampresently re-writng the
  16352. 1099S <which replaced the 1099B>.  We also use that program to file 1099
  16353. forms for other title companies, banks , etc. in the area at $4.00 per
  16354. entry.
  16355.    
  16356. I am just a little frustrated that I was to get one free upgrade and have
  16357. not received it yet.  I called the support center and they said they would
  16358. look into it.  Except for this minor inconvenience, I could not be happier
  16359. with the company.  Didn't mean to leave the wrong impression.
  16360.  
  16361. >>>>>>>>>> Msg 6031 reply #33
  16362.  
  16363.    conf: PROGRAMMING LANGUAGES  #6169  09-16-88  10:04  (Read 75 times)
  16364.    from: NED REITER
  16365.      to: JIM TOIGO (Rcvd)
  16366. subject: R: R: MORE ON CLARION  Reply to #6168
  16367.  
  16368. Jim,
  16369. Shortly after I said I hadn't received my bulletin, the mail came
  16370. and what do you think was there?  Yep, the bulletin.  I am sure
  16371. that tech support will take care of your upgrade.  If you need
  16372. a copy of 2004, I can help you out.  However, I am in Milwaukee
  16373. and don't get to Green Bay much.  We could transmit it but it
  16374. would be a long session.
  16375.  
  16376. -- Ned --
  16377.  
  16378. >>>>>>>>>> Msg 6031 reply #34
  16379.  
  16380.    conf: PROGRAMMING LANGUAGES  #6172  09-16-88  18:38  (Read 79 times)
  16381.    from: JIM TOIGO
  16382.      to: NED REITER (Rcvd)
  16383. subject: R: R: MORE ON CLARION  Reply to #6169
  16384.  
  16385. Ned--
  16386.    
  16387. Guess what was in the mail today?  I almost did cartwheels when I saw it.
  16388. Technical bulletins 100-108, but no diskettes to upgrade me to 2004.
  16389. I looked through my documentation and my 90 days of free technical support
  16390. was to include one free upgrade.  Still have not received it, but lets give
  16391. them the benefit of the doubt and a couple weeks to iron things out.  I
  16392. also wish that their BBS was PC-Pursuitable, then it would make it worth
  16393. the money to use it.  I agree that $120 for technical support is not too
  16394. bad if you do not have $50 / month of phone bills tacked onto it.  Maybe
  16395. they will put their board in Miami or something.
  16396.     
  16397. Does 2004 upgrade include some documentation on the .APP files?  That in
  16398. itself would be worth the $120.  As I said before, the 2 calls I have made
  16399. to them concerned the .APP files and modifying them to add some messages
  16400. and special processing.
  16401.    
  16402. Did you look at Karen's documentation of her proposed program.  It did not
  16403. look like it would be too difficult, with the exception of the keyword scan
  16404. of the descritions.
  16405.  
  16406. >>>>>>>>>> Msg 6031 reply #35
  16407.  
  16408.    conf: PROGRAMMING LANGUAGES  #6177  09-19-88  08:56  (Read 50 times)
  16409.    from: NED REITER
  16410.      to: JIM TOIGO
  16411. subject: R: R: MORE ON CLARION  Reply to #6172
  16412.  
  16413. I haven't seen the technical bulletins yet.  Maybe today's mail.
  16414. 2004 contains documentation of the .MDL files.  Enough that you
  16415. can modify them and add to them easily.
  16416.  
  16417. I am going to Karen's this morning to get her started up the learning
  16418. curve.  I think that once she gets the basic concepts, she will have
  16419. no trouble building applications with Designer.
  16420.  
  16421. -- Ned --
  16422.  
  16423. >>>>>>>>>> Msg 6031 reply #36  >>>Last msg in reply thread.
  16424. Returning to normal sequence.
  16425.  
  16426.    conf: PROGRAMMING LANGUAGES  #6032  08-18-88  22:21  (Read 96 times)
  16427.    from: KAREN LITTLE
  16428.      to: NED REITER (Rcvd)
  16429. subject: NUTS
  16430.  
  16431. I guess I said "I never payed attention".  Let's make that "paid"
  16432. attention, but I rarely do anyway.
  16433. ---------------
  16434.  
  16435.    conf: PROGRAMMING LANGUAGES  #6033  08-18-88  22:38  (Read 93 times)
  16436.    from: TOM FELLER
  16437.      to: LAMONT THOMAS (Rcvd)
  16438. subject: IRR ALGORITHM
  16439.  
  16440. Hi, Lamont
  16441.  Sorry I took so long to get back to you on the internal rate of return.
  16442.  This problem does not have a general easy solution.
  16443.  But, a computer can find a approximate solution using a
  16444.  numerical method.
  16445.  The first step is to write the equation out.
  16446.  A computer program could do this from NCF() data.
  16447.  This is needed because the NCF() function is not a actual equation.
  16448.  Then the solution could be found by trial and error.
  16449.  
  16450.  The equation   sum      NCF(n)
  16451.               n = 0..N   ------   = f(x) = 0
  16452.                          (1+r)^n
  16453.  can better be solved by the method of halving the interval.
  16454.  
  16455.  start with x1 = 0.1 = 100%
  16456.             x2 = 0.0 = 0%
  16457.     do
  16458.     {
  16459.         x3 = (x1+x2)/2;
  16460.         if f(x3) of opposite sign to f(x1)
  16461.             set x2 = x3;
  16462.         else
  16463.             set x1 = x3;
  16464.     }
  16465.     while (abs(f(x3)) > ftol
  16466.     
  16467.     x3 is the final value
  16468.     ftol is a tolerance you could use 0.001
  16469.     This should work if the irr is between 0% and 100%
  16470.     
  16471.     A better way would be to use the Secant method or Newtons method
  16472.     using the derivative of the function.
  16473.     
  16474.     f'(x) = (-n)NCF(n)(1+r)^(-b-1)
  16475.     
  16476.     set x1 = 0.5 or 50% or your best guess
  16477.     
  16478.     do
  16479.     {
  16480.         x2 = x1 - f(x)/f'(x);
  16481.         x1 = x2;
  16482.     }
  16483.     while (abs(f(x1)) > ftol
  16484.     
  16485.     This will require you to get the derivative of the function for
  16486.     all the elements of the summation.
  16487.     
  16488.     The computer program could do all the equation writting and solving
  16489.     given the N value and the NCF(n) values.
  16490.     
  16491.     Given the language, if not COBOL. I could write the function to solve
  16492.     it, for a small fee.
  16493.     
  16494.     -Tom Feller-
  16495. ---------------
  16496.  
  16497.    conf: PROGRAMMING LANGUAGES  #6073  08-23-88  13:01  (Read 103 times)
  16498.    from: LAMONT THOMAS
  16499.      to: TOM FELLER (Rcvd)
  16500. subject: R: IRR ALGORITHM  Reply to #6033
  16501.  
  16502. THANKS YOU FOR YOUR HELP. I WILL HAVE TO CHECK WITH MY PARTNER TO SEE IF
  16503. HOW BADLY WE NEED THIS.
  16504.  
  16505. >>>>>>>>>> Msg 6033 reply #1  >>>Last msg in reply thread.
  16506. Returning to normal sequence.
  16507.  
  16508.    conf: PROGRAMMING LANGUAGES  #6034  08-18-88  23:13  (Read 90 times)
  16509.    from: EDWARD MARCH
  16510.      to: ALL
  16511. subject: EPROM CODE W/ MASM ?
  16512.  
  16513. Can MASM QUICK-C or TURBO-C be used to burn code to run in eproms ?
  16514. how are segment areas like code and data handled ?
  16515. I assume the code (.obj) files are ok just that perhaps a linker
  16516. with a way to specify absolute address for each segment is needed...
  16517.    any help or suggestion anyone ?? please ?
  16518.  
  16519.  what are the alternatives for software development using a AT-clone
  16520. to get Code to run in EPROM under a NON-MSDOS system.....
  16521. I see a lot of $1500 c compilers and assemblers, what about
  16522. masm and turboc ???
  16523.      thanks  -Ed
  16524. ---------------
  16525.  
  16526.    conf: PROGRAMMING LANGUAGES  #6046  08-19-88  23:28  (Read 96 times)
  16527.    from: ROBERT KUBICHEK
  16528.      to: ALL
  16529. subject: TPAS-4.0
  16530.  
  16531. I AM LOOKING FOR A TP-4.0 UNIT THAT CAN ACCESS THE 16 COLOR MODE OF A
  16532. T1000, OR ANY WAY TO PRG IT IN TP4.
  16533. ---------------
  16534.  
  16535.    conf: PROGRAMMING LANGUAGES  #6047  08-20-88  00:58  (Read 97 times)
  16536.    from: EDWARD MARCH
  16537.      to: ALL
  16538. subject: NEED DR. DOBBS DEC'87
  16539.  
  16540. I am looking for December Of Dr. Dobbs Journal  1987
  16541. for an artical about buring eprom's from code produced by turbo-c
  16542.  
  16543. is the artical worth reading ??? If so i would appreciate a xerox
  16544. copy of it.... Ill send you some money for postage and copying...
  16545.  
  16546. also compuserve (i am not a member) has something under borland
  16547.   
  16548.  any info appreciated ---- THANKS MUCH !
  16549.   -Ed March
  16550.   1206 s. birch dr.
  16551.   mt. prospect, IL  60056
  16552. ---------------
  16553.  
  16554.    conf: PROGRAMMING LANGUAGES  #6052  08-20-88  09:54  (Read 105 times)
  16555.    from: JOSEPH NEIBRAND
  16556.      to: ALL
  16557. subject: DBASE III GRAPHICS
  16558.  
  16559.     I am trying to help a frien with the following problem. He is trying to
  16560. find a way to include the capability to produce bar, pie or line charts as
  16561. part of a business analysis program.
  16562.     This program was written in Dbase III and compiled in Clipper. It's
  16563. purpose is to analyze various business conditions and produce a report(s)
  16564. on the findings.
  16565.  
  16566.    1. He is looking for a way to include the ability to produce these
  16567.       graphs from within the program that can be compiled in Clipper.
  16568.       This can be a piece of PD or Shareware that can be licensed.
  16569.  
  16570.    2. He will also consider a commercial program that will produce these
  16571.       graphs but, the cost of selling a copy of such a program with each
  16572.       copy of the main program may impose some financial as well as "Ease
  16573.       of Use" considerations.
  16574.  
  16575.     If anyone has had any experience with such a capability or may have a
  16576. suggestion as to "how to go" along with any recommendations for programs
  16577. (PD or commercial), we would appreciate your input. He wants to graph the
  16578. results of the analysis and would prefer a line chart.
  16579.  
  16580.     Are there any available programs or libraries that can do this and can
  16581. they be incorporated into a compiled (Clipper) program?
  16582.  
  16583.     Thanks.
  16584.                                                Joseph Neibrand
  16585. ---------------
  16586.  
  16587.    conf: PROGRAMMING LANGUAGES  #6062  08-22-88  11:12  (Read 98 times)
  16588.    from: SCOTT KLEINHANS
  16589.      to: JOSEPH NEIBRAND (Rcvd)
  16590. subject: R: DBASE III GRAPHICS  Reply to #6052
  16591.  
  16592. Joe
  16593.   ProWorks offers a Graphics library for Clipper it is called Flipper, I
  16594. have the demo disk, although I have not purchased the Library it looks
  16595. pretty impressive.  You can call ProWorks and they will send you a demo
  16596. disk, I had mine in less than a week.  The price on Flipper is $195.00.
  16597.  
  16598.                   ProWorks
  16599.                   P.O. Box 1635
  16600.                   Hermiston, Or 97838
  16601.                   (503) 567-1459
  16602.  
  16603.    If you don't want to wait a week or so let me know and I'll Archive
  16604. and upload the contents of the demo disk.
  16605.  
  16606. Scott
  16607.  
  16608. >>>>>>>>>> Msg 6052 reply #1
  16609.  
  16610.    conf: PROGRAMMING LANGUAGES  #6066  08-22-88  21:58  (Read 102 times)
  16611.    from: JOSEPH NEIBRAND
  16612.      to: SCOTT KLEINHANS (Rcvd)
  16613. subject: R: R: DBASE III GRAPHICS  Reply to #6062
  16614.  
  16615. Scott,
  16616.      Thanks for taking the time to reply. I will pass along this
  16617. information to the interested party. If he cannot obtain a demo, I will ask
  16618. you to upload the demo here. Thank you.
  16619.                                             Joe
  16620.  
  16621. >>>>>>>>>> Msg 6052 reply #2  >>>Last msg in reply thread.
  16622. Returning to normal sequence.
  16623.  
  16624.    conf: PROGRAMMING LANGUAGES  #6053  08-20-88  16:11  (Read 102 times)
  16625.    from: GRANT ELLSWORTH
  16626.      to: JOHN HIBSCHER (Rcvd)
  16627. subject: R: TURBO 4.0  Reply to #6048
  16628.  
  16629. John, while I am no longer a regular TP user (I've switched to C as my more
  16630. regular programming tool), I do have tp 4.0 and have a few large complex
  16631. modules I've upgraded from TP3.0 to TP4.0.  I have had NO problems with
  16632. the .EXEs ... the programs I upgraded are running just fine.  Please be
  16633. specific about the nature and the manifestations of your problem(s).  Maybe
  16634. I can be of some help.  Grant
  16635. ---------------
  16636.  
  16637.    conf: PROGRAMMING LANGUAGES  #6059  08-21-88  20:24  (Read 96 times)
  16638.    from: WES PIKE
  16639.      to: ALL
  16640. subject: REDIRECT PRINTER OUTPUT
  16641.  
  16642.    Help - I recently took the plunge from C/PM to MS-DOS and need some
  16643. help.  I am trying to redirect printer output to my hard disk.  In C/PM
  16644. it was a simple command - PUT PRINTER TO FILE.XXX - and when you were
  16645. finished you could redirect back to the printer with - PUT PRINTER TO
  16646. PRINTER.  I have read all that I can find in the MS-DOS manual about
  16647. pipes, redirection, and modes, but nothing seems to work.  Can some-
  16648. one give me the proper MS-DOS procedure to do this. Is it available in
  16649. MS-DOS?(I sure hope so!).
  16650.                             Thank You, WES
  16651. ---------------
  16652.  
  16653.    conf: PROGRAMMING LANGUAGES  #6076  08-23-88  22:22  (Read 102 times)
  16654.    from: THOMAS ATKINSON
  16655.      to: WES PIKE (Rcvd)
  16656. subject: R: REDIRECT PRINTER OUTP  Reply to #6059
  16657.  
  16658. The topic has come up before, i never use them but try a scan in Mahoney
  16659. for redirect or printer or something on that order.
  16660.  
  16661. >>>>>>>>>> Msg 6059 reply #1  >>>Last msg in reply thread.
  16662. Returning to normal sequence.
  16663.  
  16664.    conf: PROGRAMMING LANGUAGES  #6065  08-22-88  20:12  (Read 101 times)
  16665.    from: TOM MCCORMICK
  16666.      to: ALL
  16667. subject: .C OR TP4 COMM SOURCE?
  16668.  
  16669. Can anyone recommend a good set of c or tp4 source code
  16670. as a starting point for my personal use as a modem program.
  16671. I have done several async programs in other languages.
  16672. The code should be in the public domain (NOT encumbered).
  16673. Thank you for your suggestions.
  16674. ---------------
  16675.  
  16676.    conf: PROGRAMMING LANGUAGES  #6069  08-22-88  23:19  (Read 102 times)
  16677.    from: GLEN THOMPSON
  16678.      to: TOM MCCORMICK (Rcvd)
  16679. subject: R: .C OR TP4 COMM SOURCE  Reply to #6065
  16680.  
  16681. Tom,
  16682.    
  16683. I think Pib Burns has a TP4 source file in the Mahoney collection that
  16684. handles rudimentary communications stuff.  You can also get the source to
  16685. his PIBTERM program.  Just scan for PIB.
  16686.   
  16687. glen
  16688.  
  16689. >>>>>>>>>> Msg 6065 reply #1
  16690.  
  16691.    conf: PROGRAMMING LANGUAGES  #6074  08-23-88  20:05  (Read 102 times)
  16692.    from: TOM MCCORMICK
  16693.      to: GLEN THOMPSON (Rcvd)
  16694. subject: R: R: .C OR TP4 COMM SOU  Reply to #6069
  16695.  
  16696. Thanks for the tip re PIB TP4 source for an async comm pgm, Glen.
  16697.  
  16698. >>>>>>>>>> Msg 6065 reply #2
  16699.  
  16700.    conf: PROGRAMMING LANGUAGES  #6077  08-23-88  22:25  (Read 101 times)
  16701.    from: THOMAS ATKINSON
  16702.      to: TOM MCCORMICK (Rcvd)
  16703. subject: R: .C OR TP4 COMM SOURCE  Reply to #6065
  16704.  
  16705. TP4, ASYNC4U, for both TP4,C and just about anything FOSSIL...
  16706.  
  16707. >>>>>>>>>> Msg 6065 reply #3
  16708.  
  16709.    conf: PROGRAMMING LANGUAGES  #6079  08-24-88  18:18  (Read 101 times)
  16710.    from: TOM MCCORMICK
  16711.      to: THOMAS ATKINSON (Rcvd)
  16712. subject: R: R: .C OR TP4 COMM SOU  Reply to #6077
  16713.  
  16714. Thanks for reply to my msg 6065, Tom.
  16715. I appreciate the help.
  16716.  
  16717. >>>>>>>>>> Msg 6065 reply #4  >>>Last msg in reply thread.
  16718. Returning to normal sequence.
  16719.  
  16720.    conf: PROGRAMMING LANGUAGES  #6070  08-22-88  23:23  (Read 106 times)
  16721.    from: MIKE YAKLIN
  16722.      to: ALL
  16723. subject: PS/2 MODEL 25
  16724.  
  16725. Is anyone aware of the model, submodel and BIOS rev values for the model
  16726. 25?  I have in general found the model ID bytes to be a decent way of
  16727. identifying the type of machine a program is running on, but cannot find
  16728. what the values are for the Model 25.
  16729.  
  16730. For those who do not know, Int 15, svc 0ch (i think) returns in ES:BX a
  16731. pointer to a table of values: byte 1 is usually 8 which is the length of
  16732. the table, next is a byte identifying the Model (AT, 386, 8088 etc) next is
  16733. a submodel byte (differentiates a XT/286 from a AT, or a Early 6Mhz AT from
  16734. a later 8 MHz), next is the Bios Revision level - usually no big difference
  16735. like a ?.0x software release.  Finally a feature byte that indicates
  16736. different hardware installed.
  16737.  
  16738. If anyone knows the Model, sub and Bios Rev values for a PS/2 25, I'd
  16739. appreciate hearing from you.
  16740.  
  16741. Thanks,
  16742. Mike
  16743. ---------------
  16744.  
  16745.    conf: PROGRAMMING LANGUAGES  #6075  08-23-88  20:10  (Read 109 times)
  16746.    from: DAN BUDIAC
  16747.      to: ALL
  16748. subject: C
  16749.  
  16750. I'm thinking of taking up C, and am wondering what the difference is
  16751. between Microsoft C and Microsoft QuickC (besides about 8" on the box). No
  16752. need to push any other compilers; I'm used to the environment of QuickB
  16753. ASIC. Also, are there any books out on how to program in the MS Windows
  16754. environment with C or BASIC?
  16755. ---Dan---
  16756. ---------------
  16757.  
  16758.    conf: PROGRAMMING LANGUAGES  #6080  08-24-88  19:20  (Read 107 times)
  16759.    from: TIM NESHAM
  16760.      to: DAN BUDIAC (Rcvd)
  16761. subject: R: C  Reply to #6075
  16762.  
  16763.    Also about $165 and CODEVIEW. And MSC 5.1 works a bit better.
  16764.   A bevy of utilities and 3 nice thick ring binders.
  16765.  
  16766.      Tim
  16767.  
  16768. >>>>>>>>>> Msg 6075 reply #1  >>>Last msg in reply thread.
  16769. Returning to normal sequence.
  16770.  
  16771.    conf: PROGRAMMING LANGUAGES  #6086  08-25-88  19:46  (Read 112 times)
  16772.    from: GRANT ELLSWORTH
  16773.      to: DAN BUDIAC (Rcvd)
  16774. subject: C / BOOKS
  16775.  
  16776. DAn, Tom Nesham summarized the diff twixt the full MSC 5.1 and QC systems
  16777. quite nicely.  QC can produce code to do the same functions as you could do
  16778. in the full  MSC.  Books:  I've seen some rather detailed C boks targetted
  16779. at QC and MSC programmers at the B. Dalton bookstores in my area.  The best
  16780. seem to be those published under the Waite Group label.  Check those out
  16781. for your own use ... they mnay meet your needs.  Grant
  16782. ---------------
  16783.  
  16784.    conf: PROGRAMMING LANGUAGES  #6087  08-25-88  20:47  (Read 107 times)
  16785.    from: UWM COMPUTING
  16786.      to: ALL
  16787. subject: QBASIC WATCHPOINT
  16788.  
  16789. Can anyone tell me why QuickBASIC 4.0 sometimes decides that a
  16790. variable is UNWATCHABLE ???  I'm speaking of the Alt-D W  feature,
  16791. the Debug Set Watchpoint, which allows you to -BREAK- the program
  16792. when a specified variable contains a certain value.  Most of the
  16793. time it works, but occasionally (especially when I REALLY NEED TO
  16794. KNOW WHERE IN THE CODE SOMETHING IS CHANGING), QB comes back with
  16795. the message "<Not Watchable>" on the watchpoint status line, above
  16796. the source listing.
  16797.  
  16798. WHY IS THIS?
  16799.  
  16800. Does it have anything to do with subprogram usage (CALL SUB) or
  16801. perhaps the use of the COM port for input and output?  I doubt
  16802. it...  Any ideas?
  16803.  
  16804. -Thank you- Mark.
  16805. ---------------
  16806.  
  16807.    conf: PROGRAMMING LANGUAGES  #6088  08-25-88  22:11  (Read 112 times)
  16808.    from: JOHN GRANT
  16809.      to: UWM COMPUTING (Rcvd)
  16810. subject: R: QBASIC WATCHPOINT  Reply to #6087
  16811.  
  16812. Is this peculiar to SUBs and FUNCTIONs?
  16813.  
  16814. Does it happen to COMMON SHARED variables?
  16815.  
  16816. >>>>>>>>>> Msg 6087 reply #1
  16817.  
  16818.    conf: PROGRAMMING LANGUAGES  #6089  08-26-88  07:41  (Read 112 times)
  16819.    from: UWM COMPUTING
  16820.      to: JOHN GRANT (Rcvd)
  16821. subject: R: R: QBASIC WATCHPOINT  Reply to #6088
  16822.  
  16823. Is there an ECHO around here?  Thanks, Curly!  (Or is it Shemp?)
  16824. -MX
  16825.  
  16826. >>>>>>>>>> Msg 6087 reply #2
  16827.  
  16828.    conf: PROGRAMMING LANGUAGES  #6090  08-26-88  12:39  (Read 115 times)
  16829.    from: RALPH KREIPLE
  16830.      to: UWM COMPUTING (Rcvd)
  16831. subject: R: R: QBASIC WATCHPOINT  Reply to #6089
  16832.  
  16833. I believe that variables are unwatchable if they are in subroutines, check
  16834. the section on Debugging, I'm sure I saw something to that effect.
  16835.  
  16836. Ralph
  16837.  
  16838. >>>>>>>>>> Msg 6087 reply #3  >>>Last msg in reply thread.
  16839. Returning to normal sequence.
  16840.  
  16841.    conf: PROGRAMMING LANGUAGES  #6091  08-26-88  22:10  (Read 112 times)
  16842.    from: DAN BUDIAC
  16843.      to: ALL
  16844. subject: QUICKBASIC 4
  16845.  
  16846. Does anyone know how to read and reset the archive bit on a file using
  16847. QuickBASIC 4.0?
  16848.  
  16849. --Dan--
  16850. ---------------
  16851.  
  16852.    conf: PROGRAMMING LANGUAGES  #6092  08-27-88  07:16  (Read 108 times)
  16853.    from: PHIL HILL
  16854.      to: DAN BUDIAC (Rcvd)
  16855. subject: R: QUICKBASIC 4  Reply to #6091
  16856.  
  16857. Dan,
  16858.  
  16859. You can do it with the example under CALL INTERRUPT on p. 90-91
  16860. of the QB4 manual, except:
  16861.    1) Change &HFD to &HDF, and change &H2 to &H20
  16862.    2) Fix the misprint by changing OutRegs.cx to OutRegs.ax on
  16863.       the right side of the same lines.
  16864. The new lines should read:
  16865.     IF Action$ = "U" THEN
  16866.        InRegs.cx = OutRegs.ax AND &HDF   ' archive bit off
  16867.     ELSE
  16868.        InRegs.cx = OutRegs.ax OR &H20    ' archive bit on
  16869.     END IF
  16870. Note, of course, that "H" and "U" take on new meanings.
  16871.     Phil Hill
  16872.  
  16873. >>>>>>>>>> Msg 6091 reply #1  >>>Last msg in reply thread.
  16874. Returning to normal sequence.
  16875.  
  16876.    conf: PROGRAMMING LANGUAGES  #6093  08-28-88  03:50  (Read 123 times)
  16877.    from: STEPHEN ROSS
  16878.      to: PHIL KATZ (Rcvd)
  16879. subject: PLEASE WRITE THIS
  16880.  
  16881. Phil,
  16882.  
  16883.    Gabe Ceci and I were Bullroaring in Writers and came up with an idea
  16884. that someone will make a fortune on.  It might as well be you.
  16885.  
  16886.    It catalogues files automatically as you write them.  Name, type, maybe
  16887. first few lines if a WP program, or title from a spreadsheet, etc.  Keeps
  16888. track of everything.  We were fooling around about autmatic back-up, so if
  16889. you can write it so it actually copies itself to a floppy, automatically
  16890. ejecting full floppies and replacing with new ones, that would be great.
  16891. However ...
  16892.  
  16893.    Even without the impossible, why not the possible?  All the cataloguing
  16894. programs that I'm aware of require the user to do something.  Why not one
  16895. that does it automatically.  Perhaps even a pop-up window after each file
  16896. is closed allowing a comment or key word entries by the user?
  16897.  
  16898.    As Gabe said, it'd make millions.
  16899.  
  16900. Steve
  16901. ---------------
  16902.  
  16903.    conf: PROGRAMMING LANGUAGES  #6098  08-30-88  21:59  (Read 104 times)
  16904.    from: GRANT ELLSWORTH
  16905.      to: STEPHEN ROSS (Rcvd)
  16906. subject: R: PLEASE WRITE THIS  Reply to #6093
  16907.  
  16908. I think the shareware/PD program WHAT(IS)(WHATDIR?) already does most of
  16909. this.  Grant
  16910.  
  16911. >>>>>>>>>> Msg 6093 reply #1
  16912.  
  16913.    conf: PROGRAMMING LANGUAGES  #6100  08-30-88  23:35  (Read 106 times)
  16914.    from: PHIL KATZ
  16915.      to: STEPHEN ROSS (Rcvd)
  16916. subject: R: PLEASE WRITE THIS  Reply to #6093
  16917.  
  16918. Stephen,
  16919.  
  16920. Uh, sounds excellent to me.  I think I'll have some spare
  16921. time between 10:17pm and 10:42pm this Saturday, so I'll
  16922. see if I can whip something up.
  16923.  
  16924. >Phil>
  16925. P.S. Oh yeah, would it have to work under OS/2 too?
  16926.  
  16927. >>>>>>>>>> Msg 6093 reply #2
  16928.  
  16929.    conf: PROGRAMMING LANGUAGES  #6101  08-31-88  06:34  (Read 106 times)
  16930.    from: STEPHEN ROSS
  16931.      to: GRANT ELLSWORTH (Rcvd)
  16932. subject: R: R: PLEASE WRITE THIS  Reply to #6098
  16933.  
  16934. Automatically creates a log of new files?  If it pops up for a comment I
  16935. want it.  Thanks. Even if it doesn't pop up it might be what I'm
  16936. describing.
  16937.  
  16938. Steve
  16939.  
  16940. >>>>>>>>>> Msg 6093 reply #3
  16941.  
  16942.    conf: PROGRAMMING LANGUAGES  #6102  08-31-88  06:42  (Read 103 times)
  16943.    from: STEPHEN ROSS
  16944.      to: PHIL KATZ (Rcvd)
  16945. subject: R: R: PLEASE WRITE THIS  Reply to #6100
  16946.  
  16947. Phil,
  16948.  
  16949. If I'd known it would take you so long (15 min) I never would have
  16950. suggested it.
  16951.  
  16952. As you know *I* don't know beans about real programming, but would it
  16953. really be so hard?  Couldn't a program monitor what's happening and
  16954. whenever a file was closed, it would go into action?
  16955.  
  16956. And the pop-up would close instantly if a CR was the first entry so you
  16957. wouldn't have to do anything with al the saves while working?
  16958.  
  16959. Seems quite simple to me.  So simple, in fact, that I'll leave it to you.
  16960.  
  16961. Steve
  16962.  
  16963. >>>>>>>>>> Msg 6093 reply #4  >>>Last msg in reply thread.
  16964. Returning to normal sequence.
  16965.  
  16966.    conf: PROGRAMMING LANGUAGES  #6094  08-28-88  16:51  (Read 111 times)
  16967.    from: PASCAL ROY
  16968.      to: ALL
  16969. subject: QUICKSILVER PROGRAMERS
  16970.  
  16971. We have just purchased the source code of CAN (Customer And Notes), and we
  16972. are looking for improvements of this program written in QUICKSILVER 1.2
  16973. (version 1.1 OK). We have a wish list which will be sent upon request to
  16974. anyone interested to do the programing for us. (requires at list 10 to
  16975. 15 hours of programing).
  16976. If you are interested, please leave me a message on EXECPC, write to :
  16977. SAINT ANDRE INTERNATIONAL, 1431 Broadway, 4th Floor. NEW YORK, NY 10018, or
  16978. call (business hours only) : (212) 840-1170.
  16979. This is relatively urgent.
  16980. Pascal Roy / Saint Andre International.
  16981. ---------------
  16982.  
  16983.    conf: PROGRAMMING LANGUAGES  #6095  08-29-88  08:22  (Read 109 times)
  16984.    from: LOWELL DENNING
  16985.      to: ALL
  16986. subject: CLARION
  16987.  
  16988. You guys have done it to me again.  Every time I listen to all the stories
  16989. about a new software package I can't stay away from it.  After listening to
  16990. everything about Clarion I could not stand it any more.  I ordered it
  16991. this morning and can't wait to get it.  Programmer's Connection in
  16992. Ohio has it for $595 including free shipping.
  16993. ---------------
  16994.  
  16995.    conf: PROGRAMMING LANGUAGES  #6097  08-30-88  19:21  (Read 102 times)
  16996.    from: JIM TOIGO
  16997.      to: LOWELL DENNING (Rcvd)
  16998. subject: R: CLARION  Reply to #6095
  16999.  
  17000. I think you'll be very suprised by Clarion and that it will become
  17001. a favorite tool in your arsenal.
  17002.    
  17003. We are developing mainframe applications at work right now using
  17004. DB2 database and AS for an application generator and I have yet
  17005. to find a mainframe package that has all the bells and whistles that
  17006. Clarion does.
  17007.  
  17008. >>>>>>>>>> Msg 6095 reply #1
  17009.  
  17010.    conf: PROGRAMMING LANGUAGES  #6103  08-31-88  19:55  (Read 100 times)
  17011.    from: LOWELL DENNING
  17012.      to: JIM TOIGO (Rcvd)
  17013. subject: R: R: CLARION  Reply to #6097
  17014.  
  17015. Jim,
  17016.    It arrived today and my mouth is already watering at the prospects
  17017. that this software can give me in developing applications.
  17018.  
  17019. >>>>>>>>>> Msg 6095 reply #2
  17020.  
  17021.    conf: PROGRAMMING LANGUAGES  #6105  08-31-88  20:33  (Read 103 times)
  17022.    from: JIM TOIGO
  17023.      to: LOWELL DENNING (Rcvd)
  17024. subject: R: R: CLARION  Reply to #6103
  17025.  
  17026. Be careful not to dribble on your keyboard <grin>.
  17027.   
  17028. Also be sure to work through the practice exercise, as it will help
  17029. a lot.  If you want to get into designer, I can upload an .APP
  17030. file for you to take a look at.
  17031.  
  17032. >>>>>>>>>> Msg 6095 reply #3
  17033.  
  17034.    conf: PROGRAMMING LANGUAGES  #6107  08-31-88  23:22  (Read 102 times)
  17035.    from: LOWELL DENNING
  17036.      to: JIM TOIGO (Rcvd)
  17037. subject: R: R: CLARION  Reply to #6105
  17038.  
  17039. Jim,
  17040.    That would be great.  It would definitely help
  17041.               Thank you,
  17042.               Lowell
  17043.  
  17044. >>>>>>>>>> Msg 6095 reply #4  >>>Last msg in reply thread.
  17045. Returning to normal sequence.
  17046.  
  17047.    conf: PROGRAMMING LANGUAGES  #6096  08-30-88  18:11  (Read 108 times)
  17048.    from: LOWELL DENNING
  17049.      to: ALL
  17050. subject: TURBO C 2.0 & PASCAL 5.0
  17051.  
  17052. Anyone interested in upgrading to Turbo C 2.0 and Pascal 5.0 with
  17053. Turbo Debugger 1.0 and Turbo Assembler 1.0 can now call Borland to
  17054. upgrade.  They are expected to ship around Oct. 1.  For everything, it's
  17055. $149.95 plus $5 S&H.  For just one or the other it's $99.95 plus $5 or
  17056. $49.95 for just the C or Pascal with no standalone debugger or
  17057. assembler.  Both do now have integrated modest debuggers built in.
  17058. ---------------
  17059.  
  17060.    conf: PROGRAMMING LANGUAGES  #6099  08-30-88  22:01  (Read 108 times)
  17061.    from: GRANT ELLSWORTH
  17062.      to: LOWELL DENNING (Rcvd)
  17063. subject: R: TURBO C 2.0 & PASCAL  Reply to #6096
  17064.  
  17065. Lowell, clarify please ... is that $$$ cost to upgrade or cost to start at
  17066. square one!???  Grant
  17067.  
  17068. >>>>>>>>>> Msg 6096 reply #1
  17069.  
  17070.    conf: PROGRAMMING LANGUAGES  #6104  08-31-88  19:59  (Read 110 times)
  17071.    from: LOWELL DENNING
  17072.      to: GRANT ELLSWORTH (Rcvd)
  17073. subject: R: R: TURBO C 2.0 & PASC  Reply to #6099
  17074.  
  17075. Grant,
  17076.    Those are the upgrade prices.  The retail prices are $149.95 each for
  17077. C or Pascal.  $149.95 for the debugger and assembler together, or
  17078. $249.95 for one language, the assembler and the debugger.  Those prices
  17079. caught up to Microsoft in a big hurry didn't they!  Borland's order
  17080. desk is taking the upgrade orders right now, but they are insistent that
  17081. there is no firm release date yet.
  17082.                               Lowell
  17083.                               Silver Spring, MD
  17084.  
  17085. >>>>>>>>>> Msg 6096 reply #2
  17086.  
  17087.    conf: PROGRAMMING LANGUAGES  #6106  08-31-88  21:30  (Read 110 times)
  17088.    from: GRANT ELLSWORTH
  17089.      to: LOWELL DENNING (Rcvd)
  17090. subject: R: R: TURBO C 2.0 & PASC  Reply to #6104
  17091.  
  17092. OUCH!  Maybe we should switch to MIX! Grant
  17093.  
  17094. >>>>>>>>>> Msg 6096 reply #3
  17095.  
  17096.    conf: PROGRAMMING LANGUAGES  #6108  08-31-88  23:26  (Read 113 times)
  17097.    from: LOWELL DENNING
  17098.      to: GRANT ELLSWORTH (Rcvd)
  17099. subject: R: R: TURBO C 2.0 & PASC  Reply to #6106
  17100.  
  17101. Borland sure has seemed to abandoned that "famous" strategy by
  17102. attracting business through attractive prices.  Turbo C for $100
  17103. list plus the $40 upgrade to 1.5 and now the $100 upgrade to the
  17104. 2.0 with a debugger that many compilers have already included
  17105. leaves one at $240.  Not exactly like the Borland good old days!!
  17106.  
  17107. >>>>>>>>>> Msg 6096 reply #4
  17108.  
  17109.    conf: PROGRAMMING LANGUAGES  #6111  09-02-88  20:31  (Read 109 times)
  17110.    from: GRANT ELLSWORTH
  17111.      to: LOWELL DENNING (Rcvd)
  17112. subject: R: R: TURBO C 2.0 & PASC  Reply to #6108
  17113.  
  17114. Yep, Lowell, I agree --- Borland seems to have abandoned the real low $$$
  17115. market.  However, I do note:
  17116.   
  17117.   Borland List  + Upgrade  < Watcom C 6.5 (Street) < MSC5.1 (Street)
  17118.     $100       $100 + $ 40         $265                   $295
  17119.   
  17120. and, if you purchased TC1.0 at street ($64 - $68), it is even less by
  17121. comparison.  Now, if the alleged optimization improvements approach MSC 5.1
  17122. or WC 6.5 AND the compile time is still in the neighborhood of what we see
  17123. in TC1.5 .... Borland's C is still a bargain ... albeit a little less of
  17124. a bargain.  If WatcomC development environment wass any bettter than the
  17125. rubbish it is, right now, I'd say WC6.5 was the best choice for a
  17126. professional development kit --- pending what we see from Borland on TC
  17127. 2.0.  Grant
  17128.  
  17129. >>>>>>>>>> Msg 6096 reply #5  >>>Last msg in reply thread.
  17130. Returning to normal sequence.
  17131.  
  17132.    conf: PROGRAMMING LANGUAGES  #6109  09-01-88  19:13  (Read 109 times)
  17133.    from: JOHN GRANT
  17134.      to: ALL
  17135. subject: FIELD & SCREEN
  17136.  
  17137. is now online 24hrs at 414-529-9690...
  17138. ---------------
  17139.  
  17140.    conf: PROGRAMMING LANGUAGES  #6110  09-02-88  19:47  (Read 104 times)
  17141.    from: JOHN GRANT
  17142.      to: ALL
  17143. subject: FIELD & SCREEN
  17144.  
  17145. is alive and well and online 24hrs...414-529-9690.
  17146.  
  17147. A BBS for dBASE and your favorite compiler.
  17148. ---------------
  17149.  
  17150.    conf: PROGRAMMING LANGUAGES  #6112  09-03-88  21:42  (Read 93 times)
  17151.    from: JIM TOIGO
  17152.      to: KAREN LITTLE (Rcvd)
  17153. subject: CLARION AGAIN
  17154.  
  17155. Karen---
  17156.    
  17157. Haven't heard too much from you RE: CLARION.  How goes it?
  17158. ---------------
  17159.  
  17160.    conf: PROGRAMMING LANGUAGES  #6113  09-03-88  22:08  (Read 96 times)
  17161.    from: DEAN ROTH
  17162.      to: ALL
  17163. subject: SAS C
  17164.  
  17165. SAS (publishers of Statistical Analysis Software - thus "SAS", and a C
  17166. compiler for IBM mainframes) has annouced:
  17167.  
  17168.    SAS C Compiler - Student Edition
  17169.  
  17170. According to the new products blurb in "The C Users Journal", the compiler
  17171. is a full-function C compiler for MS-DOS and a comprehensive C tutorial.
  17172. That's about all I know about it, other than price and address: $29.00
  17173.  
  17174.  Book Sales Department
  17175.  SAS Institute, Inc.
  17176.  Box 8000
  17177.  Cary, NC 27512-8000     (919)467-8000
  17178.  
  17179. -Dean
  17180. ---------------
  17181.  
  17182.    conf: PROGRAMMING LANGUAGES  #6116  09-04-88  08:16  (Read 102 times)
  17183.    from: PAT SHEA
  17184.      to: DEAN ROTH (Rcvd)
  17185. subject: R: SAS C  Reply to #6113
  17186.  
  17187. Dean,
  17188.  
  17189. just as a FYI:
  17190.  
  17191.    SAS Institute owns Lattice, Inc. of C compiler fame.
  17192.  
  17193. They bought 'em a couple of years, ago.
  17194.  
  17195. happyhacking,
  17196. pats...
  17197.  
  17198. >>>>>>>>>> Msg 6113 reply #1
  17199.  
  17200.    conf: PROGRAMMING LANGUAGES  #6119  09-04-88  23:42  (Read 100 times)
  17201.    from: GRANT ELLSWORTH
  17202.      to: DEAN ROTH (Rcvd)
  17203. subject: R: SAS C  Reply to #6113
  17204.  
  17205. Dean, since SAS originally exported Lattice C (don't know which release
  17206. was the baseline) to the IBM Mainframe (and made a big broohaha about it),
  17207. is it possible that this student edition is a retrofit of the original
  17208. Lattice C as exported(retrofitted/re-engineered) to the Mainframe?  Grant
  17209.  
  17210. >>>>>>>>>> Msg 6113 reply #2
  17211.  
  17212.    conf: PROGRAMMING LANGUAGES  #6120  09-05-88  18:21  (Read 99 times)
  17213.    from: DEAN ROTH
  17214.      to: GRANT ELLSWORTH (Rcvd)
  17215. subject: R: R: SAS C  Reply to #6119
  17216.  
  17217. The brief description of the SAS "student edition" C compiler also mentions
  17218. the "main features": (and I quote from Sept./Oct. 1988 "The C Users
  17219. Journal" without permission)
  17220.  
  17221. "Main features are a "load-and-go" compiler that works entirely in memory
  17222. without creating an external executable file;"...
  17223.  
  17224. No mention is made of the ability to create an executable file. I suspect
  17225. SAS would encourage one to purchase the "regular" compiler for that. But
  17226. maybe it will create executable files.
  17227.  
  17228. For those looking for a low cost compiler: There are other *cheap*
  17229. C compilers. When selecting a compiler, one should consider more than cost,
  17230. especially if the compiler will be used for more than "basement tinkering".
  17231. This could become a long article, so I will quit here. But if anyone needs
  17232. help selecting a compiler, I and others will be happy to provide
  17233. guidelines.
  17234. -Dean
  17235.  
  17236. >>>>>>>>>> Msg 6113 reply #3
  17237.  
  17238.    conf: PROGRAMMING LANGUAGES  #6154  09-13-88  23:27  (Read 79 times)
  17239.    from: DAVE KOCOL
  17240.      to: DEAN ROTH (Rcvd)
  17241. subject: R: R: SAS C  Reply to #6120
  17242.  
  17243. Dean,
  17244.  
  17245. I would very much be interested to hear your views on c compilers, and what
  17246. you think of Turbo Pascal.
  17247.  
  17248. Thanks,
  17249.  
  17250. Dave
  17251.  
  17252. >>>>>>>>>> Msg 6113 reply #4
  17253.  
  17254.    conf: PROGRAMMING LANGUAGES  #6157  09-14-88  19:04  (Read 74 times)
  17255.    from: DEAN ROTH
  17256.      to: DAVE KOCOL (Rcvd)
  17257. subject: R: R: SAS C  Reply to #6154
  17258.  
  17259. RE: My opinions on C compilers and Turbo Pascal
  17260.  
  17261. Well, that's a wide open question.  Do you have more specific questions?
  17262. Do you mean DOS, UNIX or all C compilers?  Are you asking for a DOS C
  17263. compiler recommendation?  I need to know more of what you are thinking,
  17264. otherwise anything I say can be miscontrued.
  17265.  
  17266. The same for Turbo Pascal. In what context are you looking for opinions?
  17267. Are you in the position of selecting C or Pascal as the development
  17268. language for an organization/project, thinking of learning one of the
  17269. languages for at home tinkering, or what?
  17270.  
  17271. FYI: I've used C compilers under MS-DOS, UNIX (BSD, SunOS, Xenix), AOS,
  17272. VMS, and probably another OS I've forgotten.  Every C compiler I've met has
  17273. been broken in some manner.  It's my development language of choice - but
  17274. before anyone says anything, you also have to know in what environments I
  17275. work and the type of software that is created.  (The only other "real"
  17276. option is assembler.)
  17277.  
  17278. I used Turbo Pascal three years ago for six months, and cannot say I have
  17279. any fond memories of that time.
  17280. -Dean
  17281.  
  17282. >>>>>>>>>> Msg 6113 reply #5
  17283.  
  17284.    conf: PROGRAMMING LANGUAGES  #6163  09-14-88  23:46  (Read 75 times)
  17285.    from: DAVE KOCOL
  17286.      to: DEAN ROTH (Rcvd)
  17287. subject: R: R: SAS C  Reply to #6157
  17288.  
  17289. Dean,
  17290.  
  17291. Yes, I'm in DOS. I obtained a cheap copy of Turbo Pascal, and have been
  17292. playing with it. I know that C is an up and coming (in fact, it's here and
  17293. now), and would like to go to C, running on my PC. I've heard about Turbo
  17294. C, MS C, etc...
  17295.  
  17296. This would be minor projects in the home and workplace, with lots of I/O.
  17297.  
  17298. Is that a little clearer?
  17299.  
  17300. Thanks for responding, and the advice!
  17301.  
  17302. Dave
  17303.  
  17304. >>>>>>>>>> Msg 6113 reply #6
  17305.  
  17306.    conf: PROGRAMMING LANGUAGES  #6167  09-15-88  21:08  (Read 74 times)
  17307.    from: DEAN ROTH
  17308.      to: DAVE KOCOL (Rcvd)
  17309. subject: R: R: SAS C  Reply to #6163
  17310.  
  17311. RE: C and (Turbo) Pascal
  17312.  
  17313. The low cost DOS C compiler chosen by 9 of 10 programmers stranded on a
  17314. deserted island is Turbo C.  I have not used it, so I cannot say anything
  17315. about it.  Others have said a lot about it in this conference, though.
  17316. I have QuickC. It came with my MS C "optimizing" compiler. I don't like it
  17317. - too restrictive for me. Maybe I should retry it since I now have a mouse.
  17318.  
  17319. BTW: someday real-soon-now, I will report on the Sun 386i as a DOS
  17320. development system.  The machine uses a 3.5" drive, and my PC does not.  I
  17321. installed a 5.25" drive, and it will not read 360KB disks.  So, I cannot
  17322. yet transfer my DOS software to the Sun.  But I'll find a way
  17323. real-soon-now.
  17324.  
  17325. You want to have "real fun"(tm)?  Try programming Sun windows. They are
  17326. fantastic when they work.  But the manuals leave MUCH to be desired.
  17327. -Dean
  17328.  
  17329. >>>>>>>>>> Msg 6113 reply #7  >>>Last msg in reply thread.
  17330. Returning to normal sequence.
  17331.  
  17332.    conf: PROGRAMMING LANGUAGES  #6114  09-03-88  22:54  (Read 96 times)
  17333.    from: MICHEALLE LESKANIC
  17334.      to: MICHAEL BERA (Rcvd)
  17335. subject: R: QUICKBASIC 4 .EXE  Reply to #5135
  17336.  
  17337. I am not sure if this has a connection but QB4 is notorios for generating
  17338. strange link options when creating .EXE's inside the environment. It places
  17339. all the user libraries in the .EXE instead of just the refrenced
  17340. SUBS/FUNCTIONS. This problem is corrected in release 4.00b. MS was very
  17341. cooperative with me when I upgraded. The 4.00b version also implements
  17342. several new commands: SLEEP - pauses for certain amount of time or until
  17343. keypressed or an event happens. Also implemented is user-defined events. I
  17344. haven't quite figured them out - the documentation is kind-of fuzzy.
  17345.                             Good luck,
  17346.                          Michealle Leskanic
  17347. ---------------
  17348.  
  17349.    conf: PROGRAMMING LANGUAGES  #6115  09-04-88  00:29  (Read 98 times)
  17350.    from: MICHEALLE LESKANIC
  17351.      to: MICHAEL BERA (Rcvd)
  17352. subject: QUICKBASIC 4.0
  17353.  
  17354.        Mike,
  17355.  
  17356.   Upon reflection of your original message, one experience comes to mind.
  17357. I have found that if you use an UNDECLARED string variable ( i.e  a string
  17358. that is not declared with a DIM statement ) in an OPEN statement may
  17359. causes unpredictable results, but only when the offending string is in a
  17360. SUB...END SUB block. In my situation, I was attempting to open a COM port
  17361. and was issued the infamous 'String space corrupt' message. When I talked
  17362. to MS they said there was a problem with several string manipulation
  17363. routines in QB 4.00, but they have been corrected in QB 4.00b. Although the
  17364. problems we both encountered seem to be only slightly simmilar, possibly
  17365. the offending routines in 4.00 are to blame in your case also. I would try
  17366. declaring the strings you use to OPEN the files ( if they aren't already
  17367. declare ) and see if your problem goes away. If not all you have to do is
  17368. call MS and request an upgrade. It was free in my case ( going from 4.00 to
  17369. 4.00b ) and I don't see why you should not be entitled to the new version
  17370. free of charge also.
  17371.  
  17372.                                   Hope this helps,
  17373.  
  17374.                                       Michealle.
  17375. ---------------
  17376.  
  17377.    conf: PROGRAMMING LANGUAGES  #6125  09-07-88  16:03  (Read 87 times)
  17378.    from: MICHAEL BERA
  17379.      to: MICHEALLE LESKANIC (Rcvd)
  17380. subject: R: QUICKBASIC 4.0  Reply to #6115
  17381.  
  17382.   Michealle,
  17383.     I have just received my upgrade copy of QuickBASIC 4.00b, but have not
  17384. had an opportunity to see if solves my problem.  You said MicroSoft was
  17385. cooperative about sending you the upgrade, but they were not as nice to me.
  17386. When I described my problem to MS representative, he responded that the
  17387. compiler was not at fault and the upgrade would not fix it.  So I had to
  17388. call back a second time to get a different representative, who was very
  17389. willing to send me the upgrade. (Which was delivered in about 8 weeks.)
  17390.   I will let you know if the upgrade fixes my problem.  Thanks for you
  17391. tips.
  17392.  *MB*
  17393.  
  17394. >>>>>>>>>> Msg 6115 reply #1  >>>Last msg in reply thread.
  17395. Returning to normal sequence.
  17396.  
  17397.    conf: PROGRAMMING LANGUAGES  #6117  09-04-88  18:09  (Read 102 times)
  17398.    from: DON SINK
  17399.      to: ALL
  17400. subject: JOBS
  17401.  
  17402.  
  17403. ---------------
  17404.  
  17405.    conf: PROGRAMMING LANGUAGES  #6121  09-05-88  21:47  (Read 98 times)
  17406.    from: JOHN GRANT
  17407.      to: ALL
  17408. subject: FIELD & SCREEN BBS
  17409.  
  17410.  Dedicated to dBASE and your favorite database compiler.
  17411.  24 hrs! (414) 529-9690. FREE! No upload requirements!
  17412. ---------------
  17413.  
  17414.    conf: PROGRAMMING LANGUAGES  #6122  09-05-88  22:52  (Read 97 times)
  17415.    from: DOUGLAS HAY
  17416.      to: ALL
  17417. subject: EGA 43 LINE CURSOR
  17418.  
  17419. I am currently using turbo C, ver 1.5.  When I change into the EGA 43 line
  17420. mode, the cursor disappears.  I try to turn it on, but can only get a block
  17421. cursor.  The support group at borland told me it is turned on the same way
  17422. in 43 line mode as in 25 line mode, but that doesn't work.  Any suggestions
  17423. would be appreciated.
  17424. ..DH..
  17425. ---------------
  17426.  
  17427.    conf: PROGRAMMING LANGUAGES  #6130  09-08-88  18:46  (Read 94 times)
  17428.    from: JOHN GRANT
  17429.      to: ALL
  17430. subject: FIELD & SCREEN BBS
  17431.  
  17432. -----------------------------------------------------------------
  17433.  Dedicated to dBASE, clones, and your favorite database compiler.
  17434.  24 hrs! (414) 529-9690.  No fees, no upload requirements.
  17435. -----------------------------------------------------------------
  17436. ---------------
  17437.  
  17438.    conf: PROGRAMMING LANGUAGES  #6134  09-11-88  16:54  (Read 80 times)
  17439.    from: LOWELL DENNING
  17440.      to: ALL
  17441. subject: CLARION
  17442.  
  17443. I have had a problem.  When going through my initial run-through of the
  17444. Clarion start-up guide, I finished the phone list program and was following
  17445. the directions to put in the locator field when I ran into trouble.  When
  17446. I follow the directions exactly and move the cursor to where the field is
  17447. supposed to be, I press Ctl-F and then get a field definition screen that
  17448. differs from the one in the manual.  I select "locator" field but the
  17449. window that then pops up is not the same one in the manual.  Customer
  17450. support was called on Friday and did not call me back.  Any ideas?
  17451. ---------------
  17452.  
  17453.    conf: PROGRAMMING LANGUAGES  #6138  09-12-88  09:12  (Read 82 times)
  17454.    from: NED REITER
  17455.      to: LOWELL DENNING (Rcvd)
  17456. subject: R: CLARION  Reply to #6134
  17457.  
  17458. Lowell,
  17459. I suspect you have Batch 2004.  The definition of locator and selector
  17460. fields has been changed significantly.  The selector is now specified
  17461. in the table definition window and the locator works differently.
  17462. Just go ahead and specify the locator field ( use the F1 help key )
  17463. and see what it does.  Also see the read.me file from disk 1.  It
  17464. contains description of the changes made since the manuals were
  17465. printed.
  17466.  
  17467. -- Ned --
  17468.  
  17469. >>>>>>>>>> Msg 6134 reply #1  >>>Last msg in reply thread.
  17470. Returning to normal sequence.
  17471.  
  17472.    conf: PROGRAMMING LANGUAGES  #6136  09-11-88  21:41  (Read 78 times)
  17473.    from: JOHN GRANT
  17474.      to: ALL
  17475. subject: FIELD & SCREEN BBS
  17476.  
  17477.  Dedicated to dBASE, clones, and your favorite database compiler.
  17478.  24 hrs! (414) 529-9690.  No fees, no upload requirements.
  17479. ---------------
  17480.  
  17481.    conf: PROGRAMMING LANGUAGES  #6142  09-12-88  21:01  (Read 81 times)
  17482.    from: BRUCE SHERMAN
  17483.      to: ALL
  17484. subject: BAD ALLOCATION TABLE
  17485.  
  17486. For the first time, my computer system is giving a message of
  17487. Bad Allocation Table -- Drive D.  This has occurred only when
  17488. a Turbopascal program I have written, creates several hundred
  17489. records on disk using the Turbopascal toolbox (version 3)/.  Other
  17490. than this situation, the disk drive seems fine.  What should I do
  17491. to correct the "Bad Allocation Table?"
  17492. ---------------
  17493.  
  17494.    conf: PROGRAMMING LANGUAGES  #6143  09-12-88  21:06  (Read 83 times)
  17495.    from: ELLEN FULLER
  17496.      to: ALL
  17497. subject: DBASE FILES FOR MS C 5.1
  17498.  
  17499. I am interested in evaluating some packages for my newly purchased
  17500. MS C 5.1 compiler which will enable me to read/write dBASE III+
  17501. files and indexes (NTXs for Clipper).  Can anyone tell me which
  17502. ones on this EXEC PC might be good?
  17503.  
  17504. Also, does anyone know from where I could evaluate an IBM PC or XT
  17505. or compatible with monochrome for under $300-400?  Must be 640K and
  17506. would be nice to have a hard disk.  Probably will look at used.
  17507. Looking for NY,NJ,PA or DE area so that I could diag it to my
  17508. content but will consider other areas.
  17509. ---------------
  17510.  
  17511.    conf: PROGRAMMING LANGUAGES  #6144  09-13-88  07:30  (Read 77 times)
  17512.    from: JOHN GRANT
  17513.      to: ELLEN FULLER (Rcvd)
  17514. subject: R: DBASE FILES FOR MS C  Reply to #6143
  17515.  
  17516. Most indexed file or btree libraries do not use dBASE standards for file or
  17517. index structure (nor Clipper's).  Since most implementations of C have been
  17518. around before dBASE, a lot of other indexing schemes have evolved parallel
  17519. to, but separate from the 'dBASE standard.'  What is your interest in
  17520. being able to read/write them from C?  Most people using it break from
  17521. dBASE cold turkey if they ever used it at all.
  17522.  
  17523. Several good packages exist for indexing in C.  Check PC mags for
  17524. programmer-oriented mail order houses.  I could also recommend a good book
  17525. called 'C Database Development' by Al Stevens.
  17526.  
  17527. Good luck with C.  I am a die-hard dBASE user trying to make the switch,
  17528. too.  I would welcome you to an other BBS here in Milwaukee called Field &
  17529. Screen, which focuses on database development.  It is Pc-Pursuitable and
  17530. can be reached 24 hours a day at 414-529-9690.
  17531.  
  17532. >>>>>>>>>> Msg 6143 reply #1
  17533.  
  17534.    conf: PROGRAMMING LANGUAGES  #6148  09-13-88  17:32  (Read 74 times)
  17535.    from: GRANT ELLSWORTH
  17536.      to: ELLEN FULLER (Rcvd)
  17537. subject: R: DBASE FILES FOR MS C  Reply to #6143
  17538.  
  17539. Ellen, I've seen some ads for commercial  c add-on libs which provide
  17540. access to , and maybe creation of, DB-III+ files in DDJ, CL, PCTJ.  I
  17541. don't remember the names -- one, i think, approximated "dbTrieve" or
  17542. something like that.  BTW, usijng a book published by ASTON-Tate called
  17543. The DBASE Technical Reference/Programmer's Guide, you could easily write
  17544. some code to access the files , using the db3+ indexes ---- the file
  17545. structures are documented in detail in that book.  I figured out the file
  17546. formats 3 years ago without the book and was able to write some TP3.0 code
  17547. to access db2 and db3 files concurrently in about 12 hrs.  C-ocode may be
  17548. as quick to produce.  Grant
  17549.  
  17550. >>>>>>>>>> Msg 6143 reply #2
  17551.  
  17552.    conf: PROGRAMMING LANGUAGES  #6150  09-13-88  22:16  (Read 76 times)
  17553.    from: ELLEN FULLER
  17554.      to: JOHN GRANT (Rcvd)
  17555. subject: R: R: DBASE FILES FOR MS  Reply to #6144
  17556.  
  17557. Thanks for the information that parallel efforts have been developed to
  17558. handle the same appllications as dBASE has.  I am also a die-hard dBASE
  17559. user (really Clipper and others) and make my living from it.  I wish to get
  17560. into systems stuff, you know, and hoped that a bridge for learning as well
  17561. as for money making could be utilized with such a package.  I will try the
  17562. Field and Screen.  What is its relationship with EXEC-PC?
  17563.  
  17564. Thanks for the informaiton. . .
  17565.  
  17566. >>>>>>>>>> Msg 6143 reply #3
  17567.  
  17568.    conf: PROGRAMMING LANGUAGES  #6151  09-13-88  22:21  (Read 79 times)
  17569.    from: ELLEN FULLER
  17570.      to: GRANT ELLSWORTH (Rcvd)
  17571. subject: R: R: DBASE FILES FOR MS  Reply to #6148
  17572.  
  17573. Thanks for the information.  I have Ashton-Tate's book.  It's quite a book
  17574. for reference if one knows how to use it.  The index is not up to snuff,
  17575. though.  And the accuracy of the dBASE III+ information is absence or just
  17576. barely covered in the skimpy appendix (which itself is not referenced in
  17577. the index).
  17578.  
  17579. I hope to be able to use the book to access my files.  My 'C skills are not
  17580. good enough and my understanding of 8088 is NULL.  I was hoping to learn
  17581. somethings by examining the 'C code for dBASE interface and then to write
  17582. what I need that is not provided in the market.
  17583.  
  17584. Thanks . . .
  17585.  
  17586. >>>>>>>>>> Msg 6143 reply #4
  17587.  
  17588.    conf: PROGRAMMING LANGUAGES  #6155  09-14-88  08:35  (Read 74 times)
  17589.    from: JOHN GRANT
  17590.      to: GRANT ELLSWORTH (Rcvd)
  17591. subject: R: R: DBASE FILES FOR MS  Reply to #6148
  17592.  
  17593. I wonder if someone who 'just bought' MSC 5.0 'could easily write some code
  17594. to access the files' unless they were a seasoned C programmer (you).
  17595.  
  17596. And, if one were to learn C, why get tied to to dBASE's structures?  I get
  17597. a laugh out of all the ripping dBASE users take when people using other
  17598. languages will kill for ways to use its data files.
  17599.  
  17600. >>>>>>>>>> Msg 6143 reply #5
  17601.  
  17602.    conf: PROGRAMMING LANGUAGES  #6158  09-14-88  20:20  (Read 74 times)
  17603.    from: GRANT ELLSWORTH
  17604.      to: ELLEN FULLER (Rcvd)
  17605. subject: R: R: DBASE FILES FOR MS  Reply to #6151
  17606.  
  17607. Ellen, it'll take more than a few days, but I can dig out of my archived
  17608. disks the old TP3.0 code I used to do so, package it up and upload it if
  17609. you think it will help you.  Manual translation from that TP 3.0 to C
  17610. should not be hard if you already have worked with pascal.  Grant
  17611.  
  17612. >>>>>>>>>> Msg 6143 reply #6
  17613.  
  17614.    conf: PROGRAMMING LANGUAGES  #6160  09-14-88  20:28  (Read 75 times)
  17615.    from: GRANT ELLSWORTH
  17616.      to: JOHN GRANT (Rcvd)
  17617. subject: R: R: DBASE FILES FOR MS  Reply to #6155
  17618.  
  17619. John, no good reason to get tied to the dBAASE 3 file structures.  But if a
  17620. user or programmer-user want to write a piece of non-db3 code  in a
  17621. compiled language to access his/her db3 files,s/he is committing no sin ---
  17622. as a matter of fact, s/he might learn something about processing linked
  17623. list index structures in doing so!
  17624.  
  17625. A truly seasoned C programmer I am not.  But I AM a seasoned programmer
  17626. used to using pointers, structures, linked lists, etc.. and I find
  17627. learningf how to accomplish an objective in a new, but structurally similar
  17628. language to one I already know a manageable , albeit non-trivial, task.
  17629.  
  17630. Grant
  17631.  
  17632. >>>>>>>>>> Msg 6143 reply #7
  17633.  
  17634.    conf: PROGRAMMING LANGUAGES  #6175  09-18-88  21:40  (Read 58 times)
  17635.    from: ELLEN FULLER
  17636.      to: JOHN GRANT (Rcvd)
  17637. subject: R: R: DBASE FILES FOR MS  Reply to #6156
  17638.  
  17639. I'll pass the information about your BBS to my co-workees. . .
  17640.  
  17641.  Thanks . . .
  17642.  
  17643. >>>>>>>>>> Msg 6143 reply #8
  17644.  
  17645.    conf: PROGRAMMING LANGUAGES  #6176  09-18-88  21:45  (Read 58 times)
  17646.    from: ELLEN FULLER
  17647.      to: GRANT ELLSWORTH (Rcvd)
  17648. subject: R: R: DBASE FILES FOR MS  Reply to #6158
  17649.  
  17650. I'd like to look at the  information to generate such.  In addition to
  17651. being curious about the format, I have ambitions of writing a few add-on
  17652. products for dBASE . . . utilities ya know.
  17653.  
  17654. By the way, I have obtained from Concentric Data the format of their RR.CNF
  17655. file and I am currently writing a utility to extract from that the file the
  17656. names of the printers defined.  The reason for such is simple.  I want to
  17657. have my Clipper/dBASE routines to display the printers available prior to
  17658. generating a report.  By writing this routine, in C, I am able to read the
  17659. RR.CNF file at all print requests.  I will have a dynamically flexible
  17660. routine to read the printers instead of hard-coding such into the dBASE
  17661. program.
  17662.  
  17663. Might you or anyone wish to have this 'C' code when I am done (it will take
  17664. another two weeks)?
  17665.  
  17666. Thank you . . .
  17667.  
  17668. >>>>>>>>>> Msg 6143 reply #9
  17669.  
  17670.    conf: PROGRAMMING LANGUAGES  #6179  09-19-88  16:38  (Read 51 times)
  17671.    from: GRANT ELLSWORTH
  17672.      to: ELLEN FULLER
  17673. subject: R: R: DBASE FILES FOR MS  Reply to #6176
  17674.  
  17675. Ellen, i'll se if I can locate my antique stuff and upload it.  Will leave
  17676. msg when I get it done ... give me 7 to 10 days --- i got a lot of backed
  17677. up stuff I gotta scan to find it.  As to your RR.CNF processor, I am no
  17678. no longer into dBasement add-ons, etc., but I do know some folks
  17679. here-abouts who are ---- I'll pass on the info.  Grant
  17680.  
  17681. >>>>>>>>>> Msg 6143 reply #10  >>>Last msg in reply thread.
  17682. Returning to normal sequence.
  17683.  
  17684.    conf: PROGRAMMING LANGUAGES  #6147  09-13-88  17:30  (Read 73 times)
  17685.    from: TIM NESHAM
  17686.      to: ALL
  17687. subject: I/O PROGRAMMING
  17688.  
  17689.   I am interested in knowing more about boards that let one write code to
  17690. access it so that it will turn on a device such as a light. What boards do
  17691. this and what manufacturers are there that produce such boards.
  17692.  
  17693.    Thanks,    Tim
  17694. ---------------
  17695.  
  17696.    conf: PROGRAMMING LANGUAGES  #6149  09-13-88  21:39  (Read 77 times)
  17697.    from: DENNIS DOYLE
  17698.      to: ALL
  17699. subject: HELP
  17700.  
  17701.      cc: SYSOP
  17702.  
  17703. Hi everyone!
  17704. I need your help with somthing. I have an IBM PCjr with 640 k I have a
  17705. termianl program. Which had ansi graphics before but now even if I turn
  17706. them on Nothing happens, The board is trying to display in ANSI graphics
  17707. like weird signs running across the screen but nothing  happens, I need
  17708. help I enjoy ANSI graphics....
  17709. ---------------
  17710.  
  17711.    conf: PROGRAMMING LANGUAGES  #6153  09-13-88  23:21  (Read 77 times)
  17712.    from: DAVE KOCOL
  17713.      to: DENNIS DOYLE (Rcvd)
  17714. subject: R: HELP  Reply to #6149
  17715.  
  17716. Dennis,
  17717.  
  17718. Try putting ansi.sys on your config.sys file, copy ansi.sys onto the
  17719. bootable disk (the config.sys too), and reboot.
  17720.  
  17721. Good Luck.
  17722.  
  17723. Dave
  17724.  
  17725. >>>>>>>>>> Msg 6149 reply #1
  17726.  
  17727.    conf: PROGRAMMING LANGUAGES  #6159  09-14-88  20:23  (Read 74 times)
  17728.    from: DAN BUDIAC
  17729.      to: DENNIS DOYLE (Rcvd)
  17730. subject: R: HELP  Reply to #6149
  17731.  
  17732. Try using Telix. It emulates ANSI codes even if you don't have an ANSI
  17733. driver in your CONFIG.SYS file. I'm not sure if 3.00 has this feature, but
  17734. 2.12 does for sure.
  17735. dAN
  17736.  
  17737. >>>>>>>>>> Msg 6149 reply #2
  17738.  
  17739.    conf: PROGRAMMING LANGUAGES  #6164  09-14-88  23:51  (Read 75 times)
  17740.    from: DAVE KOCOL
  17741.      to: DENNIS DOYLE (Rcvd)
  17742. subject: R: HELP  Reply to #6149
  17743.  
  17744. Dennis,
  17745.  
  17746. It could be that the 8th bit is getting stripped off, leaving you with the
  17747. lower 128 charactors of ascii. Make sure that you are running 8 data bits,
  17748. no parity, and 1 stop bit (on your modem and PC).
  17749.  
  17750. I agree with the suggestion about a comm program. I use ProComm 2.42
  17751. myself, and love it.
  17752.  
  17753. Good Luck.
  17754.  
  17755. Dave
  17756.  
  17757. >>>>>>>>>> Msg 6149 reply #3  >>>Last msg in reply thread.
  17758. Returning to normal sequence.
  17759.  
  17760.    conf: PROGRAMMING LANGUAGES  #6152  09-13-88  23:17  (Read 76 times)
  17761.    from: DAVE KOCOL
  17762.      to: ALL
  17763. subject: TP MESSAGE BASE
  17764.  
  17765. As a newcomer to the programming field, I have a project underway as sort
  17766. of a mini BBS, but mostly as a remote means of collecting data. I also want
  17767. to put in a message base for pick up and delivery of e-mail.
  17768.  
  17769. My question to you veteran programmers is:
  17770.  
  17771. Is it best to use a string variable (one big one, and if so how do you
  17772. edit?), or is it better to use a string for each line, but if so, how do
  17773. you accomplish word wrap. I'd like to have the lines only 30 chars per line
  17774. (as this will fit onto an existing form).
  17775.  
  17776. If using one string per line, is word wrap accomplished by buffering the
  17777. input and looking at char 30, looking for a space, and counting down till
  17778. it finds one, then proceeding?
  17779.  
  17780. It makes sense, but I know someone out there has done this before (probably
  17781. many times).
  17782.  
  17783. I would appreciate any and all input.
  17784.  
  17785. Thanks,
  17786.  
  17787. Dave
  17788. ---------------
  17789.  
  17790.    conf: PROGRAMMING LANGUAGES  #6170  09-16-88  11:53  (Read 74 times)
  17791.    from: LOWELL DENNING
  17792.      to: ALL
  17793. subject: CLARION
  17794.  
  17795. Are there any registered Clarion users out there who live in the
  17796. Washington DC suburban area?  Would like to maybe exchange code,
  17797. ideas, etc.  Maybe share upgrades also?
  17798. ---------------
  17799.  
  17800.    conf: PROGRAMMING LANGUAGES  #6171  09-16-88  16:25  (Read 75 times)
  17801.    from: JOHN GRANT
  17802.      to: ALL
  17803. subject: FIELD & SCREEN BBS
  17804.  
  17805. A BBS Dedicated to Database Languages and Applications.
  17806. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17807. *(414) 529-9690 * 24 Hours A Day * Telenet & PCP WIMIL*
  17808.  
  17809. ---------------
  17810.  
  17811.    conf: PROGRAMMING LANGUAGES  #6173  09-18-88  13:46  (Read 66 times)
  17812.    from: KAREN LITTLE
  17813.      to: PAUL ZIMMERMAN (Rcvd)
  17814. subject: ABOUT CLARION
  17815.  
  17816.      cc: NED REITER
  17817.      cc: JIM TOIGO
  17818.  
  17819. According to both Ned Reiter and Jim Toigo, Clarion is a full programming
  17820. language, not just a code generator.  I purchased it based on Ned's
  17821. recommendation.  You might like to ask more questions of them.
  17822.  
  17823. Now, one body of applications I need has to do with "stock location" or
  17824. "where the heck is that piece of paper now?"  If I could program easily,
  17825. and create standalone programs, there are a number of things I would design
  17826. for cross-referencing of documents, including a paper-research file.
  17827.  
  17828. I'm about to start "formal" lessons from one very informal Mr. Reiter as I
  17829. just can't afford to screw around with this long learning curve.  As a
  17830. manager, I see the necessity to create customized programs crucial to my
  17831. future professional well being.  Most companies CAN'T afford competent
  17832. programmers, and many have people onboard who diddled with dBase who became
  17833. programmers ... but chaos and competition is getting such that the diddling
  17834. period is becoming much too expensive.
  17835.  
  17836. Also, while I appreciate, love, and adore all the people who donated their
  17837. expertise for "free", I was at the mercy of THEIR schedules ... and because
  17838. of the waiting-lag, I didn't learn what needed to be learned and do what
  17839. needed to be done.
  17840.  
  17841. Karen
  17842. ---------------
  17843.  
  17844.    conf: PROGRAMMING LANGUAGES  #6174  09-18-88  20:46  (Read 59 times)
  17845.    from: PAUL ZIMMERMAN
  17846.      to: KAREN LITTLE
  17847. subject: R: ABOUT CLARION  Reply to #6173
  17848.  
  17849. Diddling is a very good way to learn. IF you have the time...
  17850. I expect your tutor will give you a lot of stock algorithms & ideas and
  17851. help you put them to work in your own way. It helps to start with
  17852. an existing base of methods/ideas and diddle from there rather than
  17853. learn all on your own.
  17854.  
  17855. I am curious what Clarion code looks like & what its reserved words
  17856. are/do... Is it a database language? I get that impression from
  17857. the other discussion here, but am not certain.
  17858.  
  17859. RE: Paper tracking
  17860.  You want to "index" paper files *outside* the computer? Is there a reason
  17861. for this? I guess I am lazy, but I think leaving documents IN the computer
  17862. in the way to go, unless there is no backup available, or there are some
  17863. sort of legal requirements. (Computer documents are not legally valid
  17864. for proving things, as they can be altered without a trace, etc..)
  17865.  
  17866.                                                           Paul
  17867.  
  17868. >>>>>>>>>> Msg 6173 reply #1  >>>Last msg in reply thread.
  17869. Returning to normal sequence.
  17870.  
  17871.    conf: PROGRAMMING LANGUAGES  #6178  09-19-88  11:13  (Read 56 times)
  17872.    from: MARK GINSBERG
  17873.      to: ALL
  17874. subject: PASCAL TO C
  17875.  
  17876.    In the proliferation of pascal to C translators which were encouraged
  17877. about the time turbo pascal 4.0 and microsoft C 5.0 were about to be
  17878. released, which one is best?  Anyone out there try enough to know?
  17879. I have a project written in pascal which a customer wants in C and would
  17880. like to know if any of the translators out there do an abnormally good job.
  17881. ---------------
  17882.  
  17883.    conf: PROGRAMMING LANGUAGES  #6180  09-19-88  21:44  (Read 39 times)
  17884.    from: DALE ULMER
  17885.      to: MARK GINSBERG (Rcvd)
  17886. subject: R: PASCAL TO C  Reply to #6178
  17887.  
  17888. Because of important basic (no pun intended) differences between Pascal
  17889. and C, I doubt seriously whether a translator that does a good job has
  17890. been written, let alone an abnormally good one.  C's "do your own thing"
  17891. attitude versus Pascal's jackboot discipline is only the beginning.
  17892. When I wrote in Pascal, I'd often write a procedure within a procedure.
  17893. The concept is alien to C.  A purely mechanical translation is probably
  17894. impossible.  I suspect that even a simple Pascal program would be
  17895. translated into a far from optimum C program without the intervention of
  17896. some active human imagination.  There are a few translators here - try a
  17897. few - I'll bet you're disappointed.
  17898.  
  17899. >>>>>>>>>> Msg 6178 reply #1
  17900.  
  17901.    conf: PROGRAMMING LANGUAGES  #6183  09-20-88  17:18  (Read 8 times)
  17902.    from: TIM NESHAM
  17903.      to: DALE ULMER
  17904. subject: R: R: PASCAL TO C  Reply to #6180
  17905.  
  17906.    I agree with your statement about translating Pascal to C. Some say they
  17907. are so similar. But after being involved in a project to translate Pastoc I
  17908. found just how different those two languages can be! If it is a simple
  17909. program then it doesn't need a translator.
  17910.   Gee after seeing QB4 I wonder if that is the language that tries to be
  17911. BASIC, Pascal and C.
  17912.  
  17913.    Tim
  17914.  
  17915. >>>>>>>>>> Msg 6178 reply #2  >>>Last msg in reply thread.
  17916. Returning to normal sequence.
  17917.  
  17918.    conf: PROGRAMMING LANGUAGES  #6181  09-19-88  22:33  (Read 34 times)
  17919.    from: ANDY WHITCROFT
  17920.      to: MARK TELLIER (LEADER)
  17921. subject: EDITORS
  17922.  
  17923. Dear Mark,
  17924.      I no longer know weather to yell for help or just jump up and down and
  17925. have a fit. The reason for my fustration is that I am still looking for a
  17926. programmers editor that work with me rather than against me. To date I have
  17927. seen demo versions of Vedit Plus, Multi-edit, Qedit, and waiting for my
  17928. breif demo and my Vedit plus 3.00 demo. All of them have their weird
  17929. quirks. Therefore I am going to open this very personal and usaully hottly
  17930. debated topic open again. What programm editor do you use and WHY(!) or
  17931. should I get Borland's Turbo Editor toolbox and make my own.
  17932.                                           Andy.
  17933. P.S. Any editor suggestion's will be appreciated as long as you do your
  17934. best to tell my why you like a particular editor!
  17935. ---------------
  17936.  
  17937.    conf: PROGRAMMING LANGUAGES  #6182  09-19-88  23:10  (Read 33 times)
  17938.    from: GLEN THOMPSON
  17939.      to: ANDY WHITCROFT
  17940. subject: R: EDITORS  Reply to #6181
  17941.  
  17942. Andy,
  17943.   
  17944. Some time ago I started using Qedit.  At the time I looked at a number of
  17945. different editors and settled on Qedit.  My needs were fairly simple, a
  17946. single module so I could put in the PATH, multiple windows (2 or 3 is
  17947. fine), reasonable speed, the usual editing functions (move, copy,
  17948. search/replace, etc.), configurable keyboard, good price/performance.
  17949. Qedit met that requirement.  The manual could be better, it takes a while
  17950. to learn.
  17951.   
  17952. I used Borland's Editor Toolbox to build an editor for use within my
  17953. company.  A Qedit site license was too expensive.  I also bet my boss that
  17954. I could produce a good editor in 8 hours of work, he didn't believe me but
  17955. I did it.  The Editor Toolbox is not the easiest thing to modify but you
  17956. can build almost any editor you want.  All I did was to change the key
  17957. mapping and add a help function.
  17958.   
  17959. glen
  17960.  
  17961. >>>>>>>>>> Msg 6181 reply #1
  17962.  
  17963.    conf: PROGRAMMING LANGUAGES  #6184  09-20-88  17:29  (Read 7 times)
  17964.    from: TIM NESHAM
  17965.      to: ANDY WHITCROFT
  17966. subject: R: EDITORS  Reply to #6181
  17967.  
  17968.   I don't care which editor I use as long as it's not EDLIN. This is a
  17969. different perspective than what you want I guess but wait....
  17970.  
  17971.  I use PCwrite, TurboC editor, Wordstar(natch), QuickC, VEDIT, Professional
  17972. Write, Microsoft editor, Qedit, PCTOOL Editor, Sidekick, VENTURA, Mix,
  17973. and whatever else I get my hands on. I just use them.....
  17974.  
  17975.   I usually use the TurboC editor since I can TC (subdirectory) and get the
  17976. file listing which fits into the MASK and store up to eight files(ok not in
  17977. memory, big deal) and most important - it's cheap!
  17978.  
  17979.     I just accept my editor for what it is - nice editor.
  17980.  
  17981. >>>>>>>>>> Msg 6181 reply #2  >>>Last msg in reply thread.
  17982. Returning to normal sequence.
  17983.  
  17984.    conf: PROGRAMMING LANGUAGES  #6185  09-20-88  17:38  (Read 6 times)
  17985.    from: MARK GINSBERG
  17986.      to: ALL
  17987. subject: C CONVENTIONS
  17988.  
  17989.    Okay, 2 other questions.  1) Does Quick C come with a command line
  17990. compiler like TurboC does?  2) What is the analog in either of these
  17991. languages to the Turbo Pascal 4.0 user written device driver?  i.e. some
  17992. odd ball way of getting say "printf" to dump chars to a user written
  17993. handler that in turn pumps the chars to something strange (like a serial
  17994. port or a non-standard video screen etc.).
  17995. ---------------
  17996.  
  17997. Conf: *PRGRMING*
  17998.  
  17999. Read messages:
  18000. <F>orward or <R>everse multiple
  18001. <N>ew msgs
  18002. <M>arked msgs (also unread Email)
  18003. <S>elective on from/to/subject
  18004. <I>ndividual msgs by #
  18005.  
  18006. Non-retrieval commands:
  18007. <L>eave (send) a msg
  18008. <U>pload msg
  18009. <D>elete a msg
  18010. <Z>ip scan & mark
  18011.  
  18012. <CR> or <Q> to QUIT
  18013.  
  18014.  216 READ command (FRNMSILUDZQTG, ?=help) -->