Dear Cazzhj,

We advise you:

use the original script for modifications
and
use "kixstrip /debug" output only for debugging.

kixstrip doesn't have the capability to remove unwanted
debugging elements from your script. also you make it
impossible for kixstrip
- to layout your script.
- to find the right missing quotations. debugging elements contain also quotations.

Kixstrip returns for your version as screen output
code:
 Kixstrip 4.10 (vs 3.18e)     (c) MCA - scripting@wanadoo.nl - 2000, 2001, 2002
.
1 .........................E(492)
.
Warning KIXSTRIP: 364 line incomplete "single quotation".
Warning KIXSTRIP: 364 line incompleted.
.
Kixstrip 4.10 (vs 3.18e) 3.13 (sec)
.
input 492 script.kix
output 492 debug.kix (skip: 0 blocks: 0 labels: 16)
block_check -ERROR- block_errors=2
block_structures=82 labels=16
tab=6 (default)
.
Warning KIXSTRIP: 2 errors in block structure(s). missing statement(s).
- do:until [0:0]
- for|each:in|to:step|next [0|0:0|0:0|0]
- function:endfunction [0:0]
-ERROR- - if:else:endif [82:8:80]
- select:case:endselect [0:0:0]
- while:loop [0:0]
82 block_structures found.
Informative KIXSTRIP: no UDF's found.
Warning KIXSTRIP: 1 line is incompleted.
rerun program with option "/block_check /show_errors".
Warning KIXSTRIP: some lines contains errors or possible errors.
.
active options:
/Block_Check /Headers /Print /Show_Structure /TAB=6 /Translate
inactive options:
/NoCombine /NoDebug /NoPerformance /NoProgress /NoShow_Errors
/NoLicense: (not.specified)

and you doesn't get any structur in your version.

greetings.

btw: some remarks about the code
- GOSUB calls end with a RETURN
- don't use ":end" too much times
- your code
code:
....
ENDIF
USE U: /delete /persistent
USE U: "\\QCLUNT01\users"
CD U:\users\@userid
ENDIF
; -------> Warning KIXSTRIP: 349 block "if/else/endif" incompleted. starting point of block structure missing.
; -------> Warning KIXSTRIP: 349 block incompleted.

was missing an "IF Ingroup" statement or "ENDIF" is too much.
please return for Lonkero to the board, what is should be.

[ 12 July 2002, 15:16: Message edited by: MCA ]
_________________________
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