#150757 - 2005-10-28 02:46 PM
may be a bug in kix 4.51 ?
|
ChristopheM
Hey THIS is FUN
   
Registered: 2002-05-13
Posts: 311
Loc: STRASBOURG, France
|
Hi,
I have a problem with tokenized script. Look at the following lines Code:
break on cls
? "main code, scriptname = "+@scriptname
$=MyFunction() exit
function MyFunction() ? "function, scriptname = "+@scriptname endfunction
suppose the script is called toto.kix, when i launch this code, the result is : main code, scriptname = toto.kix function, scriptname = toto.kix
this is what expected.
now, if i tokenize the script and then run the script toto.kx, the result is main code, scriptname = toto .kx function, scriptname = toto .kix
This is not very cool !!!
am i doing something wrong ?
_________________________
Christophe
|
|
Top
|
|
|
|
#150762 - 2005-10-28 04:44 PM
Re: may be a bug in kix 4.51 ?
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4567
Loc: USA
|
I wonder why Ruud chose to change the default behavior to .kx first. There has been a couple times lately that I was working on a script where the encrypted version and unencypted one where in the same directory... I kept making changes to the .kix file and nothing was changing... I thought I was loosing my mind... until I finally realized it was running the .kx file instead of the .kix file.
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 931 anonymous users online.
|
|
|