Hello,
I am having issue about designing a solution to this simple task.
I have a code like this: (just
require(“menu”)
code line1
code line2
code line3
table = aTable
selection = menu.getselection(aTable)
doaTask(selection)
doanotherTask(selection)
code line8
code line9
end
The problem is line after line5 should be executed only after line five is executed. In line5, I created a tableview (as part of external module), which shows the menu items and on row touch, return the value back to selection. However the code obviously don’t stop for a until a touch event is fired. In this general case, how may I solve the task? Help appreciated.