                               PB/CC Example Code


You are given permission to use any of the code in these sample programs in
your own programming projects with no royalty requirements.  Any code you use
should include a PowerBASIC copyright notice in your source code comments to
indicate that the code is the property of PowerBASIC, Inc.  You are not
required to provide the end user any PowerBASIC copyright information in
either your executable application or documentation.


CGI directory
-------------
CGITest  htm - HTML source for a web page that calls the PBCGI example
Dbg      bas - CGI debug helper: displays environment variables and more
EzCount  bas - Web page hits counter
HTML     inc - #INCLUDE file with HTML primitives
Mailer   bas - Send email from a web page
Mailer   htm - HTML source for a web page that calls the MAILER example
PBCGI    bas - CGI example displays local date/time in preferred user format
PBCGI    inc - #INCLUDE file with CGI primitives
ThankYou htm - Part of the MAILER sample: the "thank you" web page


Comm directory
--------------
Comm     bas - Simple serial communications program - dumb terminal


Cool directory
--------------
Cool     bas - GDI sample using LineTo API to draw lines
Kool     bas - GDI sample using PolyBezierTo API to draw lines


Hello directory
---------------
Hello    bas - Simple "Hello, World!" example
Hello    ico - Icon file
Hello    rc  - Resource script
Hello    pbr - PowerBASIC resource file
Hello    txt - Description of HELLO application


Parse directory
---------------
Parse    bas - Demonstrate the PARSECOUNT and PARSE$ functions


TCP directory
-------------
EchoServ bas - TCP Echo Server example
EClient  bas - TCP Echo Client example
WhoIs    bas - Look up domain information in rs.internic.net database
TCP32    inc - TCP primitives for SMTP, POP3 and other protocols


Thread directory
----------------
Thread   bas - Example of multithreading


TWord directory
---------------
TWord    bas - buggy sample for learning the debugger (see manual)
TWord    dat - data file for TWord


UDP directory
-------------
UDPClnt  bas - UDP client example
UDPSrvr  bas - UDP server example


Util directory
--------------
ANSI2ASC bas - Convert a Windows ANSI text file to DOS OEM ASCII text
ASC2ANSI bas - Convert a DOS OEM ASCII text file to Windows ANSI text
Eject    bas - Eject the CDROM drive tray
FileFind bas - Search the current logged drive for a filespec
FileVer  bas - Display Windows version information for a file
KbCode   bas - Display the CHR$() key code for any key press
LC       bas - Count the lines in a text file
LF2CRLF  bas - Convert an LF-delimited text file to CRLF-delimited text
PBSort   bas - 32-bit sort utility for text files
ScanPath bas - Scan the PATH for a filespec
WinErr   bas - Convert Windows error codes into text descriptions
