Page 1 of 1 1
Topic Options
#81518 - 2003-02-20 06:10 PM Wishlist for KiXtart 4.50
Sealeopard Offline
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. Offline
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 Offline
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
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#81521 - 2003-02-20 08:22 PM Re: Wishlist for KiXtart 4.50
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hehe, small gameplay of that object style...
code:
function selma()
$add="nada"
endfunction

selma
"what:" selma().$add
get $

for structs and other sweet things I really would like to see this stuff done.

function-libraries (functions inside functions)
_________________________
!

download KiXnet

Top
#81522 - 2003-02-21 09:56 AM Re: Wishlist for KiXtart 4.50
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
We also need static (private) variables for both function and file scope.

Without these we cannot create self contained functions or function libraries which have state information.

Top
#81523 - 2003-02-21 06:28 PM Re: Wishlist for KiXtart 4.50
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
I think your Search is over... [Big Grin]

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
#81524 - 2003-02-22 12:51 AM Re: Wishlist for KiXtart 4.50
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
Jeez, NTDOC - I'm glad YOU said it! Cute presentation as well..

[Big Grin]

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#81525 - 2003-02-22 12:59 AM Re: Wishlist for KiXtart 4.50
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
At least Kixtart doesn't require a 20 MB runtime DL & install [Razz]

[ 22. February 2003, 00:59: Message edited by: Shawn ]

Top
#81526 - 2003-02-22 01:32 AM Re: Wishlist for KiXtart 4.50
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
unrelated posts moved to general-forum:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=14;t=000445;p=1

[ 22. February 2003, 02:42: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#81527 - 2003-03-02 05:01 PM Re: Wishlist for KiXtart 4.50
Kdyer Offline
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
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#81528 - 2003-03-02 05:59 PM Re: Wishlist for KiXtart 4.50
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
That's why it's #1 on my list in the first post of this thread [Smile]
_________________________
There are two types of vessels, submarines and targets.

Top
#81529 - 2003-03-07 10:40 AM Re: Wishlist for KiXtart 4.50
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
Radimus wrote about break, OnError, etc...

break in every kind of loop would be interesting (for, do...loop, while...)

OnError doesn't seem the better way to trap error (kix is not VB). I'd prefered something like try..catch (like C or Java) or try..finally or try..except in delphi.
_________________________
Christophe

Top
#81530 - 2003-03-09 02:43 AM Re: Wishlist for KiXtart 4.50
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
This thread has been hijaaked so many times it made it full circle to Jens' original request. I should have closed it then.
_________________________
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 1 1


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

Who's Online
0 registered and 718 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

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

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org