Thread: class functions
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
TheIrishThug[_16_] TheIrishThug[_16_] is offline
external usenet poster
 
Posts: 1
Default class functions


i've programed classes in C++ where you can have functions that are
specific to the class and have access to all the variables in the
class.

how would i need to setup a Sub that would have access to these
variables?
i want something along the lines of

Code:
--------------------

Private Sub DrawAddOne(ByVal a As Integer)
m_Draw(a) = m_Draw(a) + 1
End Sub

--------------------


--
TheIrishThug
------------------------------------------------------------------------
TheIrishThug's Profile: http://www.excelforum.com/member.php...o&userid=29682
View this thread: http://www.excelforum.com/showthread...hreadid=496534