Please find at the link below some examples of PowerBASIC programming
techniques along with several useful fully-functional programs.
http://www.davar.net/PC/PBASIC/PBASIC.HTM
PowerBASIC sup****t 4DOS batch command scripts
-------- PowerBASIC Functions
COMPRES$ Compress character string
DAY2GRE$ Convert absolute day number into Gregorian date
DIGITAL% Check character string for digital value (predicate)
FILEREC% Count number of file records
GRE2DAY& Convert Gregorian date into absolute day number
GRE2JUL$ Convert Gregorian date into Julian date format
JUL2GRE$ Convert Julian date into Gregorian date format
LEAP% Check year for leap value (predicate)
PARSE$ Parse character string into substring array
REVERSE$ Reverse character string
TAILSTR$ Get character string tail
TRANS$ Translate character string symbols
VALDGRE% Check date for valid Gregorian value (predicate)
WEEKDAY$ Form day of a week abbreviated name
-------- PowerBASIC Routines
PRNTCLR Print colored text to screen
PROGRES Display file processing progress indicator
PROGRTM Display file processing progress indicator
with the elapsed/left time
-------- PowerBASIC Procedures
CONVLNK Convert plain text link list into HTML form
DIR2COP Convert directory into COPY batch script
DSC2REN Convert DESCRIPT.ION into rename *.BAT
RENPHOT Rename digital photo image JPG files
--------
PowerBASIC links
RSS feed of latest updates to the site - http://www.davar.net/RSS.XML
Updates to the site can be easily traced by corresponding colored
dates attached to key items - brighter colors indicate more recent
changes (see more about it at http://www.davar.net/ABOUT.HTM#Dates).
--
Best regards,
Vladimir Veytsel
http://davar.nethttp://it.davar.net