HDTenEightyP/NetNews huggingface dataset:
From: dumas@imag.fr (Olivier Dumas)
Newsgroups: comp.lang.pascal
Subject: Re: TP units question
Date: 11 Sep 92 07:28:12 GMT
Reply-To: dumas@bounty.imag.fr
Organization: BullImag

In article <1992Sep9.152408.842@iplmail.orl.mmc.com>, steveg@iplmail.orl.mmc.com (Steve Gabrilowitz) writes:

> Another disadvantage of doing this is that if you make any changes to the
> parameter list in the routine, you have to change it in two places (interface and
> implementation) instead of just one.  Also, when you do this then TPC /M will
I don't agree with that. If you put the name of a procedure  in the interface,
you need to put the parameter list, but when you implement it, you don't have 
to repeat the parameter list.
Of course, repeating it makes the life easier when you read the implementation.

btw, it is wiser not to interface a locally-used procedure, for maintenance reasons (as said by Duncan Murdoch in an earlier article)

> have to recompile all the units that use the one with the routine you just
> modified, where if all the changes had been made in the implementation section it
> would not be necessary.
> 

-- 
+------------------------------------------------------------+
| Olivier DUMAS  -- e-mail : dumas@bounty.imag.fr            |
| Unite Mixte BULL-Imag -- ZI de Mayencin -- Gieres - France |
+------------------------------------------------------------+
Mathematics may be defined as the subject in which we never know what we
are talking about, nor whether what we are saying is true.
				-- Bertrand Russell (1872-1967)
Newsgroups: comp.lang.pascal
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: I need to direct screen output to printer.
Organization: University of Vaasa, Finland
Date: Thu, 10 Sep 1992 21:28:56 GMT

In article <1992Sep10.014425.24268@crash> tech@crash.cts.com (Don Bontemps) writes:
>Hello fellow pascal programmers.  My girlfriend is learning Turbo Pascal 6.0 in
>college and she needs a way to send the screen output to the printer so her
>teacher can see her program run.  I hear there is a program that other students
>use to acomplish this.  Could someone please E-mail me the program or direct me
>to where I may obtain it from.  Thanks (in advance)!

 98264 Aug 26 23:21 garbo.uwasa.fi:/pc/ts/tspa2960.zip
112730 Jun 13 12:23 garbo.uwasa.fi:/pc/ts/tsfaq29.zip

"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.  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". 

..................................................................
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
From: steveg@iplmail.orl.mmc.com (Steve Gabrilowitz)
Newsgroups: comp.lang.pascal
Subject: Re: Turbo Pascal 7.0
Date: 9 Sep 92 15:38:00 GMT
Organization: Martin Marietta

In article <1992Sep8.221748.94862@ns1.cc.lehigh.edu>, jlw5@ns1.cc.lehigh.edu (JOHN LESLIE WILLIAMS) writes:
|> Does anyone know the status of Borland's Turbo Pascal 7.0?  I have heard
|> repeated rumors that it is in the late stages of development, and any info on
|> beta testing, what this new version will have and when it will be available
|> would be greatly appreciated

This sort of message appears on the net from time to time, and is really a rather
silly one because anybody who might have any information on such would be
contractually obligated to not disclose it.

-- 



I think
I think I am
Therefore I am!
I think...



                            Steve Gabrilowitz
                            Martin Marietta, Orlando Fl.
                            steve-gabrilowitz@orl.mmc.com
                            Fidonet 1:363/1701 (407-380-1701)
From: v206gb6c@ubvmsd.cc.buffalo.edu (PauL M SchwartZ)
Newsgroups: comp.lang.pascal
Subject: Turbo Professional and TEGL II for sale
Date: 12 Sep 92 01:06:00 GMT
Organization: University at Buffalo
News-Software: VAX/VMS VNEWS 1.41


    I have the following stuff just taking up space in my apartment:

    Turbo Power's Turbo Professional 5.0 - probably the best set of canned 
routines for Turbo Pascal 4.0 and above.  Not the newer object oriented tools,
but the original, fast, text-based routines.  Mucho screen management stuff, 
TSRs, BIOS calls, string routines, BCD math, EMS, and large arrays.  $70

    TEGL Windows Toolkit II R1.10 - Graphical Windowing system for TP 5.0 and
up.  Event driven programming, drop down menu bars, animated icons, virtual
heap, overlapping windows, mouse, keyboard and timer control, a bunch of fonts.
I have a printed version of the manual.  This is a registered version of the
product.  $50


PauL M SchwartZ           | Follow men's eyes as they look to the skies
Future site of .sig virus |     the shifting shafts of shining 
v206gb6c@ubvms.BitNet     |         weave the fabric of their dreams.
pms@acsu.buffalo.edu      |             - RUSH -
From: "jeff zeitlin" <jeff.zeitlin@execnet.com>
Newsgroups: comp.lang.pascal
Subject: tp5.5 and stdio
Date: 12 Sep 92 19:48:56 EST
Reply-To: "jeff zeitlin" <jeff.zeitlin@execnet.com>
Distribution: comp
Organization: Executive Networks Information

     Subject: (was: Right. How do I write doors?)

RP::>Nah this aint just another "could someone tell me how to write a door?"
  ::>post.  I have heard that Pascals' (my version is 5.5) Write and WriteLn
  ::>routines don't use stdio, and so can't be relied upon effectively to
  ::>write output for doors that redirect stdio to the com ports.

RP::>Any hints on what I should use?  Let's not go too deep here - I'm in a
  ::>hurry to get this one fininshed! 8-)

  According to my TP5.5 manuals, Input and Output are indeed connected
  to the standard input and output.  If in reality they aren't, try
  explicitly ASSIGNing them to "CON:".  Then, use the standard Read
  and Write/ln procedures.  Alteratively, ASSIGN two other files, I
  and O, as above, and using Read/Write/ln(I/O,foo).

  J/
  jeff.zeitlin@execnet.com
  ==================================================================
  Anything I say in this or any communication to this or any medium
  is strictly my own non-authoritative opinion, unless otherwise
  explicitly noted.  Except for myself, or where explicitly noted
  otherwise, I do not speak for any individual or organization.
  ==================================================================

 * OLX 2.2 * Do you believe in the Perpetual Game?
--
Executive Network Information System  (914) 667-4567
International ILink Host
Newsgroups: comp.lang.pascal
From: rsl@aplpy.jhuapl.edu (Russell S. Laderer)
Subject: Re: Help with TP 6.0 program
Summary: More info
Organization: Johns Hopkins University Applied Physics Lab
Date: Tue, 15 Sep 92 12:21:18 GMT

In the original article, I wrote:
>I'm trying to help a friend debug some code written
>using TP 6.0, (he doesn't have net access), so I thought
>you all might be of some help.

>1) Are the functions `prvgaside` and `closegraph` provided by
>Turbo, and if so, what do they do?

>2) What are runtime errors 006 and 203?

>I don't know if this is routine stuff or not,
>but the programmer who wrote this for my friend's
>company is long gone, and so are the Turbo manuals.

Here is some more information.

The program reads data from an ascii file which
represents the force in (lbs/newtons/etc) exerted
by a piece of machinery over time.  This data is
then displayed on the screen as linegraphs.

When the 3rd menu option is chosen, runtime error 006
appears.  The third menu option is the procedure
printdata.

procedure printdata;
var s:string;
begin
   if num=0 then
      begin
	 clrscr;
	 writeln('No data');
	 writeln;
	 writeln('Press <ENTER> to return to menu');
	 readln;
	 exit;
      end;

   display;

   prvgaside;

   closegraph;
end;

Notes: 
The procedure display draws the linegraphs on the screen, and
seems to be working.

I haven't been able to locate the prvgaside procedure yet,
so I assume it is in one of the .TPU files. Possibly
'prscr', since these appear to be related to printing the
screen.

I appreciate any help you might be able to give me.

Scott Laderer
From: greg.vigneault@bville.gts.org (Greg Vigneault) 
Newsgroups: comp.lang.pascal
Subject: RE: SHAREWARE PASCAL COMP
Date: 13 Sep 92 03:18:00 GMT
Distribution: world
Organization: Baudeville BBS - Toronto, Canada 416-283-0114 2000+ conferences
Reply-To: greg.vigneault@bville.gts.org (Greg Vigneault) 

TB> Does anyone know of a shareware version of Pascal, or a subset
  > of it, suitable for beginners?

 Yes, SURPAS Pascal.  And, it's very close to being compatible with
 Turbo Pascal.  I found it in SURPAS.ZIP, on a local BBS.

 The SURPAS creators are ....

            Tixaku Pty Ltd
            P.O. Box 373
            Wentworthville
            New South Wales 2145
            AUSTRALIA

 Greg_

 Sep.13.1992.Toronto.Canada.        greg.vigneault@bville.gts.org
                                          
Newsgroups: comp.lang.pascal
From: waardenb@cs.utwente.nl (Jerry van Waardenberg)
Subject: RE: I need help with copying ""records""
Organization: University of Twente, Dept. of Computer Science
Date: Wed, 9 Sep 1992 08:24:43 GMT

In article <9SEP92.01244365@skyfox.usask.ca>, friesenda@skyfox.usask.ca writes:
|> In a previous article, tech@crash.cts.com (Don Bontemps) wrote:
|> 
|> >Now if I wanted to copy data[1] to data [2], could I just say
|> >data[2] := data[1] or would I have to do it this way
|> >data[2].name := data[1].name and so on and so forth.  Your help
|> >would be greatly appreciated.  Thanks (in advance).
|> 
|> 
|> data[2] := data[1];
|> 
|> should work fine; both elements are of the same type.  Its the
|> same as assigning one integer to another - just a different variable
|> type.
|> 

In Turbo Pascal, you can also use the move command to copy blocks of data:

  Move(Data[1], Data[2], SizeOf(Data[2]));

I use the SizeOf(Data[2])) expression for safety reasons.


Jerry van Waardenberg                                    ______ ____  _____   _____
Tele Informatics and Open Systems                          /     /   /    /  /_
Department of Computer Science                            /     /   /    /     -_ 
University of Twente, Enschede, The Netherlands          /   __/_  /____/  _____/
E-mail: waardenb@cs.utwente.nl                  

Newsgroups: comp.lang.pascal
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: Getting the prompt from DOS?
Organization: University of Vaasa, Finland
Date: Thu, 10 Sep 1992 05:54:30 GMT

In article <1992Sep10.015325.26026@uxa.ecn.bgu.edu> mudrc@uxa.ecn.bgu.edu (Daniel R. Crowson) writes:
>  Is there any easy way to retrieve the prompt from dos in TP?  I'd like
>  to be able to retrieve it and write it out.

The prompt is stored in an environment variable so you can use the
GetEnv keyword (see your TP manual if you happen not to be familiar
with it).  But the prompt is given as a code (eg $p$g) so that if
you wish to read the outcome (eg C:\MYDIR> ) then that is more
complicated.  I can't think at the moment of a way to do it (there
must be one eg by reading it directly from the screen), but one
could, of course, interpret the envirinment variables contents.  The
prompt codes are well known.

..................................................................
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: art@cyclone.MITRE.org (Arthur T. McClinton)
Subject: Changing the Font in a TPW window
Originator: art@cyclone
Organization: The MITRE Corp. McLean Va.
Date: Wed, 9 Sep 1992 19:21:56 GMT


I have a Turbo Pascal Program that uses WinCrt to perform "traditional"
screen I/O.  I would like to use the terminal font instead of the
system font to allow use of the graphics characters.  I have spent the
last several evening reading the manuals and browsing the help files
but some how I can not figure out how to change fonts.

Any help would be greatly appreciated.

Thanks

     
*
*---Art
*
*Arthur T. McClinton Jr.     Internet: ART@MITRE.ORG
*The Mitre Corporation       Phone: 703-883-6356
*7525 Colshire Dr.           Internal Mitre: ART@AERA785 or M10319@MWVM
*McLean, Va. 22102-3481      DCS: MCCLINTON
*                            FAX: 703-883-1964
Newsgroups: comp.lang.pascal
From: egodoy@dcc.uchile.cl (GODOY VEGA EDUARDO SALVADOR)
Subject: Re: can't get EXEC to work
Originator: egodoy@dcc.uchile.cl
Date: Sat, 05 Sep 1992 14:31:58 GMT
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion


In article <1992Sep2.182522.19@apap4>, roesel@apap4.pap.univie.ac.at writes:
>In article <la5469INNgd2@langtry.cs.utexas.edu>, joel@cs.utexas.edu (Joel Daniel Just) writes:
>> I am having trouble getting the EXEC command to work in Turbo Pascal v5.0 on
>> the PC.  Here is an example program:
>> 
>> PROGRAM TEST;
>> USES DOS;
>> BEGIN
>>    EXEC('dir','');
>>    WRITELN('DONE')
>> END.
>> 
>> When I run this program, 'DONE' is printed, and nothing else happens.  The
>> EXEC command doesn't seem to be executed, no matter what I put in between the
>> two sets of quotes in the EXEC call.  Even if I put garbage between the
>> quotes, I don't get an error.  I just get 'DONE' and that's it.
>> 
>>
>
One of most common error is that EXEC need to work in the same directory that
command.com ... if EXEC can't find these archive then don't work.!
Ok.
Maybe it will be useful !.



-- 
+---------------------------------------------------------------------------+
|  egodoy@dcc.uchile.cl                 | Ingenieria Civil Computacion      |
|  Eduardo Godoy Vega                   | U. de Chile.                      | 
+---------------------------------------------------------------------------+
-- 
+---------------------------------------------------------------------------+
|  egodoy@dcc.uchile.cl                 | Ingenieria Civil Computacion      |
|  Eduardo Godoy Vega                   | U. de Chile.                      | 
+---------------------------------------------------------------------------+
From: S105728@umrvma.umr.edu ( Steve Poulsen)
Newsgroups: comp.lang.pascal
Subject: RE: records
Date: 13 Sep 92 23:35:23 GMT

The whole record can be copied using it's identifier without going through
each separate field.

========================================      ,--,
  Steven P. Poulsen <S105728@UMRVMA>       ,'  '--,
  Student of Electrical Engineering        ---, ,'
  University of Missouri - Rolla            ,','
=======================================    , '
Newsgroups: comp.lang.pascal,alt.msdos.programmer
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: 3 questions
Organization: University of Vaasa, Finland
Date: Fri, 11 Sep 1992 04:12:38 GMT

In article <18ot9rINN67t@matt.ksu.ksu.edu> holland@matt.ksu.ksu.edu (Rich Holland) writes:
>Question 1:
>-----------
>  How do I determine if the user is at the command line?  I've been thinking
>  about writing a TSR to intercept keypresses at the DOS command line and
>  expand TABs to full filenames (like tcsh does).  

A very long shot, which probably won't produce anything, but just in
case.  If you know assembler (I don't) take a look at the list of
the PC-Magazine utilities and see if there is any history utility in
there.  The pcmag utilities come with sources.  The file that lists
the contents of them all is garbo.uwasa.fi:/pc/pcmag/0pcmag.dir (or
something near).  But I am a little pessimistic of this producing
anything.

..................................................................
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: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: TP units question
Organization: Queen's University
Date: Fri, 11 Sep 1992 01:58:55 GMT

In article <ART.92Sep10133100@world.std.com> art@world.std.com (Al Thompson) writes:
>
>No you don't.  The only place the parameter list must appear is the
>interface section.  The occurence of the parameter list in the
>implementation section is optional in TP and not permitted in Extended
>Standard Pascal.  I usually include the parameter list inside a comment
>in the implementation section.  This serves as a reminder as to what the
>parameters are without requiring my going back and forth between the
>interface and implementations, a real pain in a large program.These
>remarks of course only apply to exported procedures.

That sounds like a bad flaw in the Extended Standard.  Without the compiler 
checking up on you, how do you know that the parameter list you put in the 
implementation section is really correct?  

There are some differences that compile equally well either way, but 
lead to logic errors if you get them wrong:  For instance, your comment may 
say a parameter is passed by value.  If the true declaration says that it's 
passed by reference (a var parameter), then you may be modifying the 
original when you think you've got a copy to work on.

I think the TP design is better here.

Duncan Murdoch
dmurdoch@mast.queensu.ca
From: holland@matt.ksu.ksu.edu (Rich Holland)
Newsgroups: comp.lang.pascal
Subject: Re: Problim with CTRL-Break in TP6.0
Date: 13 Sep 1992 18:38:12 -0500
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

exuptr@exu.ericsson.se (exuptr@exu.ericsson.se) writes:

>Short answer: CheckBreak := FALSE;  (must USE the CRT unit)
                                      ^^^^^^^^^^^^^^^^^^^^^

Or write your own interrupt handlers for the Ctrl-Break interrupts...

-- 
Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Newsgroups: comp.lang.pascal
From: excoffie@sc2a.unige.ch (Laurent Excoffier)
Subject: Re: File type of *.EXE produced by TPW
Organization: University of Geneva, Switzerland
Date: Tue, 15 Sep 1992 07:52:09 GMT

In article <1992Sep14.210229.17897@nmsu.edu>, death@acca.nmsu.edu 
(Jeff Garzik) writes:

> excoffie@sc2a.unige.ch wrote:
> : I use TPw 1.5 to develop applications in biology under Windows 3.1.
> : Al the executable file I produce are labelled as : Windows Real Mode
> : by a file viewer from Norton desktop for Windows 2.0, whereas
> : executable files of conventional applications are labelled as : Windows
> : only.
> 
> Another RTFM question.  TPW has a compiler directive/option you can set
> called "Windows Stack Frame" ($W) which, when enabled, generates special
> prolog and epilog code to allow TPW-generated Win programs to run in
> Windows Real Mode as well as Protected Mode.  Disable this option your
> programs will be "protected mode only".

I have both read the Manual AND tried this options before posting this message.
Unfortunately, it does not affect the way NDW reads the *.EXE file type.

Does anyone actually know if the $W options REALLY works ?

Theory is great, but practice is even better, Jeff ...

-----
 Laurent Excoffier  /  Genetics and Biometry Lab.   /  Dept. of Anthropology
 U. of Geneva   /   12, rue G. Revilliod   /   1227 Carouge  /   Switzerland  
 Voice +41-22 343 6930 / Fax +41-22 300 0351 / Email: excoffie@sc2a.unige.ch
From: wct@po.CWRU.Edu (William C. Thompson)
Newsgroups: comp.lang.pascal
Subject: Re: I need a project idea
Date: 9 Sep 1992 05:40:39 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: wct@po.CWRU.Edu (William C. Thompson)
NNTP-Posting-Host: thor.ins.cwru.edu


In a previous article, sjs@netcom.com (Stephen Schow) says:

>I need an idea for a school Pascal project.  I shouldn't take more than
>10-15 hours of programming time.  This is for an advanced Pascal class.
>
>Any ideas?

10-15 hours?  This must be a small project.  Hell, some bugs I've
had took 10-15 hours to find. 
-- 
"What do you mean Star Trek isn't real!?" - anonymous
From: exuptr@exu.ericsson.se (exuptr@exu.ericsson.se)
Newsgroups: comp.lang.pascal
Subject: Re: Whetstones and Drystones
Date: 13 Sep 92 22:49:44 GMT
Organization: Ericsson Network Systems, Inc.

In article <1992Sep12.214612.21624@cs.unca.edu> snodgras@cs.unca.edu (Ryan Snodgrass) writes:

>Does anyone know how to calculate Whetstones and Drystones of a computer
>reliably?  Thanks,

>Ryan

Not a single person on the whole bloody planet.  Shameful, isn't it?
 ----------------------------------------------------------------------------
    "This must be Thursday.  I never could get the hang of Thursdays"
                                                       - Douglas Adams
  - Patrick Taylor                                       (Arthur Dent)
    Ericsson Network Systems
    exuptr@exu.ericsson.se                       "Don't let the .se fool you"
    or exuptr@ZGNews.Lonestar.Org, exu.exuptr@memo.ericsson.se
Xref: sparky comp.lang.pascal:5319 alt.msdos.programmer:2349
From: mlevis@ringer.cs.utsa.edu (Mike Levis)
Newsgroups: comp.lang.pascal,alt.msdos.programmer
Subject: 1 answer (was Re: 3 questions)
Date: 11 Sep 92 05:29:28 GMT
Organization: University of Texas at San Antonio

In article <18ot9rINN67t@matt.ksu.ksu.edu> holland@matt.ksu.ksu.edu (Rich Holland) writes:
>Question 1:
>-----------
>  How do I determine if the user is at the command line?  I've been thinking
>  about writing a TSR to intercept keypresses at the DOS command line and
>  expand TABs to full filenames (like tcsh does).  

Try hooking Interrupt 28h (DOS Idle Interrupt).  DOS invokes this
interrupt whenever it is waiting for buffered input (such as
the one used by command.com when waiting for input).  For more
info, see Ralf Brown's Interrupt List.

[...]

>Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
>100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
>Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
>char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}

[T]he [S]pirit of [R]adio

-- 
==== Mike Levis   mlevis@ringer.cs.utsa.edu ====
::   ftp syrinx.umd.edu  (128.8.2.114)  for   ::  .--.
::   Rush lyrics,  gifs,  and  information.   :: (OS/2)
:::: Get the Rush FAQL in dir /rush/special ::::  ~--~