Dear Ruud,related release: KiXtart 4.00 final release (build 62)
related topic:
http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=002527
problem description:
awinkel reports:
After upgrading to the newest version of KiXtart I get an error at the follow
code
code:
USE H: "@homedir"
IF (@error = 0)
? "drive H mapped"
ELSE
? "prolems with mapping drive H"
ENDIF
with V3.63 it works well...
with V2001 it works good at w9x clients but not at NT machines
Anyone any idea???
Awinkel gets the error: Script error : error in USE statement !.
workaround available? YES
DrillSergeant reports in related topic which isn't only related
to the @homedir macro, but also to f.e. @homeshr macro.
I did some testing and if I have a script like this:
code:
BREAK ON
CLS
USE H: @HOMESHR
I get the same error as you! (WIN2K btw)
if I do:
code:
$dummy="@HOMESHR"
USE H: @HOMESHR
I don't get an error. Unfortunately I can't check if the mapping is made right now.It looks as though the statement '$dummy="@HOMESHR"' loads the macro into memory, but the USE statement
can't handle the macro if it isn't in memory yet?
With this workaround the result of awinkel script will be
code:
$=@homedir
USE H: "@homedir"
IF (@error = 0)
? "drive H mapped"
ELSE
? "prolems with mapping drive H"
ENDIF
greetings.btw: we add this issue also on the beta forum. Other members can take knowledge
of new issues, which are related to the KiXtart 4.00 final release (build 62).
It is also much easier for Ruud to find possible problems back and to prevent
him from a running fire of emails.
Also the members can easily see 'are there any problems at the moment' and 'what
is the status of it'. Emails are a virtual medium, which can get lost in the great
amount of emails a person like Ruud can receive simply and solely by KiXtart users.
btw: we found it a good place - even it is a final release - for such
problems. This release isn't the last release of KiXtart version.
btw: we are using for this problem the qualification minor, because there
is a workaround for it.
in other cases we like to use major as qualification.