title: Organizing Spreadsheet Code in several *.gs files - even possible?
body: <p>I am trying to organize my code for a Spreadsheet in several script files. Within the script editor I can create as many *.gs files as I want, but I can't figure out how to access code that would be defined in another script.</p>
  
  <p>Simple Example of what I'd like do achieve:</p>
  
  <p>Code.gs:</p>
  
  <pre><code>function onEdit(){
     myFunctionFromLibrary_gs();
  } 
  </code></pre>
  
  <p>Library.gs:</p>
  
  <pre><code>function myFunctionFromLibrary_gs(){
     Browser.msgBox("hi there");
  }
  </code></pre>
  
  <p>The onEdit() is obviously called by a Trigger.
  Without modification this will result in a Runtime-Error, stating that </p>
  
  <blockquote>
    <p>myFunctionFromLibrary_gs TypeError: is not a function, it is undefined.</p>
  </blockquote>
  
  <p>So how can I make this work, or is this currently not supported? </p>
  
  <p>Thx in advance for your help.</p>