
  
class cc
'=======

double a,b,c


method init()
  this={1.5,2.5,3.5}
end method

method del()
  freememory @this
end method

method show() as string
  def cm ", "
  return "abc values: " a cm b cm c
end method

end class

'#recordof cc

'class factory macro
'===================

macro CreateCC(object)
  cc * object = getmemory sizeof cc
  object.init
end macro

'test
'====
CreateCC d
print d.show
d.del
