Search found 4 matches

by jdoran
Tue Jan 29, 2019 6:38 pm
Forum: Help
Topic: Q on objects
Replies: 6
Views: 215

Re: Q on objects

No. Thanks for pointing that out. Somehow I came across the examples without seeing that page. One of my next questions was going to be a request for the order to study new stuff. So I'll go over that list. I am still happy with some early exposure to objects/protocols/categories as those are centra...
by jdoran
Tue Jan 29, 2019 3:08 am
Forum: Help
Topic: Q on objects
Replies: 6
Views: 215

Re: Q on objects

Thanks, that did the trick.

I'm still learning the basics of Logtalk, and relying heavily on the examples. Trying to figure out what I can and cannot do is my current approach.
by jdoran
Mon Jan 28, 2019 11:49 pm
Forum: Help
Topic: Q on objects
Replies: 6
Views: 215

Re: Q on objects

Thanks. My test already has a protocol in place, so I was able to try both solutions. conforms_to_protocol() returns classes that implement the protocol. Even when I try something like: conforms_to_protocol(Object, item), Object::current_predicate(size/1), Object::size(small) I get an error: "ERROR:...
by jdoran
Mon Jan 28, 2019 12:44 am
Forum: Help
Topic: Q on objects
Replies: 6
Views: 215

Q on objects

I have been lurking for a while, but finally found the time to seriously investigate Logtalk. I have a project that I'm planning, where I think of the data as frames. The inheritance of Logtalk appeals to me as a good match. This is my motivation for investigating Logtalk. I have a large project wri...