#81466 - 2003-01-21 04:18 PM
Include FunctionLibrary.kix
|
Wylie
Lurker
Registered: 2003-01-21
Posts: 2
Loc: Sydney, Australia
|
Ive just discovered Kix, Its great, but one thing is missing, and Im sure its been thought of before... but... just in case...
With all the UDF's out there, it would be very convienient to build a function library which could be included from multiple kix scripts, alas I cant find an "Include" command in Kix 4.12 (havnt looked at the beta yet). In my mind, this is a "must have".
Having multiple kix scripts, each with their own copy of the same essential UDF's is a pain to maintain, it would be much nicer to have these in one file and just include that into whichever script needed it.
Ok, so having said im new, I'll also add that im no stranger to scripting and have picked up kix as if I'd been using it for years. In 2 days I have a form based logon script that does just about everythng almost finished... another day or so and it will be in production. I dont know whether this is because Im familiar with scripting, or if its because Kix is fantastic, and well supported (Im assuming its the latter)
|
Top
|
|
|
|
#81469 - 2003-01-21 04:20 PM
Re: Include FunctionLibrary.kix
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
The library you desire is one or more KiXtart script with nothing but UDFs in it. Use CALL "library.kix" to load it into your main script.
{darn} Les is now faster than me. I must be getting old. [ 21. January 2003, 16:21: Message edited by: Howard Bullock ]
|
Top
|
|
|
|
#81476 - 2003-01-21 05:11 PM
Re: Include FunctionLibrary.kix
|
Wylie
Lurker
Registered: 2003-01-21
Posts: 2
Loc: Sydney, Australia
|
Thanks guys, and thanks for the speed at which you all replied. I feel kind of dumb now, but yes, reading the docs (and a past knowledge of non-kix scripting) led me to believe that CALL would run a script in a seperate memory space.
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 557 anonymous users online.
|
|
|