Power Basic



FEATURES
(I'll leave the advertisement to the people of PowerBasic)
Arrays There are unique keywords for array handling. You can insert or delete items, scan the entire array for a specific value or even sort the array really quickly, just by using the ARRAY keyword. Since version 3.5 you can even store really big arrays in EMS memory.
Assembler PowerBasic supports use of assembler code (preceded by ASM or an exclamation mark)
Binary files You can open files in binary mode and manipulate them by using the GET$ and PUT$ keywords.
Units You can make your own collection of functions and subs and compile them to a unit file (.PBU). These files can be linked whenever you need them in your program, using the compiler $LINK direction.
Libraries You can put several unit files into a library file (.PBL). When you link the library to your program PowerBasic will only link those units from the library that it actually needs.


UTILITIES
PB UNITS This is a collection of several units, with many useful routines in it. If you follow the link, you'll get to a page with information for each unit.
filecopy.bas This is the routine that I use in my SGCopy program. It illustrates the use of binary file mode and assembler code.
showpcx.bas Use this code in your program by including the line $INCLUDE "showpcx.bas" in your program. For now this code will only display 320x200x256 images :-(


PROGRAMS (TEST VERSION)
fileid.zip This has become a really powerful DOS commandline utility that will display information for many file formats. It will also recognize the filetype when the file has a wrong extension. There are many options to change the way output is given. Some well-known supported formats are: MP3, WAV, EXE, JPG, GIF, ZIP, ARJ (and there about 100 more...)
sysinfo.zip This utility will show some system information such as processor type up to Pentium III, CD-rom drives, graphics adapter, operating systems, etc...
sgcopy.zip This was my very first program I made available to the public. It is actually just a copy engine, but it gives the user more information about the overall progress. I needed a command that both copied and moved and also showed me the progress, so I created it myself :)
grphedit.zip This program displays 320x200x256 PCX, 320x200x256 BMP (or smaller) and GIF files. You can edit the image or change the palette and write it back to disk as a bitmap. If anyone has an idea for another edit option, please let me know. Here are some formatted pictures to edit: Red corvette, Mariah Carey, Fractal


I look forward to help you with any problems with source code... Just send an E-mail to the address you find at the bottom on the main page.

dractool.zip | filecopy.bas | showpcx.bas | sgcopy.zip | fileid27.zip | sysinfo.zip




1