We plan to release an update (v1.10) for STYX soonish that will include the most often requested features so far.
In case you have anything that you think STYX should have, feel free to post it here.
Current state:
There'll be additions to the existent sections as well as five new sections which I will talk about later.
New commands:
* Com, ActiveX and .Net
----------------------------------------------------------------------------------
Return Integer = REGISTER NET DLL(Dll name)
This command will register a .NET Dll on the user's system.
Be aware that the user requires administration or power user rights in order
to successfully register or unregister a Dll.
Return Integer = UNREGISTER NET DLL(Dll name)
This command will unregister a .NET Dll on the user's system.
* XML
----------------------------------------------------------------------------------
Return Integer = XML NODE EXIST(Xml, NodeName$)
Returns 1 if the given node name exists, otherwise 0
* Intervals
----------------------------------------------------------------------------------
SET INTERVAL SYNC ON Interval
Sets the interval in Sync-Mode. That means that the main program (thread) is paused
while the interval is executed. This is the default mode.
SET INTERVAL SYNC OFF Interval
Switches the Sync-Mode off. The interval is executed independently from the
main program (thread).
DELETE INTERVAL Interval
Deletes an existing interval.
* Ini Files
----------------------------------------------------------------------------------
READ INI CS VALUES Id, Section, Key, Array, Redim
Reads comma seperated values from a key of an ini file to an array.
Return Integer = GET INI CS VALUE COUNT(Id, Section, Key)
Returns the number of comma seperated values of a given key in the ini file.
WRITE INI CS VALUES Id, Section, Key, Array
Write comma seperated values to a key of an ini file from an array.
* String Operations
----------------------------------------------------------------------------------
TOKEN DELIMITERS Delimiters$
Sets the token delimiters. Usually these are the whitespace characters.
TOKEN SYMBOLS Symbols$
Sets the token symbols. For example +-*/ and so on
TOKEN STRING DELIMTERS StringDelim$
Sets the token string delimiters.
TOKENIZE Line$
Starts to tokenize a given string
TOKENIZE Text$()
Starts to tokenize a given string array
Return String = GET NEXT TOKEN()
Returns the next token. If no more tokens can be found, an empty string ("") is returned.
Return Integer = GET TOKEN LINE()
Returns the current token line starting from one
Return Integer = GET TOKEN COL()
Returns the current token column starting from on
Return Integer = GET TOKEN TYPE()
Returns the current token type. 1 = Identifier, 2 = Symbol, 3 = String
* Number Operations
----------------------------------------------------------------------------------
ADD EXPRESSION VAR Name$, Value
Adds a double float variable to the expression parser
DELETE ALL EXPRESSION VARS
Deletes all variables from the expression parser
DELETE EXPRESSION VAR Name$
Deletes a given variable from an expression parser.
Return Double Float = GET EXPRESSION VAR(Name)
Returns the double float value of a given expression variable
Return Integer = EXPRESSION VAR EXIST(Name)
Returns 1 if the given expression variabe exists; otherwise 0
Return Double Float = EVALUATE EXPRESSION(Expression$)
Evaluates a given expression and returns the result
Return Integer = GET EVALUATION ERROR()
Returns the error code of the previous expression evaluation.
0 = No error
1 = Stack Error
2 = Range Error
3 = Expression Error
4 = Operator Error
5 = Open Parenthesis Error
6 = Close Parenthesis Error
7 = Invalid Number Error
Return Integer = GET EXPRESSION VAR COUNT()
Returns the number of defined expression variables
Return Double Float = GET EXPRESSION VAR VALUE(Index)
Returns the double float value of a expression variable by its index
Return Double Float = GET EXPRESSION VAR VALUE(Index)
Returns the name of a expression variable by its index
* File names, file dates, file paths
----------------------------------------------------------------------------------
SET FILE DATE Filename$, Year, Month, Day, Hour, Minute, Second
Sets the date of a file
Return Integer = GET FILE DATE YEAR(Filename$)
Returns the year value of the file date of a file
Return Integer = GET FILE DATE MONTH(Filename$)
Returns the month value of the file date of a file
Return Integer = GET FILE DATE DAY(Filename$)
Returns the day of the month value of the file date of a file
Return Integer = GET FILE DATE HOUR(Filename$)
Returns the hour value of the file date of a file
Return Integer = GET FILE DATE MINUTE(Filename$)
Returns the minute value of the file date of a file
Return Integer = GET FILE DATE SECOND(Filename$)
Returns the second value of the file date of a file
* Window Commands
----------------------------------------------------------------------------------
PROCESS WIN MESSAGES
Processes windows messages. This can make the application more
responsive during loops.