HDTenEightyP/NetNews huggingface dataset:
From: acgoldis@athena.mit.edu (Andrew C Goldish)
Subject: Problem with Borland 6 Graphics
Organization: Massachusetts Institute of Technology
Date: Sun, 20 Dec 1992 21:02:08 GMT

  I had a problem with my computer and had to reinstall my Borland 6.
Trying to fix it, I copied a versiom of GRAPH.TPU from a small disk which
came with the program to the TP directory.  When I try to run programs,
the GRAPH.TPU turns out not to be of the correct file format.  Can you help 
me with this?

  Also: I have just bought Borland 7 and just found that I don't have the 33 MB
needed to install the program.  What is the minimal amount of storage which
you need to put in the basic, basic programs (i.e. if all fails, to replicate
Borland 6, which only takes up six meg?  I'd like to get it to under 20 meg,
and, if possible to under 15 or 10.

							A. Goldish


Newsgroups: comp.lang.pascal
From: u910826@bruny.cc.utas.edu.au (Louis        siuoL)
Subject: Re: Writing to the border?
Keywords: graphics, screen border
Organization: University of Tasmania, Australia.
Date: Wed, 16 Dec 1992 00:26:28 GMT

gilligan@cs1.bradley.edu (Edward Henigin) writes:

>Now, I know that you can change the color of the border on the typical
>monitor.

>I was wondering, however . . has anybody ever written individual pixels
>in the border?  If so, one could expand the usable graphics area of
>the screen . . . I assume it can't be done, otherwise it would have
>been done by now, but I had to ask, just to get a *real* answer
>instead of living with my assumptions.

>--
>|ed -- gilligan@camelot.bradley.edu                                          |
>|   -- gilligan@cs1.bradley.edu     | If you want a friend, feed any animal. |
>|    Are you deviant?  Probably.    |           -Jane's Addiction            |

There are ways of kinda writing individual *rows* of pixels in the border of the vga screen by "emmulating" the copper on an Amiga. 
If you change colour 0 ( the background colour) **REALLY FAST** ie. while you are still in horizontal retrace you can  cycle the palette so fast that every
*scanline* down the screen is a different colour, including the border.
If you are in a low res mode like 320x240x256 or even in a 16 colour mode at 
low res then each pixel is 2 scanlines so you can change the background
colour every half a pixel. Wait for DEA's forthcoming demo for an example
of the above.
--
Louis Solomon - a student at The University of Tasmania
      e-mail: u910826@bruny.cc.utas.edu.au

"If wishes were fishes, we'd all cast nets" - Dune
From: lfosdal@falcon.no (Lars Fosdal)
Newsgroups: comp.lang.pascal
Subject: Re: Visual Basic as Interface for BP7?
Date: Wed, 16 Dec 92 09:22:09 MET
Organization: Falcon Information Services AS, Oslo, Norway

foster@nzkites.UUCP (Foster Schucker) writes:

> I find that the windows code bits go quite fast in VB.  It is very easy
> to prototype the screens and put some minor logic to see if things will
> flow the way I want them to.  I most cases all of the VB code is written
> before I turn to the DLL code.
> 
> Now if Borland would come out with Visual Pascal!! 

I'll agree that the Borland Resource Workshop (BRW) is not quite as snappy
as VB when designing dialogs, but if you add the "Data Entry Workshop" 
(DEW) from TurboPower, you're closing in on VB fast.

Trying hard not to sound like an advertisement, these are the hilites:

Picture entry fields, Numeric entry fields, Toolbars, Toolboxes, Spin 
controls, Meter controls, Shade controls, and more.  Data validation is
also included.  The best part is that all controls are very easy to
expand/modify, since you as usual (Thx!, TurboPower) get the complete
source code.

It allows you to design a dialog within standard resizeable window,
and it generates the skeleton source code for the dialog.

One of the cool things about DEW, is that it merges into the BRW by adding 
it's controls to existing control palette.  This way you don't have to 
learn yet another tool.

It supports TPW 1.5, BPW 7.0, TC++ 3.x, and BC++ 3.x.

and... if you add the Win/Sys library, you even get error recovery:
No more Runtime errors, Exception 13's, and such...

> Foster Schucker  (foster@nzkites.uucp)  (1-215-458-8354 (voice))

Lars F.

PS. I have no relations to TurboPower what so ever, except from 
beeing a happy customer.

--
/ Mr.Lars Fosdal, Software Developer, Financial Analysis Systems  /
/ Falcon Information Services AS, Stranden 1, N-0250 Oslo, Norway /
/ E-mail:lfosdal@falcon.no  Tel:(47-2) 831310  Fax:(47-2) 831290  /
-- All opinions are personal and does not reflect company policy --
Newsgroups: comp.lang.pascal
From: sleeger@gaul.csd.uwo.ca (Richard Sleegers)
Subject: Re: Turbo Pascal Debugger problem
Organization: Computer Science Dept., Univ. of Western Ontario, London, Canada
Date: Tue, 15 Dec 1992 08:09:44 GMT

In article <8DEC199201030593@trentu.ca> tsullivan@trentu.ca writes:
>debug a small program that I'm writing. My problem is that when I hit F7, 
>the trace won't load the new source files -- in fact, even if they're 
>loaded, the debugger won't jump into them. This is a Bad Thing, seeing as I 
>can't trace into the routines. To answer the standard responses, Yes, I've 
>checked the DIRECTORY setup, and the paths are correct. I even put the path 
>to the units in first, as a wild stab attempt. Oh, and it builds just fine. 

	If you haven't received a suitable response as of yet, may I suggest
that you re-compile the unit(s) in question with Debug information and Local
symbols enabled (TP: Alt-O:C:D, TPC/TPCX: /$D+/$L+), then recompile the
program (or do a Build with those options enabled.) 


-- 
Richard Sleegers                      sleeger@gaul.csd.uwo.ca
London, Ontario, CANADA               University of Western Ontario
Newsgroups: comp.lang.pascal
From: icarus@ing.puc.cl (Eduardo Jimenez)
Subject: HOW USE PRINTER FROM A PROGRAM....
Organization: Pontificia Universidad Catolica de Chile
X-Newsreader: TIN [version 1.1 PL8]
Date: Mon, 14 Dec 1992 13:59:19 GMT

 hello, well i just have two problems programing pascal.(I'm a novice),
 i want to know how to print a txt file from a program wrote in pascal,
 ......
 The second problem is how to call others program from other, for instance I
have to make a program more big than 64k, so I split it in few parts, then 
i'll call them, but how...?
 Pd: im working with Turbo Pascal 6.0    


 If somebody can help me I'll be gratefull


 Eduardo J. Aleuy
 ICARUS@MALLOCO.ING.PUC.CL
From: hroth@ncratl.AtlantaGA.NCR.COM (Harris Roth)
Newsgroups: comp.lang.pascal
Subject: Re: help with die rolls...
Date: 16 Dec 92 16:24:07 GMT
Article-I.D.: ncratl.77611
Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA

In article <1992Dec16.170959.3637@csdvax.csd.unsw.edu.au> p2112899@csdvax.csd.unsw.edu.au writes:
>Could someone please show me how to get random die rolls going.
>The code I have done is:
>for i := 0 to 3 do  pe := pe + random(6);
>to roll a 6 sided die 3 times, but it doesn't work as it should. Some values
>produced are actually lower than possible.
>The minimum roll from 3 six sided die is 3, sometimes I get 2???
>Richard.
>P2112899@csdvax.csd.unsw.edu.au

The random(6) call will produce an integer from 0 to 5.  Your for statement
will roll 4 times.  Try this:

pe := 0;                       (* initialize roll total *)
for i := 1 to 3 do             (* roll three times *)
 pe := pe + (random(6) + 1);   (* total each roll *)

Regards,

Harris.

-- 
Harris J. Roth, Senior Programmer Analyst |
System Software                           |   hroth@ncratl.atlantaga.NCR.COM 
Transaction Terminal Systems Division     |
NCR E&M Atlanta                           |   (404) 623-7749
From: cs108069@pandora.sdsu.edu (John DeRose)
Newsgroups: comp.lang.pascal
Subject: Binary Tree printing routine wanted...
Date: 13 Dec 1992 22:03:31 GMT
Organization: San Diego State University, College of Sciences
NNTP-Posting-Host: pandora.sdsu.edu
X-Newsreader: TIN [version 1.1 PL8]

Anybody got a procedure that will print the contents and structure of a
binary tree?

Thanks in advance,

John DeRose


+--------------------+-------------------------------------------+
|    Do yourself     |                                           |
| a favor and watch  |		       |\    |\                  |
|                    |                 | \   | \                 |
|  THE REN & STIMPY  |                 |  \  |  \                |
|        SHOW        |                 |   | |  |                |
|                    |                  \       /                |
|  It's more than a  |                  _\ ^  _/                 |
|  cartoon, it's an  |                 /     ` \                 |
|     adventure!     |                (O)  (O) |                 |
|                    |                 |       |                 |
+--------------------+                 <   _   /                 |
|                    |                 |/\/ \ |                  |
|    John DeRose     |                      | |                  |
|  cs108069@pandora  |                      /  \                 |
|      sdsu.edu      |                                           |
|                    |            We love you Ren Hoek!          |
|                    |                                           |
+--------------------+-------------------------------------------+
Newsgroups: comp.lang.pascal
From: ghost@next06pg2.wam.umd.edu ()
Subject: mouse unit w/ doubleclick 
Organization: Workstations at Maryland, University of Maryland, College Park
Date: Wed, 16 Dec 1992 23:43:47 GMT



anyone have any mouse units they wouldn't mind letting me use, ta
includes doubleclicks ? something tat works just like the IDE's
mouse....i am trying to use a mouse with ANIVGA 1.1....
From: ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
Newsgroups: comp.lang.pascal
Subject: Re: TVISION and Interrupts. Is it safe?
Date: Wed, 16 Dec 1992 09:08:00 GMT
Organization: INSA  CENTRE INFORMATIQUE DU 1er CYCLE
NNTP-Posting-Host: 134.214.232.25

In article <1992Dec14.210207.10760@vax.oxford.ac.uk> speedy@vax.oxford.ac.uk writes:
>From: speedy@vax.oxford.ac.uk
>Subject: TVISION and Interrupts. Is it safe?
>Date: 14 Dec 92 21:02:07 GMT

>Interrupts and Turbo Vision
>===========================

>Is this sort of thing safe. It certainly used to work in 
>Turbo Pascal 6 - but does not now seem to work in BP7. 
It 
>actually seems to work on a 486 but not on a 286 or 386 which 
>makes me think that there must be some sort of re-entry. 

>In certain circumstances it seems to utterly lock up the 
>computer (big red button time :-( ) Does turbo vision re-enable
>interrupts? Or is it just not a safe thing to do with 
>TVISION? 

 I do not have BP7 yet to test your program  but may I do some
comments that may provide some hints ?

  I went though the code that is quite a nice implementation .

I am surprised by the following:
  - you install you interrupt hook upon calling InitWaitBox,i.e. at program
starting point  and uninstall it in the exit proc, i.e; at program 
termination.What bothers me it that you interrupt handler is active even 
when no wait box is on the screen ?? Grabbing the interrupt would be better 
placed in  WaitOn function and releasing it in Waitoff... At least you could 
be sure  during what program section your interrupt is active...
That stack swapping that you do every 1/18th of a second ,even with no
wait box active may bother some other parts of your program  ???
  - also I spotted in the source ouple of places where  the CLI instruction
is emmitted without a counterpart STI
  (in the interrupt handler and in the WaitOn() function where a wait box
is already active ?
   -the CLI instruction in the interrupt handler may stop interrupts for
too long. why not doing it only during stack swappings at entry point and
at exit point ?

Hope it will helps ????
ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
--------------------------------------------------------
Dr Patrick L.Pollet
Institut National des Sciences Appliques
Centre Informatique du 1er Cycle  Bat 110
20 Avenue A.Einstein
69621 Villeurbanne Cedex France
--------------------------------------------------------
Phone: 72 43 83 80 -   la premiere erreur c'est
Fax  : 72 43 85 33 -   de se lever le matin  ... GASTON
-------------------------------------------------------
From: hahn@csd4.csd.uwm.edu (David James Hahn)
Newsgroups: comp.lang.pascal
Subject: Book of algorithms
Date: 14 Dec 1992 14:54:33 GMT
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Distribution: world
NNTP-Posting-Host: 129.89.7.4
Originator: hahn@csd4.csd.uwm.edu

I'm looking for a good book of algorithms with code in Pascal.  I would
mainly like one with graph algorithms, such as shortest paths/minimum
spanning trees, and NP complete algorithms.  Is there a good book that
exists?  Also, how much $$$ for it.  Please respond by EMAIL.  Thanks!!!
		
				Dave

-- 
David Hahn
hahn@csd4.csd.uwm.edu
Newsgroups: comp.lang.pascal
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: Stopping Control-C...  I though I was...
Organization: University of Vaasa, Finland
Date: Mon, 14 Dec 1992 02:26:19 GMT

In article <1992Dec13.093306.7988@crash> tech@crash.cts.com (Don Bontemps) writes:
>I wrote an application program that I did not want the user to be able
>to exit via pressing <control-C>.  I included the "setcbreak := true"
>line to my source code.  This stops <control-C> but does not stop
><control-break> (ie: the break on the pause key).  Can someone tell me
>how to prevent <control-break> from doing this?   Thanks.....!

Covered for example in the Frequently Asked Questions
 115799 Sep 20 08:35 garbo.uwasa.fi:/pc/ts/tsfaq30.zip

Incidentally this question tops the Turbo Pascal FAQ list during the
last couple of years in comp.lang.pascal. 

"If you do not know how to go about getting this material, users are
welcome to email me for the prerecorded garbo.uwasa.fi instructions
(long, circa 29Kb).  North American users are referred to the Garbo
mirror on wuarchive.wustl.edu.  Australian users are referred to the
archie.au mirror.  For the Asian users there is the NCTUCCCA.edu.tw
mirror.  The mirrors may lag occasionally, or might not have all the
files.  If you do not receive my reply within five days, please ask
your own site's system manager to construct a returnable mail path
for you". 

   All the best, Timo

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Newsgroups: comp.lang.pascal
From: patlee@panix.com (Patrick Lee)
Subject: Re: Week numbers
Date: Sun, 20 Dec 1992 05:35:05 GMT
Organization: PANIX Public Access Unix & Internet, NYC

In article <1992Dec15.000536.15663@qiclab.scn.rain.com> Leonard.Erickson@f51.n105.z1.fidonet.org writes:

 > As I say, there's no standard. And since the years is 52 weeks and one
 > day long (two days in leap years), you need to be ready to deal with week
 > 53 occasionally. 

Funny, did someone crossposted this in comp.std.internat recently?  The
same question was asked.  According to keld@login.dkuug.dk (Keld J|rn
Simonsen), the ISO standard on week numbering is 8601.  The standard
basically says what has been posted already -- that the week containing
the first Thursday is week number 1.

Patrick
<patlee@panix.com>
From: chafey@ecst.csuchico.edu (Chris Hafey)
Newsgroups: comp.lang.pascal
Subject: BP7 using Extended Memory
Date: 13 Dec 92 04:32:24 GMT
Organization: California State University, Chico
NNTP-Posting-Host: hairball.ecst.csuchico.edu


  I just read in the last issue of Dr Dobbs Journal an article on the new
BP7.  The author stated that he was only able to get 4 megs of extended 
memory from his machine which had a total of 16 megs of ram.  Is this true,
and if so can someone explain why?  Also- when a program is in protected
mode, does it have to switch back to real mode to use msdos function calls
like file i/o?  In protected mode, is the extended memory only available
for data/variables or can code exist there as well?  In other words, does
your code still have the 640K limit, or can you have a non-overlayed
program with 2 megs of code?  Thanks for your time..

Chris Hafey

-- 
Chris Hafey                      |  True programming is rebooting the machine
chafey@cscihp.ecst.csuchico.edu  |  after each crash until it works. 
Newsgroups: comp.lang.pascal
From: mike@drd.com (Mike.Rovak)
Subject: (PC)BP7 - RTF capable editor?
Followup-To: comp.lang.pascal
Summary: where is it
Keywords: RTF, BP7
Organization: DRD Corporation
Distribution: usa
Date: Fri, 18 Dec 1992 23:15:07 GMT

Yo,

Does anyone know if Borland provides an editor which is RTF capable, so
that one may produce Windows Help Files?

Their Tools manual shows screens from Microsoft Word, not a good sign.
IMO, Resource Workshop should do this, but I saw no mention of it in
the RW manual.

Only thing I have found is a shareware tool, TXT2RTF, from CICA, but
this is only a filter, not a windows app.  Still, better than nothing!

-- Mike

------------------------------------------------------------------------
Disclaimer: My opinions do not necessarily reflect those of my employer.
========================================================================
------------------------------------------------------------------------
     mike.rovak@drd.com     
========================================================================
Newsgroups: comp.lang.pascal
From: gyl.midroni@rose.com (gyl midroni)
Subject: windows printing
Organization: Rose Media Inc, Toronto, Ontario.
Date: Thu, 17 Dec 1992 06:02:58 GMT
X-Gated-By: Usenet <==> RoseMail Gateway (v1.70)


Date Entered: 12-17-92 00:57
    Can anyone help with this windows (using BPW) problem:

    I need to print information to a page, less than one page at a 
time, i.e. 6 lines at a time.  The way windows printing seems to work, 
it requires you to define a whole page, and only then the printer will 
physically print the stuff out.  This means that to get the 6 lines 
out I need to send the escape code "endpage" or some such to produce 
the actually hardcopy, and this also has the sideffect of sending a 
form feed.   So, I get stuck with a whole bunch of pages with six 
lines used in each one, rather than several 6 line blocks per page, as 
would be easy to do in dos.
    Is there any way to deal with this?

                Regards,
                   Gyl
                gyl.midroni@rose.com

 
---
   RR 1.60 R001881
   RM 2.00 : RoseNet<=>Usenet Gateway : Rose Media 416-733-2285
Newsgroups: comp.lang.pascal
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: Nice curve fitting code...
Organization: University of Vaasa, Finland
Date: Sat, 12 Dec 1992 06:57:14 GMT

In article <1992Dec11.155710.10700@news.nd.edu> fdeck@vyasa.helios.nd.edu (francis deck) writes:
>I have a nice curve-fitting code in Turbo Pascal which I'm willing
>to post.  I don't want to waste bandwidth, but if a few people
>mail me, I'll put the entire source out to this group.  My code

As long as you do not post uuencoded material (the so called binary
postings, which are not allowed in discussion newsgroups) it is up
to you whether you post your sources.  And you are most welcome to
offer to email your code.  But before you do any of this do take a
look at what has happened to others who have in good faith made here
such a public offer.  As
 115799 Sep 20 08:35 garbo.uwasa.fi:/pc/ts/tsfaq30.zip 
will tell you the users have been totally inundated and then come to
me for help (to which you are welcome) more or less shocked. 
Happened once again just one or two days ago.  The choice is yours,
but be aware what might happen.  The alternative is to upload To
Garbo.  See
  11380 Sep 20 08:35 garbo.uwasa.fi:/pc/UPLOAD.INF
   4690 Oct 19 09:49 garbo.uwasa.fi:/pc/UPTEXT.INF
for that option.

>is based on the Levenberg-Marquart routine MRQMIN from _Numerical_
>_Recipes_, with some additional effects:  First, it contains a

Incidentally, Numerical Recipes codes are available as
 303775 May 2 1991 garbo.uwasa.fi:/pc/turbopas/nrpas13.zip

   All the best, Timo

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Newsgroups: comp.lang.pascal
From: scrosby@donner.SanDiego.NCR.COM (Scott Crosby)
Subject: Pascal compiler ?
Organization: NCR Corporation, E&M San Diego
Distribution: ca
Date: Tue, 15 Dec 1992 18:28:29 GMT

Does anyone know of a good shareware Pascal compiler
that will run on a 286pc.  If so, were can I ftp one.

Thanks
--
From: MOSER@wcsub.ctstateu.edu (If addressee has moved, do not forward)
Newsgroups: comp.lang.pascal
Subject: 10 MB of data, coming up!
Date: 21 Dec 92 02:20:51 GMT

>Date: 18 Dec 1992 12:51:36 -0500 (EST)
>From: Alan Turner <ATURNER@rcnvms.rcn.mass.edu>
>Subject: wanted: back issues of info-pascal
>To: info-pascal@BRL.MIL
>Message-id: <01GSGMIWN4VMBB2NQK@RCNVMS.RCN.MASS.EDU>
>
> I need about 10 megs of raw data and am looking for info-pascal archives.
> Do they exist? ...and if so could someone please direct me to where I can
> find them.
>-=Alan Turner=-                
>-=Email: aturner@ecn.mass.edu=-

Alan,
I wish everyone made such easy requests to fulfil. Try the following
program. With minor changes, it will supply you with almost any amount
of data for which you could ask.

Program GenerateData (Data);
Const AmountOfDataWanted = 1.0E7;
Var   Data :file of byte;
      Count:real;
BEGIN
Assign(Data,'Data.10M');
Rewrite(Data);
Count:=0.0;
While Count < AmountOfDataWanted do begin
  Write(Data,Random(256)); (* smile *)
  Count:=Count+1
  end;
Close(Data)
END.
Merry Christmas.
Duane Moser    Moser@WCSU.CtStateU.edu
Newsgroups: comp.lang.pascal
From: mprisco@lynx.cat.syr.edu ()
Subject: turbo pascal and Paradox
Organization: Syracuse University
Date: Fri, 18 Dec 92 10:05:45 EST


Does anyone know if Borland (or anyone else...) makes a product
to allow manipulation of Paradox Dbs using pascal?  Thanks...

Margot (mprisco@cat.syr.edu)

--
--
"I think we're passing through here kind of fast,
  Did you think these tracks in the dust would last? "
                                         - David Crosby
Newsgroups: comp.lang.pascal
From: gkwok@fraser.sfu.ca (Grant Kwok)
Subject: Windows & TP7
Summary: TP70 and routines for win apps
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Tue, 15 Dec 1992 07:13:57 GMT

Does anyone know if there are any TP7 or 6.0 units or routines that
can make programming Windows apps easier?  I'm talking about the DOS
verision of TP.


Newsgroups: comp.lang.pascal
From: adams@vms.ocom.okstate.edu
Subject: DOS Window & TVision (TP 6.0) ?
Organization: OSU College of Osteopathic Medicine
Date: Fri, 18 Dec 1992 15:18:50 GMT

        I saw a request for information on how to create a resizable "dos 
window" from within Turbo Pascal (using Turbo Vision).  I never did see a
response.  I too would like to be able to create a "window" to run dos.  Now, I
am setting up a dialog box, which prompts for a command, then uses this call:
        EXEC ('COMSPEC', '/C' + command);  (if this is wrong, pardon me;
                                            I am doing this from memory (-: )
which shells to dos and executes the command.  I then have a pause routine so
the user can view the results.  As you can see, this workaround is not very
efficent.  Is there any way I can set up a dos window, or even something like
the output window of the IDE?

Thanks in advance,
Steven Adams  (INTERNET:  adams@vms.ocom.okstate.edu)

P.S.  I am using TP 6.0 (not even 6.01)
Newsgroups: comp.lang.pascal