in reply to Not getting proper output in array write
my {$HRT,$RD,$WR.$LL,$DC} = {0,1,2,3,4} [download]
Your code does not even compile. Please post a short, self-contained program that we can run.