Hi,
First of all I'm new to iLogic and VB/VB.NET but I have some programming experience with C++, Objective-C, Javascript etc. I'm writing a rule and I was wondering if there is a way to add and call custom functions within iLogic?
Is there a way to add and call custom functions within iLogic?
I tried...
Function someFunction ' do something End Function
also...
Sub Main() Function someFunction ' do something End Function End Sub
But I keep getting the following error "Statement cannot appear within a method body. End of method assumed."
Can someone be so kind and explain how can I use custom functions within iLogic?
Thanks a lot.
Solved! Go to Solution.
Solved by fsdolphin. Go to Solution.
Got it, I guess Visual Basic works in a similar way as C++
Sub Main() showMessage() End Sub Function showMessage MessageBox.Show("Some Message", "Title") End Function