How to create new function in microbasic script and call them as per our need?

4 years 10 months ago #29534333 by tanay
Hey Guys,
I am trying to build an agv
the traditional approach using if....else statement is making my drive shaky
so i am trying a different approach
i need to create different functions and want to call them when I need ?
how Can i do this ?
Please help.

Please Log in or Create an account to join the conversation.

4 years 10 months ago #29534342 by Gabriel_Isko
MicroBasic does not support functions, but it does support subroutines.

You can call subroutines from labels using the gosub keyword.

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds