HDTenEightyP/NetNews huggingface dataset:
From: roth@oasys.dt.navy.mil (Pete Roth)
Newsgroups: comp.lang.pascal
Subject: Re: TV: Limited display and menu def.
Date: 9 Nov 92 13:03:33 GMT
Reply-To: roth@oasys.dt.navy.mil (Pete Roth)
Organization: The David Taylor Model Basin

In comp.lang.pascal, CT80@music.mus.polymtl.ca (Steph) writes:
>I have two questions regarding Turbo Vision.  I'll start with the
>basic one:
>
>- What is the menu definition to make it that, once a user has
>  executed a sub-menu, the actual menu stays there until you
>  press ESC?
[...]

There is none.
The behavior you desire can be approximated by
setting up an event like
var E : TEvent ;
 E.What := evCommand;
 E.Command := cmYourMenuCommand;
 PutEvent(E);
in the procedure that handled the last submenu command.
The menu system gets redrawn.

>- When EXECing programs from TP/TV, is there a way to limit the
>  child process' actual screen area?  For instance, define a
>  window in TV then call a batch file that only writes in the
>  window defined by TV.

Make a TTerminal the interior of a Twindow and use AssignDevice to
put the file output into YourTTerminal.

regards, pete
- - - - - - - - - - - - - - - - - - - - - - - - - -
Peter N Roth      roth@oasys.dt.navy.mil
You can take a horse to water, but a pencil must be lead.
From: chard@borland.com (Richard Nelson)
Newsgroups: comp.lang.pascal
Subject: Re: A bit about BP7
Summary: BP7 Windows stuff
Date: 13 Nov 92 18:55:59 GMT
Organization: Borland International
Originator: chard@genghis.borland.com

>The question is as follows:
>I have TPW 1.5, with Application Frameworks. Will BP7 give me the
>same tools for windows programming (debugger, AF, etc) or have these
>tools been improved? In other words: Why Should I Upgrade, given that
>I do windows programming from within windows?

Sure.  There are some significant improvements in the Windows area.
First, I'll just say that BP 7.0 includes upgraded versions of all the
same tools that are in TPW 1.5, including a new IDE (BPW.EXE),
debugger, Resource Workshop, etc.  There are also a few more tools,
including a profiler for Windows, a very nice utility called WinSight
that sort of peeks at all the messages running around in Windows, and
WinSpector, a post-mortem debuging aid that helps track down UAEs.

Second, there are some real enhancements to the tools.  The most
notable addition to the development environment is the browser, which
can display your object hierarchy, variables, etc., and help you
navigate through your source code.  [The DOS environment has one of
these, also.]  The SpeedBar has also been improved.

Third, there are additions to ObjectWindows.  The most important ones
are objects for handling printing and data validation.  The data
validators are identical to those used by Turbo Vision.  There are a
few more little tweaks to ObjectWindows, and much improved
documentation.

I think that covers the highlights of the Windows portions of BP 7.  I
suppose I should also mention one other point, which is that the
DOS-hosted IDE can produce Windows apps, so you don't HAVE to be in
Windows to work on Windows code.

And one last note:  BP can also produce DLLs that run in DOS protected
mode that can be shared with Windows apps.  So you can put code that
isn't platform-specific into shared libraries and then use it from
either DOS or Windows apps.

Hope this sheds some light for you.
-- 
=========================================================================
 Richard Nelson, Borland Int'l | chard@borland.com | Go Bears! Grrr-rah!
  Had this been Borland's opinion, I would have written it in a manual.
  "We're wanted men, we'll strike again, but first let's have a beer."
From: chard@borland.com (Richard Nelson)
Newsgroups: comp.lang.pascal
Subject: Re: A bit about BP7
Date: 13 Nov 92 19:03:43 GMT
Organization: Borland International
Originator: chard@genghis.borland.com

>If  TP  Pro  is  being  superseded  by  BP7  why  does it cost 99 pounds to
>upgrade  to  BP7  from TP Pro *or* 99 pounds to upgrade from just plain TP?
>Shouldn't  it  cost  less to upgrade from the professional version? More to
>the  point  I  was told it costs 99 pounds to upgrade from any of TP,TP Pro
>or  TPW.  Since  I  have both TPW and TP Pro I asked what the upgrade price
>would then be. I was still told 99 pounds!!!!

Well, I don't set prices, but it strikes me that either way, it's a
heck of a good deal.  I won't quibble over whether people who own pro
versions should pay less to upgrade than those who don't.  Just ask
yourself, is it worth 99 pounds?

One motivation behind having a single upgrade price, I believe, is
that there has been a significant amount of confusion in the past when
we've offered more complicated upgrade offers.  I know that the last
C++ upgrade had 5 or 6 different options, depending on what you were
upgrading from and to.  This is really simple, and I think it's a
great bargain, no matter what you're upgrading from.

>I  assume  BP7  is nothing more than an amalgamation of TP Pro and TPW with
>bug fixes and a few new goodies thrown in so why the large upgrade price?

That assumption is largely wrong.  BP7 is a significant upgrade to
both the DOS and Windows versions, bundled in a single box, with new
features that neither previous product included, most notably the
ability to produce protected-mode applications.  Plus it includes the
full source code for the run-time library and the application
frameworks.  It's a great deal.
-- 
=========================================================================
 Richard Nelson, Borland Int'l | chard@borland.com | Go Bears! Grrr-rah!
  Had this been Borland's opinion, I would have written it in a manual.
  "We're wanted men, we'll strike again, but first let's have a beer."
Newsgroups: comp.lang.pascal,alt.bbs,comp.sys.ibm.pc.programmer
From: shadow@r-node.gts.org (Jay Chu)
Subject: Re: HOW TO WRITE ONLINE BBS PROGRAMS
Organization: R-node Public Access UNIX Information System (416-249-5366)
Distribution: york
Date: Sat, 07 Nov 1992 02:59:58 GMT

In article <1992Nov4.150710.3364@newshub.ariel.yorku.ca> cs911212@ariel.yorku.ca (RICK DILORENZO) writes:
>
>  There is "BOI"  BBS Online Interface by someone Mead.  It comes with
>all Turbo Pascal 5.5 Source (.PAS not .tpu) codes.  Has a nice async.pas
>that I'm using for my modem routines (handles the modem for me, and gives
>me the low level routines like getchar / sendchar that I use to build 
>higher-level routines similar to readln/writeln).  Plus it has another
>unit called 'getcmbbs.pas' that loads up the info from pcboard.sys,
>door.sys, or dorinfo.def for you into global variables (I.E gets
>baud rate, Name, time left, etc).  Doing a scan for 'boi' in any large
>BBSes turbo pascal file areas you should find it.  I know it's on CRS
>and Rose Media (Two large boards in Toronto) but elsewhere I can't say.
> 
>   Rick DiLorenzo  - cs911212@ariel.yorku.ca

Great!  I'll look for it.
-- 
        ______                shadow@r-node.gts.org
       | |__| |   If it's there and you can see it       - it's real
       |  ()  |   If it's there and you can't see it     - it's transparent
       |______|   If it's not there and you can't see it - you erased it!
Newsgroups: comp.lang.pascal,alt.bbs,comp.sys.ibm.pc.programmer
From: fangs@leland.Stanford.EDU (John Wesley Lewellen IV)
Subject: image file formats
Summary: request for info re. image file formats
Keywords: graphics, image, file, formats
Organization: DSG, Stanford University, CA 94305, USA
Distribution: york
Date: Wed, 11 Nov 92 23:17:44 GMT


Does anyone have, or knows where I can find, file format specifications
for any of the following graphics file types:

	TIFF or TIF
	TGA
	BMP (Windows Bitmap)
	GIF
	PCX

I'm working with an image capture board, and although the board
came with capture software, it did not include the file specs.
I would like to write my own image processing software, so I need
to know how the image data is stored in the files.

Thanks very much, all.  If you would, please E-mail me at:

	fangs@leland.stanford.edu 

as I do not check the Net too regularly these days (too busy!)

Thanks much!

John Lewellen
Newsgroups: comp.lang.pascal
From: boie@prince.DKRZ-Hamburg.DE (Markus Boie)
Subject: files locked after rewrite
Organization: Deutsches Klimarechenzentrum GmbH, Hamburg
Date: Mon, 9 Nov 92 10:28:26 GMT

My problem: whenever I ReWrite a file (TP 6.01) it stays locked until the
program ends. Now that program is a TSR and does not end :-) but I need to
access the newly created file. I have no problem reopening existing files
(ReSet), read and write them, close them and then access them from another
program. Just those newly created files get me problems.

Anyone knows a solution? I have read the manuals but could not find
anything about this *&^%*.

thanks,
  Markus
Newsgroups: comp.lang.pascal
From: ramsays@access.digex.com (Scott Ramsay)
Subject: Re: GameTP 2.0 and utilities are here!
Organization: Express Access Online Communications, Greenbelt, MD USA
Date: Mon, 9 Nov 1992 20:27:12 GMT

In article <1992Nov9.162753.8830@sulo.otol.fi> reneh@sulo.otol.fi (Rauno Haapaniemi) writes:
>>  *  GameTP version 2.0 for Turbo Pasal 6.0 is ready!
>> 
>>  *  GameTP Utilites are ready!
>> =====================================================================
>Excellent!
>Now there remains only one small problem!
>>    
>>    Its at wuarchive (wuarchive.wustl.edu) in the /PUB/MSDOS_UPLOADS  as:
>> 
>>        gametp20.zip            { TP6.0  lib. }
>>        gmtputil.zip            { Graphic utilites }
>This is all true for you americans, but I have no access to foreign
>software archives and I am _VERY_ interested in using this fine product,
>so has anyone uploaded it to _any_ finnish archive site??
>
>Rene
>
   I'll upload it to nic.funet.fi

 I guess it will appear in the /pub/msdos/games/programmer directory

Scott Ramsay
ramsays@access.digex.com
Newsgroups: comp.lang.pascal
From: sbakker@cs.vu.nl (Bakker S)
Subject: Re: Comparing record types
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Thu, 12 Nov 1992 10:20:17 GMT

<F0O@psuvm.psu.edu> writes:

>Hi!

>   Take a look at the following example program:


>Type
>TPoint = Record
>   X, Y: Integer;
>End;

>Var
>   P1, P2: TPoint;


>Begin
>   P1.X := 10; P1.Y := 20;
>   P2 := P1;
>   If (P1 = P2) then Writeln('Equal');     { This line is incorrect }
>End.

>   When I run the program, I get the message, 'Operand types do not
>match operator'.

That's right. '=' only applies to atomic types (scalar, floating point, 
string, set).

>   P1 and P2 are two variables of the same record type.  Now you can
>directly assign one record to another, as long as they are the same type.
>If there some simple way to compare P1 and P2 to see if they are equal,
>without having to check each field for equality in my code?
>   I was hoping I could say If (P1 = P2) then ..., but this does not
>work.  Does anyone know of some trick so I can easily compare records?

The problem is, the compiler cannot tell on which fields to compare the 
records. Should all fields match? Should only one field match (`primary key')?
For this reason you cannot simply say `If (P1 = P2) then ...' or use
any other relational operator for that matter.

What you might do is what C does with its strcmp(): write a PointCmp function.

    For simple comparison (`equal or not?'):

	function	PointCmp( P1, P2 : TPoint ) : Boolean;
	begin
	    with P1 do
		PointCmp := ( X = P2.X ) and ( Y = P2.Y );
	end;

    Now your line would become:
    >   If PointCmp(P1, P2) then Writeln('Equal');


    For full comparison ( <, =, > ):
	
	function	PointCmp( P1, P2 : TPoint ) : Integer;
	begin
	    with P1 do
		if X < P2.X then
		    PointCmp := -1
		else if X > P2.X then
		    PointCmp := 1
		else if Y < P2.Y then
		    PointCmp := -1
		else if Y > P2.Y then
		    PointCmp := 1
		else PointCmp := 0;
	end;

    Now your line would become:
    >   If PointCmp(P1, P2) = 0 then Writeln('Equal');
    And you could write:
        If PointCmp(P1, P2) > 0 then Writeln('Greater');
        If PointCmp(P1, P2) < 0 then Writeln('Smaller');

				Hope this helps,
				Steven.

[=============================================================================]
| Steven Bakker, Vrije Universiteit Amsterdam.				      |
| sbakker@cs.vu.nl                   					      |
[-----------------------------------------------------------------------------]
| ".. if a tree falls in the woods, and there's no one there to hear it, does |
| it fall upwards or downwards. And its corollary, if a deaf man falls in the |
| woods, does he make a sound?"						      |
|					-- Captain Rick.		      |
[=============================================================================]
From: samodena@csemail.cropsci.ncsu.edu (S. A. Modena)
Newsgroups: comp.lang.pascal
Subject: Re: What we need is a TPU to PAS convertor (Re: tpu files)
Date: 10 Nov 92 23:56:42 GMT
Article-I.D.: ncsu.1992Nov10.235642.27739
Organization: Crop Science Dept., NCSU, Raleigh, NC 27695-7620

In article <sV41TB2w164w@bowker.com> jnicholson@bowker.com (Jim Nicholson) writes:
>
>(BTW, in response to your earlier article, Borland *is* shipping the RTL 
>and Turbo Vision sources free to BP7 purchasers, "for a limited time").
> 
>- Jim

In my posting about BP7, I recommended careful reading of the upgrade
offer for precisely this reason.  There things in the rollout offer for
BP7 that I believe will cost extra later.

Steve
---
+------------------------------------------------------------------+
|     In person:  Steve Modena     AB4EL                           |
|     On phone:   (919) 515-5328                                   |
|     At e-mail:  nmodena@unity.ncsu.edu                           | 
|                 samodena@csemail.cropsci.ncsu.edu                |
|                 [ either email address is read each day ]        |
|     By snail:   Crop Sci Dept, Box 7620, NCSU, Raleigh, NC 27695 |
+------------------------------------------------------------------+
         Lighten UP!  It's just a computer doing that to you.
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
From: Shane.Greyvenstein@f61.n7101.z5.fidonet.org (Shane Greyvenstein)
Newsgroups: comp.lang.pascal
Subject: Vector Graphics
Date: 4 Nov 92 14:50:00 GMT
Article-I.D.: catpe.2748.2AF96544
Organization: FidoNet node 5:7101/61 - Pyramid, Pretoria

Hello All!

Could anybody perhaps explain the term 'Vector Graphics' in a bit more detail.  I would like to know what it would entail to do graphics of this sort, and exactly what is needed/done.  I have done WireFrame graphics before;  is this the same principal?  I am sure the rotation is the same, but what about the actual plotting.

Anybody?

Kindest regards,
Shane

--  
INTERNET: Shane.Greyvenstein@f61.n7101.z5.fidonet.org
via:  THE CATALYST BBS in Port Elizabeth, South Africa.
       (catpe.alt.za)   +27-41-34-1122 HST or +27-41-34-2859, V32bis & HST.
Newsgroups: comp.lang.pascal
From: u055@csx.cciw.ca (James Sprenger)
Subject: Re: Borland Paradox database engine
Organization: Canada Centre for Inland Waters
Date: Wed, 11 Nov 1992 17:56:13 GMT
Keywords: paradox, database engine



v2.0 of the Borland PDX engine allowed all low level Read/Write/Index etc
calls found in Paradox 3.5, and associated PAL scripts.  Some of the more
advanced PAL features are not implemented.


Newsgroups: comp.lang.pascal
From: 4224_5276@uwovax.uwo.ca
Subject: Help!: ABS SECT (C:) Read/writes!!
Organization: University of Western Ont, London
Date: Mon, 9 Nov 1992 21:33:32 GMT


I am desperately searching for ABSOLUTE SECTOR READ/WRITE routines that will
work on a Hard Drive under DOS 5.0!!  Does anyone know how to do this??

I am using Turbo Pascal 5.5.

ALSO:  If anyone knows how to change a file's directory & VolumeID flags...
this information is needed as well.  SetFattr only returns doserror 5 
(File Access denied).  

Answers could be posted here (comp.lang.pascal), or emailed to me:
(Chris Walden) 4224_5276@uwovax.uwo.ca
 
I will be truly grateful for any replies!
 
CW


Newsgroups: comp.lang.pascal
From: Hendrik.Klompmaker@beheer.zod.wau.nl (Hendrik.Klompmaker)
Subject: Storage of Microsoft Reals.
Keywords: Real,Microsoft,TurboPascal
Organization: Wageningen Agricultural University
Date: Tue, 10 Nov 1992 20:18:47 GMT

Hi,

A friend asked me about the format of microsoft (quick basic) real in a 
file. He needs to read a binary file in TP (wich uses IEEE reals) but doesn'
t know how the reals are stored. The files are written bye Qbasic.

Any input apreciated,

Bye Hendrik.

===============================================================================
|******** Wageningen Agricultural University. Animal Production Group ********|
-------------------------------------------------------------------------------
Hendrik Klompmaker		Internet : Hendrik.Klompmaker@Beheer.Zod.Wau.Nl
System Manager			Bitnet	 : KLOMPMAKER@HWALHW50.BITNET
Phone : +31 (0)8370-83934	Fax	 : +31 (0)8370-83962
Snail : Marijkeweg 40, 6709 PG	WAGENINGEN, The Netherlands
===============================================================================
Newsgroups: comp.lang.pascal
From: sbakker@cs.vu.nl (Bakker S)
Subject: Re: Turbo and Procs/Fns as params..
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Thu, 12 Nov 1992 16:10:07 GMT

sakkinen@jyu.fi (Markku Sakkinen) writes:

>Seems to be one of my pet peeves, like those Fortran compilers
>that cannot diagnose a jump into a DO loop as an error ...

Mmmh. I distinctly remember creating `great fun' programs with TP by modifying
loop variables within their loop. As far as I know, ISO Pascal never allowed
this. I'm familiar with C, so I'm careful to avoid such bug-prone constructs,
but still ...

					Steven.

---
"I heard a sound, I turned around. I turned around to find the thing that
 made the sound.." -- TMBG

Newsgroups: comp.lang.pascal
From: sakkinen@jyu.fi (Markku Sakkinen)
Subject: Re: Where is general Pascal group?
Organization: University of Jyvaskyla, Finland
Date: Wed, 11 Nov 1992 10:49:39 GMT

In article <mByRTB4w165w@digsol.jpunix.com> newton@digsol.jpunix.com (Michael Nichols) writes:
>Risto Virtanen <rvirta@utu.fi> writes:
>
>> Most of this group is about TurboPascal versions and idiosyncracies!
>> But I don't use TurboPascal:-( So where is pure Pascal group?
>> Or should there be a separate Turbo group?!?
>> 
>> Just asking...
>
>
>Despite its ideocyncracies when run under different operating 
>environments, the basic PASCAL language is the same.  If anyone has 
>questions regarding "Pure Pascal," I'm sure any one of us could answer or 
>would be interested in discussing it.  This IS the general Pascal board, 
>however, there is no "Standard Pascal."  Every compiler is slightly 
>different.  However, they have enough in common with each other to be 
>understood by most any Pascal programmer, being the high-level language 
> ...

Oh no!

1. There most certainly is a Standard Pascal, no quote signs needed.
   It's an ISO standard (IBM, Microsoft, and Borland are not the only
   standard-setting bodies in the world).
   There is also an Extended Pascal, which
   may already be accepted as an ISO standard (I am not sure).

2. Turbo Pascal arrogantly continues to omit some essential standard
   features, like procedures and functions as parameters, or buffers
   for file variables.  This is "recompensed" with innumerable Turbo
   specialties.

3. Most of the postings in this group are _very_ specific to TP
   or even to the hardware of some particular PC clone.
   I am sure that many other people beside myself who would have
   some interest in Pascal at large, have stopped following
   the group regularly.

4. There is indeed enough traffic for splitting.

----------------------------------------------------------------------
Markku Sakkinen (sakkinen@jytko.jyu.fi)
       SAKKINEN@FINJYU.bitnet (alternative network address)
Department of Computer Science and Information Systems
University of Jyvaskyla (a's with umlauts)
PL 35
SF-40351 Jyvaskyla (umlauts again)
Finland
----------------------------------------------------------------------
Newsgroups: comp.lang.pascal
From: pf@bilbo.bio.purdue.edu (Paul Furbacher)
Subject: Re: BP 7.0 upgrade and ProtoGen
Organization: Purdue University
Distribution: comp.lang.pascal
Date: Wed, 11 Nov 1992 19:11:08 GMT

In article <19921111131105.h198@hosp.med.umich.edu>, 
  h198@hosp.med.umich.edu  (Gene Mangum) writes:
> 
> I *think* I saw a comment here a couple of days ago that owning both
> TP 6 and TPW entitled one to a free copy of ProtoGen.   The article
> said something to the effect of "read your upgrade notice carefully".
> Well, I have, and I still can't find this.

Steve Modena penned the comment and I'm glad he did.  I had missed
it in the upgrade letter (it was not in the postcard).  

Flip the upgrade letter over, look for the signature and 
begin reading backwards.  You'll find it quickly.  
Best way to proof read.

Oddly, when I first called the Borland sales desk 
to order the upgrade, I was *sold* Protogen for $49.95.  
At the time, I was responding to the pre-release postcard.  
The real upgrade notice came the next day, and I 
didn't read it carefully enough to see that I should 
have gotten it free. My next call to Borland corrected the 
matter.

Thanks Steve.

PF

Newsgroups: comp.lang.pascal
From: koenen@research.ptt.nl (Rob Koenen (+31 70 332 5310))
Subject: Re: A bit about BP7 
Organization: PTT Research, The Netherlands
Date: Thu, 12 Nov 1992 09:33:33 GMT

In article <1992Nov11.012258.27466@borland.com>, chard@borland.com (Richard Nelson) writes:
> I'll play Mr. Authority Figure for a moment, at least.  :-)  TP7 is
> basically a straight upgrade to TP6, meaning it doesn't have all the
> extra goodies.  TP Pro no longer exists, being superceded by BP7.
> -- 
> =========================================================================
>  Richard Nelson, Borland Int'l | chard@borland.com | Go Bears! Grrr-rah!
>   Had this been Borland's opinion, I would have written it in a manual.
>   "I passed out and I rallied and I sprung a few leaks." -- J. Buffett


Richard,

Maybe you can tell us some more on BP7.
After reading all the standard docs on BP7, I asked OnLine Customer Support
(@Borland.com), but they didn't know.

The question is as follows:
I have TPW 1.5, with Application Frameworks. Will BP7 give me the
same tools for windows programming (debugger, AF, etc) or have these
tools been improved? In other words: Why Should I Upgrade, given that
I do windows programming from within windows?

Thanks in advance,

Rob 

(
 R.H.Koenen@research.ptt.nl
 tel. +31 70 332 5310
 fax. +31 70 332 6477 
 PO box 421
 2260 AK Leidschendam
 The Netherlands
)