Page 1 of 1 1
Topic Options
#150757 - 2005-10-28 02:46 PM may be a bug in kix 4.51 ?
ChristopheM Offline
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
#150758 - 2005-10-28 03:00 PM Re: may be a bug in kix 4.51 ?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Looks like a bug to me.
Top
#150759 - 2005-10-28 03:02 PM Re: may be a bug in kix 4.51 ?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Christophe,

not that I can see something you did wrong.
Think this should be moved to beta to get Ruuds attention.
_________________________



Top
#150760 - 2005-10-28 03:30 PM Re: may be a bug in kix 4.51 ?
ChristopheM Offline
Hey THIS is FUN
*****

Registered: 2002-05-13
Posts: 311
Loc: STRASBOURG, France
OK to post in beta but i have the problem with the last released version, not with a beta version.
_________________________
Christophe

Top
#150761 - 2005-10-28 03:54 PM Re: may be a bug in kix 4.51 ?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
ah well, yes,

allthough it is the beta Forum bugs of current releases should be reported here as well, as the suggestions/beta forums are the places Ruud visits frequently.
_________________________



Top
#150762 - 2005-10-28 04:44 PM Re: may be a bug in kix 4.51 ?
Allen Administrator Offline
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
#150763 - 2005-10-28 05:13 PM Re: may be a bug in kix 4.51 ?
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
We're going off topic here, but it is reasonable to assume when you don't specify an extension then the version that you intended to run is the .kx version. If you wanted to run the .kix version then you wouldn't be tokenising it.

If you get into the habit of specifying the full file name there won't be any confusion of course.

Top
#150764 - 2005-10-28 07:51 PM Re: may be a bug in kix 4.51 ?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
I agree. One should always give the exact file name and extension to use when calling.
Top
#150765 - 2005-10-29 05:54 PM Re: may be a bug in kix 4.51 ?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
nah.
but like said that's off topic.
_________________________
!

download KiXnet

Top
#150766 - 2005-11-21 05:00 PM Re: may be a bug in kix 4.51 ?
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Regarding the original topic: good catch. I'll see if this can be addressed in a future update.

Thanks for the report!

Ruud

Top
Page 1 of 1 1


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

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

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