Would anybody be interested in a
STYX version for DBC?
Obviously it wouldn't include some DBPro specific command sets, but these are possible:
COM, ActiveX, .NET
Commands in this section allow you to load COM, ActiveX or .NET DLLs (and one of their classes). Once loaded you can create new instances, call COM functions, check for the existence of COM classes, register DLLs and set/get values.
Dialogs
Open up standard Windows dialogs with a single call. Dialogs supported include: Color Picker, Folder Selection, Open File, Save File and Message Boxes. Full control over the properties of each dialog are included.
File Names and File Paths
A selection of commands to make working with files easier. Commands such as: Add/Remove Backslash, Change File Extensions, Expand Filename (turn the relative file name into a fully qualified path name by merging in the current drive and directory), Extraction commands to obtain the Drive, Extension, File Name and Path. There are also commands for Temp file handling, including the ability to create Temp Files that live in the Windows Temp folder.
Flash Movies
A set of commands to allow for the loading and playing of Flash movies within DarkBASIC. You can load and position Flash files (up to 256 of them), resize them, rewind them, fast forward, set the frame rate, pass vars into the Flash movie, set the background colour, find out the width, height and other attributes, and finally delete them from memory. If you've ever wanted to use Flash to create a smart looking intro sequence or main menu to your game, now you can!
INI Files
INI files are great for storing local settings without messing with the users Registry. These commands help you manage ini files quickly and easily. You can open them, read data from them, write to them, erase them, check for existing sections, count the values and perform validation and setting of data.
Number Operations
Number and Math related commands include: Even (check if the given value is even or not), High Byte Order commands (to return high byte values) for Bytes, Words and Longs. Low Order Byte commands to return Low order values from Bytes, Words and Longs. Make Double Integer to create double int values (by combining two DWords). Also included as MAX, MIN and ODD commands to return their respective values (MAX tells you which value is highest, etc). The latest version includes a set of bit manipulating commands as well. Additionally you'll find an expression evaluator that resolves numerical expressions during run time.
String Operations
Styx provides various string commands such as TRIM, LTRIM, RTRIM, SPLIT, REPLACE, INSTR, INSERT, DELETE, COPY and COMPARE. A powerful and customizable tokenizer helps you to analyse strings.
Window Shaper
Shape the DarkBASIC window to any form you like, set the transparency of the splash window, allow the shaped window to be dragged (or not) and check if the user is within the drag zone.
XML Files
The final section of STYX allows for XML file handling. You can create a new XML file in memory or load one, and then add/remove nodes and set node attributes and values. You can set nodes to root, parent or child status and iterate through the nodes. The resulting changes can be saved back again.