#66995 - 2002-06-16 06:50 AM
Re: Errors Creating INI and LOG files on WIN95
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
We have also take a look at your script and we have some suggestions:
- line was incorrect
If (($OS = "WinNT4") OR ($OS = "Win2K")) AND ($Privilege = "User") - advise to use quotations in following lines:
Box (0,0,2,79,"DOUBLE") Box (22,0,24,78,"SINGLE") IF (ReadProfileString ($patchfile, "$OS", "$OSPatch") <> "DONE") IF (ReadProfileString ($patchfile, "IE", "$IE_Patch") <> "DONE")
(we replace DONE by "DONE")
latest correction can return unexpectedc errors. DONE isn't a function and you doesn't mean it as a function but as string.
Misspelling names can be verified with the other tool kixref. The call is
kixref input.kix output /warnings
Before above correction it will return:
Warnings about unknown keywords
b ? 372 done ? 2428 2450 double ? 378 g ? 367 g: ? 2550 2552 h: ? 2492 2494 r ? 362 592 596 replace ? 113 434 single ? 588 trimip ? 197 199 201 203 w ? 362 367 372 592 596
Summary - kixtart 4.10/3.04e
boldsymbols 3 commands 39 functions 31 labels 26 macros 17 variables 108
env 1 udf 2 ? 11
gosub 21 goto 6
265
Block Structure
do:until [1:1] for|each:in|to:step|next [1|1:1|0:0|1] function:endfunction [2:2] if:else:endif [101:43:101] select:case:endselect [20:70:20] while:loop [3:3]
128 blocks
greetings.
btw: can you mail your complete script to use. a simple copy-n-paste wasn't possible. we get all kind of additional control characters in the file which reflects the possible different linenumbers with your version. we want to try something to verify. possible we have to change something in our kixref program. thanks.
|
|
Top
|
|
|
|
#66996 - 2002-06-16 06:58 AM
Re: Errors Creating INI and LOG files on WIN95
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear Mark,
We doesn't find any $ldir variable in your script.
When you are using the new string format like
$server="servername" $user_path="\\"+$server"\"+@userid+"$$"
instead of
$server="servername $user_path="\\$server\@userid$$"
kixref can also very the correctness of those statements.
Can you send me the old and latest release of your script. Thanks. greetings.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(mole)
and 1300 anonymous users online.
|
|
|