Teh FUNCTION doesn't seem to handle parameters withthe same name as the function correctly:
 Code:
$a=100

$b=a($a)
? 'Kix = '+@kix
? 'a = '+$a
? 'b = '+$b

function a($a)
  $a=100
endfunction

returns
 Code:
Kix = 4.60
a = 100
b =


However,
 Code:
$a=100

$b=a($a)
? 'Kix = '+@kix
? 'a = '+$a
? 'b = '+$b

function a($b)
  $a=100
endfunction

correctly returns
 Code:
Kix = 4.60
a = 100
b = 100
_________________________
There are two types of vessels, submarines and targets.