Page 1 of 2 12>
Topic Options
#78861 - 2002-05-30 03:09 PM 4.10 RC-2 available
Anonymous
Unregistered


http://www.scriptlogic.com/kixtart/
Top
#78862 - 2002-05-30 03:16 PM Re: 4.10 RC-2 available
MCA Offline
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 ]
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#78863 - 2002-05-30 04:25 PM Re: 4.10 RC-2 available
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
I especially like the Explicit and NoVarsInStrings options. We should make those two default for every script since it will cut down on script debugging and provide cleaner code.
_________________________
There are two types of vessels, submarines and targets.

Top
#78864 - 2002-05-30 04:42 PM Re: 4.10 RC-2 available
Shawn Administrator Offline
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 [Wink]

[ 30 May 2002, 16:44: Message edited by: Shawn ]

Top
#78865 - 2002-05-30 05:22 PM Re: 4.10 RC-2 available
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I too, am guilty as charged.

Does this include macros in strings?

Use "H:" "\\server\@UserID$$"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#78866 - 2002-05-30 05:28 PM Re: 4.10 RC-2 available
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Les,

Just try it.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#78867 - 2002-05-30 05:35 PM Re: 4.10 RC-2 available
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Perhaps misunderstood. Not a question of RC2 but rather of Shawn's comment.

Old way:
Use "H:" "\\server\@UserID$$"

New way?
Use "H:" "\\server\"+@UserID+"$$"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#78868 - 2002-05-30 05:37 PM Re: 4.10 RC-2 available
Shawn Administrator Offline
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
#78869 - 2002-05-30 05:59 PM Re: 4.10 RC-2 available
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Macros-inside-strings are indeed not affected by the 'NoVarsInStrings' option. I'm working on a separate 'NoMacrosInStrings' option, but it won't make it into 4.10. There are a couple more options like these that I may add in the future.

Eventually, I hope to add 1 'global' option (e.g.: 'PureSyntax') that would enable/disable all options at once.

Cheers,

Ruud

Top
#78870 - 2002-05-30 06:07 PM Re: 4.10 RC-2 available
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear Ruud,

Great job and great ideas.
Thanks, greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#78871 - 2002-05-30 07:00 PM Re: 4.10 RC-2 available
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Cool, I can then label my scripts as 'Pure KiXtart Inside' and even get a decal for it [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#78872 - 2002-05-30 07:26 PM Re: 4.10 RC-2 available
Shawn Administrator Offline
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"

[Wink]

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 Offline
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 [Big Grin]

(do you think he could give a class to the guys writing Office?)
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#78874 - 2002-05-30 07:35 PM Re: 4.10 RC-2 available
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I propose that negative option be applied. Otherwise, the default is still "legacy on" and so it'll be around forever.

$_= SetOption("Legacy","on") ;off by default
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#78875 - 2002-05-30 07:42 PM Re: 4.10 RC-2 available
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Rad, agreed, it was because Kixtart was light-weight, free-format and syntactically liberal and forgiving, that first attracted me to her in the first place. And that has kept me interested over the years ... Kixtart was and still is, a pure joy to work with.

-Shawn

Top
#78876 - 2002-05-31 12:37 AM Re: 4.10 RC-2 available
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Ok.. I'll tell you what. You guys work with WSH VB script for a few days trying to do the same things you do here with KiXtart, and I think you will soon see why we love KiXtart so much.

In WSH VB Script you get (function, expression, compile, etc...) errors ALL the time. Quite a pain in the but to work with it compared to KiXtart.

Sorry guys. I LOVE THE SLOPPY CODE If KiX goes the way of WSH, I might as well use WSH.

Top
#78877 - 2002-05-31 02:26 AM Re: 4.10 RC-2 available
Shawn Administrator Offline
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" [Wink]

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
#78878 - 2002-05-31 02:31 AM Re: 4.10 RC-2 available
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Shawn,
Are you being a wise guy?

tsk tsk tsk
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#78879 - 2002-05-31 02:55 AM Re: 4.10 RC-2 available
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
yeah les - i'm just fun'n - isn't it amazing how a guy can get so worked-up and passionate over a scripting language ?

-Shawn

Top
#78880 - 2002-05-31 03:15 AM Re: 4.10 RC-2 available
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Know what you mean. Kinda torn between the "loose, sloppy, whatever" coding of KiX and more "strict, rigid" format of the other languages EH!. Most of us like rules. Even if just to see how far we can bend them. [Big Grin]
I can see Ruud's side on this. Having to keep all this legacy support in must take some effort and must make additions more convoluted.

To Ron's comment, at the end of the day, it's not the strictness of the code but rather the functionality (or lack thereof) that will make (break) KiX in the end. Well... that and the 'pointy-haired Suits [Confused] ' making the decisions.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 2 12>


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

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.075 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.