Topic: Calling Common Code
Greetings,
As it seems Pascal & MVD is pretty much totally event driven ... (OnShow, OnClick, OnEnter, etc) and having the code for each event, what if you have a common calculation that has to be preformed many times, but you do not want to code into each event but would rather have is appear in Script.pas one time for maintenance purposes... how do you call if from each of the events to the common subroutine... can some provide a simple example of how two events can call the same single instance of a subroutine.
Thanx,
Keith