home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
tb
/
tbsuplow
/
tbsuplow.doc
< prev
next >
Wrap
Text File
|
1988-12-18
|
2KB
|
53 lines
TBSUPLOW Command
TBSUPLOW: Turbo Basic Source Upper/Lower Case Conversion. Turbo Basic
is a registered trademark of Borland International, Inc.
Purpose: Converts Turbo Basic input source file to an output source
file which conforms to the upper/lower case standard which
is described below.
Format: [d:][path\]TBSUPLOW input_filespec output_filespec
Files: TBSUPLOW.EXE - executable program.
TBRWORDS.DAT - ascii file of Turbo Basic reserved words.
TBSUPLOW.BAS - program source file for TBSUPLOW.EXE.
TBSUPLOW.DOC - this document.
Running: When TBSUPLOW.EXE is run, TBRWORDS.DAT must reside either in
the root directory of the current drive or in the default
directory of the current drive.
Input: If a complete DOS path is not specified, the input source
file must reside in the current default disk and directory.
Output: If a complete DOS path is not specified, the output source
file is created in the current default disk and directory.
Standard: The input source file is converted to an output source
file wherein:
1) Reserved words are capitalized. Example: RETURN.
2) Function names are capitalized. Example: FNCOMPUTE.
3) Comments are NOT altered. Example: 'upper/LOWER.
4) One-character labels, variables, and named constants
are lower case. Example: x.
5) Multi-character labels, variables, and named constants
are upper case at the first character and lower case
beyond the first character. Example: Wordlist.
6) String constants are NOT altered. Example: "AaZz".
7) Constants prefixed by &H/&h/&B/&b/&O/&o/&Q/&q are
capitalized. Examples: &H3F, &B01010101, &O77.
Remarks: Do not be alarmed if DOS DIR reports that output filesize
is one character shorter than input filesize whenever input
file includes a CTRL-Z EOF terminator.