#a test program for tcalc

#define decimal point
decimal = 2
#define output format to 'all'
output = a

#define function
func average(c,d,e)
{
  var f
  f = (c+d+e)/3
  return f
}

#calculate!
average(04,0x5,b110)
end
