I modified the script and give you the output screen;

Dim $PIET[3]
? "Start script"
? @KIX + @CRLF

$PIET[0]= @BUILD
$PIET[1]= @SCRIPTDIR
$PIET[2]= @KIX
$PIET[3]= @DOS

? $PIET[0]
? $PIET[1]
? $PIET[2]
? $PIET[3] + @CRLF

$PIET[3] = @FULLNAME
? $PIET[0]
? $PIET[1]
? $PIET[2]
? $PIET[3]

? "*" + @COMMENT + "*"
? "*" + @FULLNAME + "*"
? "*" + @HOMEDIR + "*"
? "*" + @HOMEDRIVE + "*"
? "*" + @HOMESHR + "*"
? "*" + @LONGHOMEDIR + "*"
? "*" + @MAXPWAGE + "*"
? "*" + @PRIMARYGROUP + "*"
? "*" + @PRIV + "*"
? "*" + @PWAGE + "*"
? "*" + @RSERVER + "*"


The output (Dos screen)


c:\scripts>testje.kix

Start script
4.64

9200
C:\scripts
4.64
6.2

c:\scripts>

------
So when @DOS is used there's no problem in the array, they are all printed. At the moment I changed the 3th element to @FULLNAME there's nothing printed.