object question

Discuss topics that apply across the products, such as the PocketC language, or development in general

Postby BobR on Thu Mar 02, 2006 1:58 pm

I am an object oriented programmer and was delighted to see objects make it into this language. I have the Architect.

Is inheritance broken? If I have data members in a base object, I am not able to use those base variables in derived objects. It compiles ok, but the values are bogus even after the base methods set them. Acts like a stack overwrite or something.
Posts: 1
Joined: Thu Mar 02, 2006 1:53 pm
Location: USA

Postby dewey on Sat Mar 04, 2006 2:56 am

This does work correctly (at least in all cases I've seen). Can you post the smallest piece of your code that doesn't work?
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest