Page 1 of 1 1
Topic Options
#138915 - 2005-04-30 06:19 PM @SCRIPTDIR in Kixtart 4.50 Beta 2a
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Can anyone verify if @SCRIPTDIR is broken in the latest beta (compared to the behavior in 4.23 for example) ?

-Shawn

Top
#138916 - 2005-04-30 06:33 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Can you elaborate? I get identical results in my basic tests.

Code:
break on
'KiX version: ['+@KiX+']' ?

'ScriptDir: ['+@SCRIPTDIR+']' ?


KiX version: [4.50 Beta 2a Release]
ScriptDir: [C:\KiXscripts]

C:\KiXScripts>

KiX version: [4.23]
ScriptDir: [C:\KiXscripts]

C:\KiXScripts>
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#138917 - 2005-04-30 06:34 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Move and run your script from the root of C: and try again ...
Top
#138918 - 2005-04-30 06:41 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Using the following script:

Code:

break on

? "SCRIPTDIR=" + @SCRIPTDIR

exit 0



Getting different results ...

4.23

E:\>kix423 bug

SCRIPTDIR=E:

4.50

E:\>kix32 bug

SCRIPTDIR=


Top
#138919 - 2005-04-30 06:48 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
So.. prob only if run from the root?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#138920 - 2005-04-30 06:50 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
and only if the path is implied as curdir?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#138921 - 2005-04-30 07:48 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I think only if curdir = scriptdir, regardless of whether its root or not.
Top
#138922 - 2005-04-30 08:18 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
right you are


C:\KiXscripts>C:\KiX4.50b2\KIX32.EXE test.kix
KiX version: [4.50 Beta 2 Release]
ScriptDir: []

C:\KiXscripts>C:\KiX4.23\KIX32.EXE test.kix
KiX version: [4.23]
ScriptDir: [C:\KiXscripts]

C:\KiXscripts>

I would never had noticed cuz I do all my testing by drag/dropping the script onto a shortcut that launches KiX from CMD. That way the path is full and never implied as curdir.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#138923 - 2005-04-30 09:22 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Ditto - same results here.

C:\>C:\KiX45b2a\kix32 C:\KiX45b2a\test.kix
KiX version: [4.50 Beta 2a Release]
ScriptDir: [C:\KiX45b2a]

C:\KiX45b2a>kix32.exe test.kix
KiX version: [4.50 Beta 2a Release]
ScriptDir: []

C:\KiX45b2a>kix32.exe .\test.kix
KiX version: [4.50 Beta 2a Release]
ScriptDir: [.]

Top
#138924 - 2005-04-30 09:43 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Doc,

Those tests almost make it appear like Kixtart is now fetching @SCRIPTDIR from the commandline now, instead of some other way.

Top
#138925 - 2005-05-06 12:59 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Good catch: this is fixed in RC1 (due to be released soon).

Ruud

Top
#138926 - 2005-06-16 05:04 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
iffy Offline
Starting to like KiXtart

Registered: 2005-05-29
Posts: 149
Loc: The Netherlands
still some problems with @scriptdir (and @scriptname), see here
Top
#138927 - 2005-06-19 10:19 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
iffy had some issues issues and one friend of mine but nobody else can see these, afaik.
_________________________
!

download KiXnet

Top
#138928 - 2005-06-19 11:52 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Yeah, Iffy doesn't have Build 195 which fixed the problem.

Build 196 may be the Release Version expected any time now.
 

Top
#138929 - 2005-06-21 04:05 AM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, rc-1 was said to fix this and 195 did not promise this, thus think it does not cut it.
but.
think we will see if not sooner, at least when gold comes up and iffy gets his hands on it...
_________________________
!

download KiXnet

Top
#138930 - 2005-06-21 07:06 AM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Well I think the naming of the versions may be the issue.

That is why I've been trying to use the build number when I speak of it.


Here was an e-mail from Ruud with KiXtart 4.50 Build 195
 

Quote:

Hi guys,

attached to this email is the final build of 4.50. Before I release this 'into the wild', I want to ask you to do a final test with your existing scripts to make sure everything still works as expected.

I've only fixed a couple minor issues since RC1, so there should be no surprises, but I just want to be sure...

Changes in this build (since RC1): fixed @scriptdir and @scriptname, fixed commandline processing and enhanced VarTypeName().

As soon as I get an 'ok' from you, I'll send out an email announcing the release.

NOTE: before that moment, please do not share this build on your websites.

Many thanks in advance for your help!

Kind regards,

Ruud



Top
#138931 - 2005-06-21 07:38 AM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so there it was in the mail...
should read all the "docs" before saying anything.
_________________________
!

download KiXnet

Top
#138932 - 2005-06-21 04:49 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I must have missed that last email. never got it. I think my mail server/dynamic DNS was fubared at the time (should be fixed now)
Top
#138933 - 2005-06-21 09:42 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
that's not last email.
I can't get logged onto my hotmail account but afaik, there is already a new one.
_________________________
!

download KiXnet

Top
#138934 - 2005-06-21 10:09 PM Re: @SCRIPTDIR in Kixtart 4.50 Beta 2a
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Ja. I got one this morning.
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
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

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