#78861 - 2002-05-30 03:09 PM
4.10 RC-2 available
|
Anonymous
Anonymous
Unregistered
|
|
Top
|
|
|
|
#78862 - 2002-05-30 03:16 PM
Re: 4.10 RC-2 available
|
MCA
KiX Supporter
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Ruuds latest information about this release candidate quote:
The original plan was to release the final version of 4.10 around this time, but considering the nature of some of the fixes made to the code since RC1, I thought it best to have one more test-round.
Summary of the new functionality: - floating point math - Abs, Cdbl, Cint, Cstr, Fix, Int, Round functions - mod operator - MemorySize function - @CPU, @LOGONMODE, @MHZ, @SCRIPTNAME macros - InGroup accepts multiple groupnames (either directly, or in an array) - Explicit and NoVarsInStrings options - Improved handling of (stack fault) exceptions - KXRPC location order is now configurable - KXRPC client is now downward compatible - Support for default properties/methods of COM objects - Various fixes and minor enhancements - Added Join function
The manual has been updated with information on all new features and enhancements.
Take also a close look at http://www.scriptlogic.com/KiXtart/DevReport.asp page.
greetings. [ 30 May 2002, 15:18: Message edited by: MCA ]
|
Top
|
|
|
|
#78864 - 2002-05-30 04:42 PM
Re: 4.10 RC-2 available
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Having already admitted to being a huge "VarsInStrings" fan myself, Im going to go out on a limb here and suggest that using vars in strings is actually "faster" than specifing "NoVarsInStrings" and doing the string math seperately ... anyone ?
-Shawn
Jens, Im just stirring the pot [ 30 May 2002, 16:44: Message edited by: Shawn ]
|
Top
|
|
|
|
#78866 - 2002-05-30 05:28 PM
Re: 4.10 RC-2 available
|
MCA
KiX Supporter
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear Les,
Just try it. greetings.
|
Top
|
|
|
|
#78868 - 2002-05-30 05:37 PM
Re: 4.10 RC-2 available
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Les, Jens, yeah I was wondering about that too. I would have guessed that macros would have been included in this, but I just tried a test script here, and even if one specifies "NoVarsInStrings", macros DO still get expanded inside strings. guess they're special.
Getting back to the "faster" thingy, I was running some benchmarks here and found that specifying $vars in strings is actually about 30% to 50% faster than doing the string math (say over about 50,000 iterations). However, that may be because of all that "special", "funky" code that Ruud had to put into Kixtart on day-one, to handle these strings. Code that Ruud has previously mentioned, he would like to "strip out" of Kixtart, if he could. So maybe we're not comparing apples-to-apples here.
Plus, more to Jen's point, we haven't mentioned any gains associated with maintainability and readability when using NoVarsInStrings.
-Shawn [ 30 May 2002, 17:39: Message edited by: Shawn ]
|
Top
|
|
|
|
#78870 - 2002-05-30 06:07 PM
Re: 4.10 RC-2 available
|
MCA
KiX Supporter
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear Ruud,
Great job and great ideas. Thanks, greetings.
|
Top
|
|
|
|
#78872 - 2002-05-30 07:26 PM
Re: 4.10 RC-2 available
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Well, if there is one thing I've learned here over the years, and at the risk of sounding like I'm sucking-up to the big guy:
"In Ruud We Trust"
Actually, since your just "thinking" about this new option setting, how about something like:
$= setoption("strict","on")
and that would enable all these stricter language settings at once ... anyways, cheers to you as well.
-Shawn
|
Top
|
|
|
|
#78873 - 2002-05-30 07:33 PM
Re: 4.10 RC-2 available
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
If strict=on would mean bypassing some of the 'liberties' that we use in our (my) sloppy coding, to give us the benefit of faster execution... I'm all for that.
But considering the power and overall ease of Kix, even sloppy coding will ever be considered bloatware... Even if Ruud works for MS
(do you think he could give a class to the guys writing Office?)
|
Top
|
|
|
|
#78877 - 2002-05-31 02:26 AM
Re: 4.10 RC-2 available
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
Amen to that Doc ! For the casual developer, VBS can be the most frustrating, want-to-just-chuck-it-out-the-window kinda language ! My Grandmother used to have a term for this, she would have classified VBS as "Persnickity" !!! ... KiXtart is definitely not "Persnickity"
On another note, I've decided to start using this NoVarsInString option, is this how its done ?
break on
$option = "NoVarsInStrings" $setting = "on"
$= setoption("$option","$setting")
exit 1
-Shawn [ 31 May 2002, 02:30: Message edited by: Shawn ]
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
2 registered
(morganw, mole)
and 414 anonymous users online.
|
|
|