Why not create a method with the same code written once and pass the
appropriate variable to it.
-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Eirik Karlsen
Sent: Saturday, April 30, 2005 10:28 AM
To: Getting Started
Subject: views on reusable code?
In my app there is a configuration window with a tab panel. This tab
panel has 4 tabs, and each tab has a number of controls, a window and a
dialog, and a number of input / output variables associated with it. The
total code for is about 500 lines.
Now the ONLY thing that differs between the 4 tabs is the names of the
variables, controls, and windows....and the name differ by only one or
two letters.
Is it feasible to reuse all this code..?
--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|