--------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00002 Date: 05/20/97 From: STEVEN READ Time: 10:46pm \/To: ALEXEY EGOROV (Read 0 times) Subj: Clipper+mouse On 05-10-97 (00:36) ALEXEY EGOROV wrote to ALL AE> Can I ask you. How I can use mouse in my application created AE> by Clipper 5.0? Which library is needed for this? Alexey, These are two programs that will work with your Clipper 5.0. I tested both of them using Clipper 5.0 to be sure that they will work for you. This one has the source (asm) for the mouse interface. Archive: BMOUSE87.ZIP 6.6k CLIPPERS87: Mouse driver for Clipper S'87: Contains complete assembler (ASM) source code and object (OBJ) code file. Also works with Clipper 5.xx compilers. 5 files. 12-08-87. This one has the mouse interface inside a Clipper .LIB file. It has many features and supports many different video modes. Archive: CLMOUS21.ZIP 43.7k CLIPPER5.X: Library of mouse and windowing functions for Clipper 5.x. Supports MDA, HGC, HGC+, INCOLOR, CGA, MCGA, EGA, VGA video displays. Featuring pixel by pixel arrow cursor movement on EGA/VGA displays, block cursor movement on CGA/Mono, pixel/row return values, quick action (ASM program), and support for most video modes, including 132 col. Includes (prg) demo programs. Shareware. $15. By Matt Staben of Stabin Technologies. 20 files. 01/21/91. 04/12/93. I got these off of a private BBS, so I don't have a ready source of where you can get them. I'd try the Internet or look on the older shareware CDs. Later, Steve, in western New York state (USA) --- * QMPro 1.53 * steven read pcohio com --- InterEcho 1.19 * Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00003 Date: 05/22/97 From: FRANK PAULSEN Time: 02:51pm \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers MP> These printers don't print at the end, becuase de buffer is not MP> empty. but i'need to print all the document. what's the standart MP> instruccion thar meke to eject the paper? in clipper: EJECT or chr(12), its the FormFeed (FF)-command --- Sqed/32 * Origin: frobnicate foo (2:2448/605) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00004 Date: 05/18/97 From: HERNAN BADENES Time: 04:43pm \/To: BONG BENITEZ (Read 0 times) Subj: SORT Hola Bong! HB>> I can see you use external programs to access the database. What are HB>> these programs? BB> Its CA-Accpac Plus, an Accounting Program. And he can work with other formats (non .DBF)? HB>> PS: Where are you from? BB> Manila, Philippines Thanks. I like to know with who I'm speaking :) Saludos! Herchu. ... El trabajo del hombre es efmero y se desvanece como la espuma del mar... --- Terminate 4.00/Pro * Origin: SepSanPoint #1 - La Plata - Buenos Aires - Argentina (4:902/27.23) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00005 Date: 05/19/97 From: HERNAN BADENES Time: 02:00pm \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers Hola Martin! 18-May-97, 18:52:38 hs.: - Martin Pustilnik deca a All por No-matrix printers: MP> These printers don't print at the end, becuase de buffer is not empty. MP> but MP> i'need to print all the document. MP> what's the standart instruccion thar meke to eject the paper? Send him a #12 character... This is the standard. Saludos! Herchu. ... Lo esencial es invisible a los ojos. --- Terminate 4.00/Pro * Origin: SepSanPoint #1 - La Plata - Buenos Aires - Argentina (4:902/27.23) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00006 Date: 05/16/97 From: JAN DOGGEN Time: 08:58pm \/To: TIGRAN ALEXANIAN (Read 0 times) Subj: Bug in Debuger Hello Tigran! TA> In Debug mode, in monitor varable's meaning show not correct. May be TA> with shift. But not always. My program is very big - can't test in TA> real mode. Who is now, how owercome this problem ? How to debug your Clipper 5.3 applications ========================================== Because of errors in the manual and the general confusion when dealing with both real and protected mode, it may not be directly clear how to debug your application. Here are some remarks that might help you on your way. If there are any errors, or better ways, please let me know. 22 sep. 95 Jan Doggen, Masters Software, massoft@xs4all.nl Real mode --------- - CLDR.LIB is the real mode debugger library, it can either be linked in like any other library (LIB CLDR - in earlier versions this was done automatically when you used the /B switch with compilation), or it can be linked in *as an object file*: FILE CLDR.LIB. - If you link with LIB CLDR you can execute CLDR.EXE to debug. - If you link with FILE CLDR.OBJ you can debug with CLDR.EXE *and* by calling ALTD() from within your code. When using the standalone CLDR.EXE: - The /D switch does not work, but you don't need it. The debugger will come up with the cursor on the first line of your code. - If you have the proper video card, use /S for a 50-line split screen. This works very nice. It also works with OS/2. Protected mode -------------- - You *must* link in the protected mode debug library with 'FILE CLD.LIB'. - Using the standalone CLDR.EXE is hardly possible. No matter what the documentation says, the program starts executing immediately. You can interrupt this by pressing , but this means you cannot start the debugging at a strictly defined point. - To overcome this, you must call ALTD() from within your program to start debugging. You may not *always* want to suspend execution when testing your code, so I suggest you make the ALTD() call conditional. For instance, as the first lines of code (or at the place where you want to start debugging), use these: IF INKEY() <> 0 ALTD() CLEAR TYPEAHEAD ENDIF Pressing a key before this piece of code will start the debugging exactly here. If you place this at the start of the program, just hold that key a little longer when you start the program from the command line. Alternatively, if your program doesn't need command line parameters you could also compile with /N and test for !ISNIL(param) in the main procedure. You can probably think of other conditions to trigger ALTD(), appropriate for your specific apps. - You can always press to start debugging too, of course. Batch and make files -------------------- To handle the above, I have a make file like this: #!DEL PROGRAM.EXE #ifdef PROT PROGRAM.EXE : PROGRAM.OBJ E:\CLIP53\BIN\EXOSPACE @PROGRAM.LNK FILE CLD.LIB #else PROGRAM.EXE : PROGRAM.OBJ E:\CLIP53\BIN\BLINKER NOBELL @PROGRAM.LNK FILE CLDR.LIB #endif PROGRAM.OBJ : PROGRAM.PRG E:\CLIP53\BIN\CLIPPER $* /M /B /Q /W /N The PROGRAM.LNK link file just contains FILE and LIB statements for the files and libraries you need to link, not for the debugger. You can use this link file in both modes. The #!DEL statement makes sure that at least a re-link takes place. If you switch between real and protected mode you need this, otherwise you can leave it out. I then call RM.BAT when I want to compile for real mode: @E:\CLIP53\BIN\RMAKE %1 and RMP.BAT for protected mode: @E:\CLIP53\BIN\RMAKE %1 /DPROT To debug, I just use the 'hold the Enter key' trick I just mentioned. This means I can handle debugging of the real and protected mode EXE's the same way. If I very musch want the split-screen mode, I call the standalone debugger with: @E:\CLIP53\BIN\CLDR.EXE /S %1 %2 %3 %4 %5 Needless to say, for the final program versions, you must compile your code one more time without the debugger libraries and without the ALTD() call. Bye, Jan --- FleetStreet 1.13 #857 * Origin: * Point van Lighthouse BBS * OS/2 * (2:285/324.15) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5S00007 Date: 05/22/97 From: RAPHAEL NEVE Time: 11:00pm \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers Martin Pustilnik wrote in a message to All: MP> These printers don't print at the end, becuase de buffer is MP> not empty. but i'need to print all the document. MP> what's the standart instruccion thar meke to eject the MP> paper? The standard epson code is Ctrl-L (12 decimal). raph. ... If left isn't right, then right's all that's left. Right? --- FMail 0.96 * Origin: Canada Dry BBS - France * 3 lines on 47.29.33.85 (2:321/1) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5T00000 Date: 05/23/97 From: STIV ANISIN Time: 10:13am \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers Hello Martin! What is the subj? May be Dot-matrix? Then - FF (Form_Feed) to finish printing on the list, common command for it - decimal 12. !Bad Bye, Stiv --- Hard soft to make hard softer * Origin: Apple ][+ * Moscow (2:5020/274.15) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5T00001 Date: 05/23/97 From: ARNO TOLMEIJER Time: 10:42am \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers Martin, -=> Quoting Martin Pustilnik to All <=- MP> These printers don't print at the end, becuase de buffer is not empty. MP> but i'need to print all the document. what's the standart instruccion MP> thar meke to eject the paper? If you don't mean the EJECT command, try SET DEFAULT TO SET PRINTER TO LPT1 [..] SET PRINTER TO HTH, Arno. --- Blue Wave/386 v2.30 * Origin: HEKOM Holland. Clipper and CDGN Headquarters. (2:2802/223) --------------- FIDO MESSAGE AREA==> TOPIC: 202 CLIPPER Ref: E5U00000 Date: 05/24/97 From: RAYMOND PESEK Time: 02:30am \/To: MARTIN PUSTILNIK (Read 0 times) Subj: No-matrix printers MP ->These printers don't print at the end, becuase de buffer is not empty. but ->i'need to print all the document. ->what's the standart instruccion thar meke to eject the paper? Right after your last line is sent to the printer, do a @prow()+1,pcol() SAY "" That'll make the last line print. Then do a SET PRINTER TO to close the printer and then put an EJECT to send a form feed. Raymond Pesek * 1st 2.00 #2448 * Moderator - Clipper Echo --- InterEcho 1.19 * Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)