Page 1 of 1 1
Topic Options
#36626 - 2003-02-19 11:06 AM CALL command
scolombo Offline
Fresh Scripter

Registered: 2003-02-17
Posts: 31
Loc: Europe
Hi ,
a very basic question.
I need to call another kix script and passing to it some parameters .
I tried the CALL
call newscript.kix "parameter" but didn't worked

thanks

Top
#36627 - 2003-02-19 11:07 AM Re: CALL command
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
you don't need to pass parameters ...
The CALL'ed Script runs in the same 'environment' so variables set in the calling script are available in the called one (be aware of scope) and cna also be changed by the called

hth
Jochen
_________________________



Top
#36628 - 2003-02-19 11:49 AM Re: CALL command
scolombo Offline
Fresh Scripter

Registered: 2003-02-17
Posts: 31
Loc: Europe
thanks
Top
Page 1 of 1 1


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

Who's Online
0 registered and 1821 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.077 seconds in which 0.049 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