delete method in class object

Iwan AB <[email protected]> Fri, 4 Nov 2022 14:28:56 +0700
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAHJCSmKjpLk5bMk5LD2jKZjTC_qgoxYsYTahje+_1quYpwvfCA@mail.gmail.com>
Dear Mike,

When using class object, calling delete() method, generate the following
error message:
Unable to find function : :test1.delete
(assuming that my class object is test1)
Why is that?

test1.4gl
class test1

function add(a, b)
   define a, b integer
   return a+b
end function

end class

ptest1.4gl
main
   define a object(test1)
   let a = test1.new()
   display a.add(1,2)
   call a.delete()
end main

$ ptest1.4ae
          3
Unable to find function : :test1.delete

Best regards,

Iwan

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss