home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ipo-101.zip
/
Samples.zip
/
readme.lst
< prev
next >
Wrap
File List
|
1999-03-09
|
3KB
|
45 lines
Irie Pascal comes with the following sample programs.
add.pas - A simple program that computes and displays the sum
of the command-line arguments passed to it.
append.pas - Appends two files together, writting the appended files
out to a third file.
args.pas - Displays the number of command-line arguments passed to it.
ascii.pas - This programs displays the ASCII table.
bad.pas - This program is referred to in the Users Guide to
illustrate how the Compiler handles error messages.
batch.pas - A very primitive command processor.
calc.pas - A desktop calculator.
cat.pas - Writes one or more files to stdout (similar to the UNIX cat)
date.pas - Displays the system date and day.
dirpas.pas - A simple program which lists all the *.pas files in
the current directory.
hello.pas - The classic hello world program.
hex.pas - Binary Hex file viewer
imake.pas - A simple makefile utility that processes a make language
that I designed to be more readable than the standard
make language. See the included 'makefile' file for
the makefile I use to generate Irie Pascal. Note: this
make utility does not do dependency checking.
lines.pas - Counts number of lines in text files.
lowname.pas - Converts a file's name to lowercase
notstric.pas - A simple program that illustrates the dangers of
turning strict checking off.
primes.pas - A simple prime number generating program. I used this
program to help me get an idea of how much slower
Irie Pascal programs are than native code programs.
prime2.pas - Another simple prime number generating program. The
interesting thing about this program is that is uses
the built-in 'list' type.
rename.pas - Renames a file
strange.pas - A non-sensical program referred to in the Users Guide
to illustrate how program parameters are handled.
text.pas - Converts text files into native file formats by converting
end-of-line characters.
type.pas - A simple program which behaves like the 'type' command
(i.e. it echoes a file to the screen).
type2.pas - A simple program which behaves like the 'type' command
(i.e. it echoes a file to the screen).
vowels.pas - A simple vowel counting program which illustrates one
method of handling program arguments using Irie Pascal.