just reading through it now properly to understand it.. so in theory, in Blitz I could add a New() Method to automatically create the new datastruct?
agian not typed into blitz. will try tonight.
Type temp_typ Field x:int,y:int Field data:byte ptr Method New() data = create_a_newstruct() end method Method Delete() If data Then free_struct(data) data = Null End If End Method end type
agian not typed into blitz. will try tonight.