Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Example in RealCode Manual p.42 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
zawadee152
Posted : Friday, February 5, 2010 11:32:19 AM
Registered User
Joined: 1/31/2010
Posts: 22
There are some codes example in RealCode Prog Manual Beta, on P 42.  The first two lines are -

Public partial Class AdvanceCount
inherits AdvanceCount_base

How could I duplicate this example? When I go to Class tab, I only get

Public partial Class RealCodeIndicator
inherits RealCodeIndicator_base

Thanks,

zwd
 
Kuf
Posted : Friday, February 5, 2010 12:03:25 PM


Administration

Joined: 9/18/2004
Posts: 3,522
The code you're getting on the class tab is the correct code. The code from the manual is using an older syntax. I'll update it for the release version.

Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
zawadee152
Posted : Friday, February 5, 2010 1:56:58 PM
Registered User
Joined: 1/31/2010
Posts: 22
Hi Ken,
   Thanks for the clarification.  Have a follow up questions.  On page 30, there is a BaseClass tab in the Figure.  SF5 does not have it.  I have never use SF before and am gussing that baseCase is where I should be putting in my methods/variable that I want to share with the rest of Indicator derived from the base class.  Is that correct?  Could you clarify what it does and what would be the way to do that in SF5.  I am trying to get a handle on RealCode / .NET and try to see how can I reuse codes.

Thanks,

zwd
Kuf
Posted : Friday, February 5, 2010 2:11:04 PM


Administration

Joined: 9/18/2004
Posts: 3,522
The base class is a special tab I get to help debug any RealCode problems.  The base class is dynamically generated for you.   You cannot share code between two different RealCode indicators (yet!)


Ken Gilb (Kuf)
Chief Software Engineer - Worden Brothers Inc.
Try/Catch - My RealCode Blog
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.