fernando, I have been thinking a little this comp thing...

one way could be converting the script by keywords in it.

say script has structure:
code:
$ReturnCode=writevalue("me_key","me_value","me_data","REG_SZ")
$ReturnCode=writevalue("me_key","you_value","you_data","REG_SZ")
$ReturnCode=writevalue("me_key","him_value","him_data","REG_SZ")
? "me_key written"
exit 0

translating this with keywords can be done with some udf stuff, reducing the functionnames to one char...
but found problem with that solution as shortening of commands do not worky...

so went other way.
make a reference of keywords used in the script and list them in ini-like way in the scripts bottom.
then the script could be got to:
code:
$code="1=2(3,4,5,6) 1=2(3,7,8,6) ..."
for each $line in split($code)
$t=""
for each $letter in split($line,"")
$t=$t+readprofilestring("@scriptpath"+"\@scriptname","k",$letter)
next
$e=execute("$t")
next

exit 0
[k]
1="$ReturnCode"
2="writevalue"
3="me_key"
4="me_value"
5="me_data"
6="REG_SZ"
7="you_value"
8="you_data"
9="him_value"
10="him_data"
11="?"
12="me_key written"
13=

as the basic idea...
I don't want to code the whole stuff directly to this bb-window but I think you get the idea...

[ 29. August 2002, 18:43: Message edited by: Lonkero ]
_________________________
!

download KiXnet