Link to home
Start Free TrialLog in
Avatar of fevster
fevster

asked on

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??

ASKER CERTIFIED SOLUTION
Avatar of marconovaro
marconovaro

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Guy Hengel [angelIII / a3]
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