Hi, I am new to scripting.
I am trying to make my first script.
I am sort of stuck on a problem.
1.Can functions be used in main looops?
I want to use a function in a main loop, but I am certain functions can't be used in main looops. I have not tried this yet.
The reason why I want to use this function in a main loop is because the function returns a value then it does something afterwards, so it seems like it is a procedure.
The specific function I am using is the FindBank function in the srl includes.
I was wondering how I can use this function in my main loop because it says it finds bank and then opens.
My guess is make a procedure that includes the function but I won't have to state the function before the procedure because it is coming from includes.
So...I will try other ways. Any suggestions would help thanks.


Reply With Quote





