Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Abt .TPW files. Posted by nura_yajiv on 13 Feb 2003 at 11:02 PM
Hi,
I am new to pascal as such and would like to know what .TPW files are.. Are they some intermmediate files or are they Turbo Pascal for Windows code files. If they are code files, how can I view them..

Thanks
Report
Re: Abt .TPW files. Posted by DexterMagnific on 14 Feb 2003 at 5:12 AM
Hi,
There a "special" Pascal programs called Units.
A standard program starts with PROGRAM ProgName;
A unit starts with UNIT UnitName;

You can compare units to DLLs, they contain many functions and procedures that can be used by several programs.
For example, when you type USES Crt; You tell Pascal that your program uses the unit Crt.
But, unlike DLLs, Units can only be used with programs written in Pascal, and once your program is built (.EXE), units are built-in to your program, unlike DLLs that are external files.

When you compile a programs, Pascal generates a .EXE file,
when you compile a unit, Pascal generates a .TP file (.TPW for Windoze).
.TPW are "binaries" and connot be viewed. You need the sources to modify them.

Hope it helps.
DexterMagnigfic at yahoo.fr

Report
Re: Abt .TPW files. Posted by nura_yajiv on 24 Feb 2003 at 10:57 PM
thanx dexter..



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.