<< Click to Display Table of Contents >> Navigation: What's new > 2006 - version history > Version 1.0.9.4 |
Release date: 2006.04.27
Date |
Area/Module |
What |
Description |
Thanks to: |
---|---|---|---|---|
2006.04.27 |
Core |
Disabled |
RegExpr$ removed due to possible licence violation. |
|
Core |
Add |
SPLIT function introduced |
catventure |
|
2006.04.26 |
Core |
Fix |
GLOBAL variables defined inside a FUNCTION will be allocated only the first time they are encountered. If the function is executed more than once, subsequent GLOBAL definitions will be ignored. |
Psch |
Fix |
Single line IF statement problem when IF evaluates to FALSE. |
Psch |
||
2006.04.11 |
DT |
Add |
DT_IsValidDate function introduced. |
Psch |
Add |
DT_DateDiff function introduced. |
Psch |
||
2006.04.06 |
thinCore |
Improve |
Now TYPEs can have arrays elements. |
|
thinCore |
Fix |
Fix a problem with End-Of-Script determination. |
||
2006.04.04 |
thinCore |
Add |
With the introduction of external library interface, sometimes there is the need to check if a library exists or not. Also sometimes it is necessary to know the place where the library is. Now you can use Library_Exists function. It will return the full path of the requested library or a blank string in case library was not found. Optionally you can specify if to leave the library loaded after checking or not. |
|
2006.04.02 |
thinCore |
Add |
APP_IncludePath returns the standard thinBasic directory where official includes will be released. |
|
thinCore |
Add |
Introduced some meta tags for included files. When using external included files you can now specify the following meta tags: %APP_PATH% %APP_INCLUDEPATH% %APP_SOURCEPATH% These directive works only inside include file names An example: #INCLUDE "%APP_INCLUDEPATH%\RMChart.inc"
|
||
thinCore |
Improve |
PARSE implemented. One additional parameter added in order to parse matrix too. Before only arrays were parsed. With this option you can easily parse comma or tab delimited files in one single line of script:
nLines = PARSE(FILE_Load("MyTabSeparatedFile.tab"), MyMatrixVariable, $CRLF, $TAB)
This line will dimension and fill MyMatrixVariable in one go dimensioning the number of fields to max number of fields found in the file. Missed info are simply filled by empty strings. |
||
2006.03.31 |
thinCore |
Improve |
External DLL function can be declared with the same syntax as Power Basic. All main data types are handled, also TYPEs. So interfacing and using 3rd party DLL will be more simple from now on. Still some more strong error checking has to be implemented but the main functionality is in place. |
|
thinCore |
Improve |
Expressions containing TYPE elements will now be executed 50% faster than before |
||
thinCore |
Improve |
PARSE implemented. Now it will return the number of items parsed. It will also accept a numeric array. In case of numeric array, all parsed strings will be converted to numbers. |
||
2006.03.29 |
thinCore |
Improve |
Calling API functions will now store an internal dictionary with all external DLL used. This will keep external DLL open till script ends allowing usage of external DLL that needs to keep data synchronized with the script (3rd party DLL). |
|
2006.03.28 |
thinCore |
Improve |
String elements inside a TYPE must be fixed size. This mean that when you assign a value to a string data element, the value is right padded with spaces. But this also means that when you use TYPE string elements, the full size string is used. Now imagine this example: Type Tester s As String * 10 End Type
Dim MyVar As Tester MyVar.s = "AB" MyVar.s += "CD"
What will be the value of MyVar.s? "ABCD"? No. Because MyVar.s is right padded with spaces, the statement MyVar.s += "CD" will produce "AB" followed by 8 spaces, followed by "CD" and the result assigned to a 10 bytes string and "CD" will be truncated.
Now thinBasic in case of string element type and in case of prefix operator += will trim the receiving string element before concatenation. So MyVar.s will be trimmed before concatenation with "CD" will take place. This is only valid for += prefixed operation and in case of string element type assignment. |
|
thinCore |
Fix |
String elements inside a TYPE must be fixed size. Now parser checks for that. |
Psch |
|
thinCore |
Fix |
REM clause can be inserted between TYPE / END TYPE clause. Before only single ' comments were working. |
Psch |
|
thinCore |
Improve |
Numeric or string expression involving values taken from TYPE data structures was quite slow. Now in those cases, speed execution has been improved by 100% but still slower than standard variables. More optimizations will come. |
||
2006.03.26 |
thinCore |
Add |
TYPE / END TYPE introduction. Define a User-Defined Data Type (UDT), containing one or more member elements. Attention: some functionalities are still missing like passing Types to functions as parameters, creating arrays inside types, .... |
|
2006.03.17 |
thinCore |
Improve |
A bit more speed in script execution |
|
thinAir |
Add |
TBGL module keywords recognition for syntax highlight |
||
2006.03.15 |
thinCore |
Improve |
Some little speed optimization in case of repeated function calling inside scripts |
|
thinAir |
Fix |
National characters set support |
Psch |
|
thinAir |
Add |
Command line parameters, some options change will not require to restart thinAir, Tolls menu reorganized |
||
2006.03.14 |
DT |
Fix |
DT_DATESUBDAYS error when subtracting number of days equivalent to the days in the date |
Psch |
2006.03.11 |
thinCore |
Add |
Psch |
|
thinCore |
Improve |
JOIN$ has now format for numeric arrays |