📄 readme
字号:
information for every identifier in your program.
o Syntax highlighting - Assign unique text colors for symbols,
reserved words, identifiers, strings, etc. You can also print
your syntax-highlighted source code (bold, italics, etc.)
from inside the IDEs.
o Tools menu in the IDEs that enable you to transfer control to
external programs, such as GREP or Turbo Assembler. You can
add your own tools to the Tools menu in the IDEs.
o Persistent symbols - TPX saves your program's symbol
information across sessions so you can instantly browse or
debug your program after exiting and then reloading the IDE.
o User-installable Help files in the IDEs. Indexes from
multiple Help files are automatically merged so you can
perform keyword or incremental searches.
o Local Menus - A click of the right mouse button (or Alt+F10)
brings up a context-sensitive menu in both IDEs.
o Optimizations, run-time library, and debugging enhancements
o Now automatically recognizes 386 (or later) processors
and uses fast 32-bit instructions for longint arithmetic
o Redundant pointer load suppression
o Faster text file I/O
o Faster string Pos routine
o Optimized sets
o PChar support - Allows null terminated strings
o Integer overflow checking {$Q+/-} - Integer, Word, etc
o OBJ file line number information pass-through - Allows
stepping through C or ASM code using the integrated
debugger
o Language extensions
o Open array parameters - Allows safer, more flexible
variable-length array parameters.
o New OpenString type - Allows a procedure or function
to accept any type of string parameter, even in the
{$V+} state.
o Constant parameters - Efficient, read-only value
parameters.
o Public/private sections - Allows public and private
sections of objects to be declared in any order.
o Typed @ operator {$T+/-} - Enforces type-checking when
using the address (@) operator.
o Inherited reserved word - Allows references to an inherited
method without knowing the ancestor's name.
o New standard procedures/functions
o Assigned - Returns True if a pointer is not equal to nil
(especially useful for procedure and function pointers).
o Include - Adds an item to a set.
o Exclude - Removes an item from a set.
o Break & Continue - FOR, WHILE, REPEAT loop control.
o Low & High - Return the low or high bounds of open array
parameters or of any scalar type.
o Turbo Vision enhancements
o Data-validation objects.
o New outliner object.
o New methods for inserting/executing windows and dialog
boxes.
o Multi-state check boxes.
o Cluster items that can be disabled.
o Completely reorganized printed documentation with new
tutorial programs.
o Expanded online Help system covering all the new features.
See the "What's new" section of the User's Guide for more
information regarding the new features of Turbo Pascal 7.0.
5. RELEASE NOTES
----------------
ADDITIONAL DOCUMENTATION
Changes and corrections to the printed documentation for Turbo
Vision are in MANUAL.TV in the \TP\DOC directory. Additional
documentation on TEMC and other utilities can be found in .DOC
files in the same directory.
DEMONSTRATION AND UTILITY PROGRAM NOTES
o DOC DEMOS - Source code to all of the examples in the
documentation can be found in the \TP\EXAMPLES\DOCDEMOS
subdirectory.
o BGIDEMO SHOWS VESA SUPPORT - See BGIDEMO.PAS in the
\TP\EXAMPLES\BGI directory for information on how to
autodetect and use the new VESA16.BGI driver. It supports all
standard 16-color VESA high resolution modes (800x600,
1024x768, 1280x1024).
o COMPILING DEMOS - There are new large demonstration programs
that consist of multiple units each. Make sure you're in the
directory that contains the demo source code before
compiling. For example, to build TVFM.PAS, the Turbo Vision
File Manager demo, change to the \TP\EXAMPLES\TVFM directory
before doing a compile with either the integrated development
environment or the command-line compiler.
o SOURCE CODE TO UTILITY PROGRAMS - The integrated development
environments' new syntax-highlighted printing relies on a
print filter utility that you can modify. PRNFLTR.PAS can be
found in the \TP\BIN directory.
For an example of how to write a tool filter for the IDE, see
GREP2MSG.PAS (the Tool menu's GREP message filter) in the
same directory.
COMPATIBILITY & KNOWN PROBLEMS
DOS
---
o TURBO VISION 1.0 SOURCE - The virtual method table (VMT)
format was modified to support dynamic methods (DMTs). You
must update any code that relies on fixed offsets into VMTs.
If, for some reason, you want to use Turbo Pascal 7.0 to
recompile the Turbo Vision source code provided in the Turbo
Pascal 6.0 Run-time Library Source Code product, change the
following constant declarations to the values specified
below:
OBJECTS.PAS:
TStream_Error = $0C;
TStream_Flush = $10;
TStream_Read = $1C;
TStream_Write = $28;
...
TCollection_Error = $0C;
TCollection_SetLimit = $24;
VIEWS.PAS:
TView_GetPalette = $30;
TPX (DOS Protected Mode)
------------------------
o OLDER SYSTEM UTILITIES - Some older system utilities and
application programs (memory managers, disk caches, RAM
disks, etc.) do not observe current industry standards for
DOS protected-mode operation. We recommend that you upgrade
such utilities to more recent versions.
o RUNNING WINDOWS FROM TPX DOS SHELL - Starting Windows in
enhanced mode from a DOS shell created by TPX is unsafe.
Normally Windows refuses to load in enhanced mode under such
conditions, but in certain situations it can hang the system.
If you do run Windows from a TPX DOS shell, always start
Windows in Standard mode.
o 386^MAX DPMI SERVER - There are known problems with pre-6.02
versions of the 386^Max DPMI server. We recommend that you
obtain and use their latest version (or use the Borland DPMI
server contained in this package instead).
o COMPAQ VDISK - If you are running on a Compaq 386 with Compaq
DOS v3.31, you should not use the Compaq VDISK. This version
of VDISK is not compatible with DOS protected-mode
applications like TPX.
o OS/2 AND TPX DOS SHELL - If you run TPX under OS/2, push a
DOS shell and then run another DOS protected-mode
application, both applications MUST use Borland's
protected-mode loader.
There is a known problem in OS/2 that will cause the DOS
session to crash after the second application terminates if
it uses a different loader. This will be fixed in a future
release of OS/2's DOS protected-mode support.
Note that it is not safe to start Paradox 4.0 from a TPX DOS
shell.
6. IMPORTANT NOTE FOR BORLAND C++ AND PARADOX 4.0 USERS
-------------------------------------------------------
The DPMILOAD.EXE and DPMI16BI.OVL files provided with this
release replace the older ones that came with Paradox 4.0 and
BC++ 3.0 or later. Delete or rename the older versions and put
\TP\BIN on your DOS path (so Paradox and BC can use the newer
ones).
If you want to be able to run BC++ or Paradox from within
TPX.EXE, you will need to use the EXTLEAVE option for the RTM
environment variable in order to leave enough memory available.
For example, you can set aside 2 MB for other programs by using:
SET RTM=EXTLEAVE 2048
See the printed documentation for more information regarding the
RTM environment variable.
If you plan to shell out from Paradox or BC++ to run TPX.EXE,
limit the amount of extended memory used by those programs. For
Paradox, use its /extk command-line parameter; for BC++, use its
/x command-line parameter. Refer to their documentation for more
information on the use of command-line options.
Here's a summary for troubleshooting purposes:
1. Are there any copies of DPMILOAD.EXE or DPMI16BI.OVL on the
path prior to those provided in \TP\BIN or in the same
directories as BC.EXE or PARADOX.EXE? If so, replace them
with Turbo Pascal 7.0's newer versions, or remove them and
set your DOS path correctly.
2. Have you set the RTM environment variable? For example:
SET RTM=EXTLEAVE 2048
3. If starting Paradox or BC first, have you used the required
command-line options?
7. TURBO PASCAL 7.0 AND THE OS/2 WORKPLACE SHELL
------------------------------------------------
These are the steps for creating a program icon for TPX.EXE under
the OS/2 2.0 Workplace Shell:
1. From the OS/2 desktop, double-click the Templates folder
to open it, grab the Program icon and drop it onto the
desktop or another folder.
2. When the Program Settings dialog box appears, enter the
following:
Path and file Name: *
Parameters: /C C:\TP\BIN\TPX.EXE
Working directory: C:\TP\BIN
Substitute the appropriate drive/path as needed.
3. Click the Session thumb tab and select DOS full screen
or DOS window as desired.
4. Click on the General thumb tab and enter Turbo Pascal 7.0
for the program title.
5. Double-click the Close button.
* * * * *
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -