| Welcome Guest, please  sign in  to participate in a discussion. | 	Search | 	Active Topics |  | 
	
	
	
	
		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 
 
	 | 
	 | 
	
	
	
		 
   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
	 | 
	 | 
	
	
	
		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
	 | 
	 | 
	
	
	
		 
   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
	 | 
	 | 
| 
Guest-1 |