You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ibarbech edited this page May 15, 2018
·
5 revisions
Tutorial for create a simple program
Tutorial for create a program with events
This type of program often have only one type of block where is all code,
its name is main.
Below is shown how you can create this type of programs.
Open a example
In folder learnbot_dsl/learnbotCode/examples/ there are some examples. We can open the example follow_red_line.blockProject with the program Learnblock.
In order to execute this example you shouldn't check the checkbox Used Events.
This type of program have a variable with the time of execution of all program. Exist a function elapsedTime(umbral) that retunred true when global time > umbral.