27-October-2009

1) LEO –3.2(000)
• Dynamic string variables
Following the A-Shell improvements, Leo is now prepared to generate code for dynamic string variables, that is, variables mapped as “s,0” or “as s0” when arguments in a Procedure/Function.
To define the variable as dynamic in an input field, “D” must be selected from the list of variable types, that is not the same of selecting it as “S” and Size=0 (in this case it will be mapped as s,1).
The above can sound strange, once it would be easier to just define it as “s,0” but, this is to avoid the use of dynamic strings inadvertently and to keep unchanged the behaviour of existing projects.
On the other hand, the use of variables in other settings like, Labels, Suffixes, Tooltips,..., was simplified because, now, it’s not required the Type of variable, once it’s always strings and, when Size=0 they will be mapped as dynamic.
NOTE: To use dynamic variables, A-Shell must be updated to version 5.1.1164.3 “in the CUSTOMER”


• Nested TAB control
Previously was not possible to create a Tab control as parent of another Tab control, which it is now.
Anyway, this feature is not yet fully covered to all the details in the generated code, there are much more to refine but, I decided to publish this right now because, if needed, it works, even needing some manual adjustments in the main program.


• Code Generator: error trap
If any control is assigned to a non-existing parent (deleted in the meantime), on generating code, the parent is ignored and messages are displayed in the debug panel.
Prior to this, an error was being fired w/o much help about where is the problem.


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal