8 Replies Latest reply on Oct 13, 2011 5:04 AM by Mike Hibbert

    Are functions supported in NSH scripts?

      Hi everyone,

       

      Trying to call a function in an NSH script but it's just telling me it's an invalid command.... just trying something like:

       

      add_server()

      {

      echo"blahblaaahh"

      }

       

      and then calling it by having "add_server" in the script.

       

      Am I missing something here or is it just not supported by NSH?

       

      Cheers,

      Mike