Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Mark Miesfeld
Well, Jean-Louis exploring the car dealer application has turned into a profitable exercise for me. 3 starred posts from Rick. For the record, Rick's fix did indeed fix the problem. -- Mark Miesfeld On Mon, Feb 9, 2009 at 8:09 AM, Rick McGuire wrote: > The use of the behaviour field depends

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Rick McGuire
The use of the behaviour field depends on the type of class. If you look in PrimitiveClasses.xml, you'll see there are 3 categories of classes: Exported, Internal, and Transient. For Internal and Transient classes, the behaviour field is pretty much limited to class identity. For Exported class

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Mark Miesfeld
Rick, Thanks for the good explanation. Ties together a few things I see in the code, but was a little hazy about. For the behaviour field. Is its sole purpose to aid in the unflattening process? Or does it come into play during execution? I'll take a closer look at rexxc, but it seems like this

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Rick McGuire
And now for the long-winded explanation for why this problem was occurring. All of the objects that get allocated from the Rexx heap are C++ methods, which means they have a hidden first field that is the virtual function pointer for the object. Internally, ooRexx uses a lot of C++ polymorphism f

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Rick McGuire
I'm about 99% certain I just fixed this (a 1-character change :-) ). I suspect you'll need to rebuild everything to get this change to work. Rick On Mon, Feb 9, 2009 at 8:55 AM, Mark Miesfeld wrote: > On Mon, Feb 9, 2009 at 2:29 AM, Rick McGuire wrote: > >> I'm not sure I understand what's need

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Mark Miesfeld
On Mon, Feb 9, 2009 at 2:29 AM, Rick McGuire wrote: > I'm not sure I understand what's needed to reproduce this problem. > The appropriate place to start debugging this would be to set a > breakpoint on RexxActivity::raiseException() to see where the error is > issued from. Thanks Rick. You had

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-09 Thread Rick McGuire
I'm not sure I understand what's needed to reproduce this problem. The appropriate place to start debugging this would be to set a breakpoint on RexxActivity::raiseException() to see where the error is issued from. Rick On Mon, Feb 9, 2009 at 12:26 AM, Mark Miesfeld wrote: > On Sun, Feb 8, 2009

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-08 Thread Mark Miesfeld
On Sun, Feb 8, 2009 at 9:06 PM, Mark Miesfeld wrote: > On Sun, Feb 8, 2009 at 5:25 PM, Jean-Louis Faucher wrote: > >> I tested the car dealer application with ooRexx-4.0.0 under Windows XP. ... >> Error 93 running C:\tmp\do Rexx\CARDEAL\OOD\ood.mrg line 109: Incorrect >> call to method >> Error

Re: [Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-08 Thread Mark Miesfeld
On Sun, Feb 8, 2009 at 5:25 PM, Jean-Louis Faucher wrote: > I tested the car dealer application with ooRexx-4.0.0 under Windows XP. > Download application from > http://www.redbooks.ibm.com/abstracts/sg244825.html > (additional material) > > I tested : > car-run F A > car-run F G > > When running

[Oorexx-devel] Car Dealer Application works with ooRexx-4.0.0, but got an error with tokenized files (generated by 4.0.0)

2009-02-08 Thread Jean-Louis Faucher
Hi, I tested the car dealer application with ooRexx-4.0.0 under Windows XP. Download application from http://www.redbooks.ibm.com/abstracts/sg244825.html (additional material) I tested : car-run F A car-run F G When running from sources (i.e. tokenized files replaced by source files), everythi