Calling a another function from within the same class file

Hi,

This is probably really simple but I want to call a function from a function in the same class file. How do I do this?? DO I have to create an instance within the class and use instance.method or is there a way like in java where you use this??

fevsterAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
marconovaroConnect With a Mentor Commented:

No. If you are in the same class, you can just call the other function, even if it's private.
M
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
As marconovaro said, you can call any function/sub from the class directly.
Actually, you can use the following syntax that really shows that the function is called from the same class/object:
ME.function

CHeers
0
All Courses

From novice to tech pro — start learning today.