#137304 - 2005-04-06 09:45 PM
KiXtart 2010 Beta 2
|
Les
KiX Master
Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
|
Quote:
Dear KiXtart supporters, <snip> The zip contains both a console and a console-less build. The manual hasn't been updated yet so it's not included. IMPORTANT NOTES: 1) Previous versions of KiXtart automatically appended the extensions".KIX" and ".SCR" to filenames specified without an extension. As of this build, KiXtart itself no longer uses the ".SCR" extension. Instead, KiXtart always tries for the ".KX" extension first, followed by the ".KIX" extension. 2) Files pre-tokenized with previous builds can not be processed by this latest build. New functionality/enhancements: Fixed INCLUDE. Debug mode now uses the actual console size. EnumIPInfo now has a 're-read' option. To use this option, specify a 3rd parameter with a value of 1 (e.g.: EnumIPInfo(0,1,1) ). FormatNumber was fixed to deal with numbers with multiple zeroes after the decimal point. Added NoMacrosInStrings option. If this option is ON, macros inside strings are not resolved. Added an operator for XOR operations: ^. Added an operator for binary NOT operations: ~. Added support for block comments. A block comment is a sequence of characters beginning with a forward slash/asterisk combination (/*) A comment can include any combination of characters, including newline characters, but excluding the "end comment" delimiter (*/). Comments can occupy more than one line but cannot be nested. Enhanced Split() to support the case-sensitivity option. This is still a BETA, so it's not meant to be used in production environments, but please feel free to share it either on your websites or via email. Note that we are getting close to the final version so it is vital to test all your scripts and let me know about any unexpected results. If you have any questions or suggestions: let me know! Kind regards,
Ruud van Velsen Principal Consultant
[edit] quoted the text and added to cal. - lonk
Edited by jokeli (2005-04-06 11:00 PM)
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.
|
Top
|
|
|
|
#137305 - 2005-04-06 09:49 PM
Re: KiXtart 2010 Beta 2
|
Bryce
KiX Supporter
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
|
Top
|
|
|
|
#137310 - 2005-04-06 11:10 PM
Re: KiXtart 2010 Beta 2
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
What do you mean "kicks-out"? Reports an error or destroys the COM object?
|
Top
|
|
|
|
#137313 - 2005-04-07 01:11 AM
Re: KiXtart 2010 Beta 2
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Here's a small snippet of code that demonstrates the new behaviors:
Code:
break on
$xml = createobject("microsoft.xmldom")
$element = $xml.AppendChild($xml.CreateElement("kixtart"))
$attribute = $element.setattribute("languagetype", "scripting")
?"element=" $element.xml
if $element.attributes ?"the element has attributes" endif
if $attribute.attributes ?"the attribute has attributes" endif
exit 0
If you run this with Beta1, we get no syntax errors. Here is the output listing...
Code:
E:\xml>kix32 t
element=<kixtart languagetype="scripting"/> the element has attributes
This code here is the "iffy" bit:
Code:
if $attribute.attributes ?"the attribute has attributes" endif
Theoretically, an "attribute" doesn't have attributes. But the old Beta just kinda glosses over it. If you run this with the new Beta, you get the following syntax error ...
Code:
E:\xml>kix32b2 t
element=<kixtart languagetype="scripting"/> the element has attributes ERROR : Error in expression.! Script: t Line : 15
According to the XMLDOM object model (browsing the typelib), a DOMAttribute does "have" an attributes property (collection) (??!!!) - looking at this property through the old beta, it returns an empty reference. Maybe what is "broken" in the new Beta is the handling of Empty references. Need to drill down more deeply to really figure-out whats going on.
Ruud - can you add anything ?
-Shawn
|
Top
|
|
|
|
#137314 - 2005-04-07 11:54 AM
Re: KiXtart 2010 Beta 2
|
Ruud van Velsen
Developer
Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
|
Hi Shawn: turns out this is yet another variant of 2010 b2 split changes
So: fixed in the next build.
Thanks for the detailed report.
Kind regards,
Ruud
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 507 anonymous users online.
|
|
|