Page 1 of 1 1
Topic Options
#137304 - 2005-04-06 09:45 PM KiXtart 2010 Beta 2
Les Offline
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 Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3165
Loc: Houston TX
Wow Les

http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=136486&an=0&page=0#136486

Top
#137306 - 2005-04-06 10:27 PM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
/*

Way to go Ruud - Block comments !

*/

Top
#137307 - 2005-04-06 10:36 PM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Ran one of my large COM scripts with the new Beta ... it squawked about a syntax error all of a sudden. Thought "oh oh" until I realized it was an error on my part, looks like maybe Beta2 does a bit more "checking" of things, in a good way.
Top
#137308 - 2005-04-06 10:59 PM Re: KiXtart 2010 Beta 2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
if someone does want the linky in here...

www.kixtart.org/downloads
_________________________
!

download KiXnet

Top
#137309 - 2005-04-06 11:03 PM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
hmmm, looks like the new Beta "kicks-out" COM calls against properties that don't exist now. Again, this is a good thing (imho) but one can't be lazy anymore with COM objects ;0)
Top
#137310 - 2005-04-06 11:10 PM Re: KiXtart 2010 Beta 2
Howard Bullock Offline
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?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#137311 - 2005-04-06 11:13 PM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Getting a syntax error now:

ERROR : Error in expression.!
Script: xml.kix
Line : 737

-Shawn

Top
#137312 - 2005-04-06 11:20 PM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
But like I said, there is an error in my script (I was being lazy), all i had to do was correct the script.
Top
#137313 - 2005-04-07 01:11 AM Re: KiXtart 2010 Beta 2
Shawn Administrator Offline
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 Offline
Developer
*****

Registered: 1999-05-06
Posts: 359
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
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 157 anonymous users online.
Newest Members
Jodey, Hiker, GTRoberts, KatieQuinn, Brennnnn
17684 Registered Users

Generated in 0.037 seconds in which 0.012 seconds were spent on a total of 12 queries. Zlib compression enabled.