How to release alloc memory in Codea?

how to release alloc memory in Codea …? just set the var =nil? or set an object=nil?

Yes and yes. Garbage collection will clean it up when it can.

Thanks, @aciolino. And Codea is really a convenient tool >:D<