Page 2 of 2 <12
Topic Options
#66994 - 2002-06-14 04:42 AM Re: Errors Creating INI and LOG files on WIN95
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Shawn: Thanks, I'll update it.
_________________________
There are two types of vessels, submarines and targets.

Top
#66995 - 2002-06-16 06:50 AM Re: Errors Creating INI and LOG files on WIN95
MCA Offline
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.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#66996 - 2002-06-16 06:58 AM Re: Errors Creating INI and LOG files on WIN95
MCA Offline
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.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 2 of 2 <12


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

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org