Alex Rivera | Logout

Call functions from another "class" / file

Asked 2012-07-04T21:32:01.717
26

Ok, I feel embarrassed that I wasn't able to figure this out on my own, but after a few wasted hours, I figured it would be easier to simply ask over here:

I have a bunch of .gs-files in my Google Apps Script project. Now, I want to call another file's function from a method (something like AnotherClass.awesomeFunction(), which throws a ReferenceError though). Is this possible in Google Apps Script? If so, how?

Edit
Report

1 Answer

0

It can do.

and Corey is right, files is not class.

answered 2012-07-05T03:20:42.047

Your Answer