Skip to content

Instantly share code, notes, and snippets.

@cgillis-aras
Created October 1, 2018 15:26
Show Gist options
  • Save cgillis-aras/ff9e8a584a7535a6c59ee5cfa7171a9a to your computer and use it in GitHub Desktop.
Save cgillis-aras/ff9e8a584a7535a6c59ee5cfa7171a9a to your computer and use it in GitHub Desktop.
Shows how to define a class or function within an Innovator Method
' Primary code that will execute when this method is called
Dim test as New Foo
Return Me.getInnovator().newResult(test.Food())
End Function
' Our class definition
Public Class Foo
Function Food() as String
Return "Cheese"
End Function
End Class
' Our sub-function definition
Function helper() As String
Return "test"
' End Function <-- Leave off this last line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment