#81518 - 2003-02-20 06:10 PM
Wishlist for KiXtart 4.50
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
Just three humble requests for the KiXtart 4.50 release:
1) Inclusion of both ByVal and ByRef passing of variables into UDFs. This will enable us to write more complex UDFs that return multiple values. ByVal would be default and thus backwards compatible. Proposed syntax would be
code:
function test($a, byref $b, optional byref $c) endfunction function test1(bref $a, byval $b) endfunction
2) Allow the '.' inside a variable name. this would allow us to write pseudo-object-oriented code like:
code:
function file.add($a) endufunction function file.delete($a) endfunction function file.modify($a) endfunction
Currently this is not possible as we cannot return values as variable name with a '.' in it are not allowed.
3) Improved INGROUP that will also allow for checking of all kinds of Active Direcotry memberships (organizational units, ...) and arbitrary computers/usernames. proposed syntax is as follows and woudl be backward-compatible
code:
; check whether @USERID is a member of 'Domain Admins' IF INGROUP('Domain Admins') ENDIF ; check whether @WKSTA is member of organizational unit IF INGROUP('someOU',@WKSTA) ENDIF IF INGROUP('somedomain\someOU\somesubOU',@WKSTA) ENDIF ; check whether another computer is member of organizational unit IF INGROUP('somedomain\someOU\somesubOU','anotherComputer') ENDIF ; check whether another user is member of organizational unit or group IF INGROUP('someOU,'username') ENDIF IF INGROUP('Domains Admins','another username') ENDIF
[ 20. February 2003, 18:11: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
#81519 - 2003-02-20 06:21 PM
Re: Wishlist for KiXtart 4.50
|
Chris S.
MM club member
Registered: 2002-03-18
Posts: 2368
Loc: Earth
|
I'd still like to see a With/EndWith statement added. With the advent of COM scripting it would improve executing a series of statements on a single object.
Example:
code:
With $form .Height = 400 .Width = 600 .Caption = "This is MyLabel" EndWith
|
Top
|
|
|
|
#81520 - 2003-02-20 07:17 PM
Re: Wishlist for KiXtart 4.50
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
don't forget about these if possible:
break for loops OnError / EndOnError Continue for Select/Case statements
|
Top
|
|
|
|
#81523 - 2003-02-21 06:28 PM
Re: Wishlist for KiXtart 4.50
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11624
Loc: CA
|
I think your Search is over...
I've found a link to some software that appears to handle all those style requests you guys have asked for accept maybe the Ingroup stuff.
Scripting the new frontier
|
Top
|
|
|
|
#81525 - 2003-02-22 12:59 AM
Re: Wishlist for KiXtart 4.50
|
Shawn
Administrator
Registered: 1999-08-13
Posts: 8611
|
At least Kixtart doesn't require a 20 MB runtime DL & install [ 22. February 2003, 00:59: Message edited by: Shawn ]
|
Top
|
|
|
|
#81527 - 2003-03-02 05:01 PM
Re: Wishlist for KiXtart 4.50
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
I know that there have been those of us who, have taken VBScripts and converted for use in the KiX world. What about byVal and other related components?
Kent
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 496 anonymous users online.
|
|
|