B4A Class [B4X] CallSubPlus - CallSub with explicit delay - Erel    Nov 30, 2015   (26 reactions) it much simpler. You just need to call CallSubPlus with the target sub and the delay.
Internally it uses a (one shot) timer together with CallSubDelayed or CallSub.
There are four methods:
CallSubPlus... B4R Tutorial Timers, Loopers and CallSubPlus - Erel    Jan 8, 2017   (19 reactions) Timer1_Tick
pin13.DigitalWrite(Not(pin13.DigitalRead))
End Sub
CallSubPlus is similar to a timer that fires once. CallSubPlus allows you to run a sub after a specified duration. Like a timer it doesn... B4J Question Stopping CallSubPlus - aaronk    Jun 20, 2016 Hi,
If you call a Sub using the CallSubPlus like below..
csu.CallSubPlus(Me, "Sub_1", 9000)
Which runs the sub 'Sub_1' in 9 seconds, what if after 3 seconds you want it to stop and not run that sub?
Is there a way in stopping the CallSubPlus from running once it has been told to run ?... B4R Question Question about CallSubPlus. - tigrot    Mar 2, 2018 the Call is queued. To better explain:
CallSubPlus("Routine1",10,0)
CallSubPlus("Routine2",20,0)
CallSubPlus("Routine3",30,0)
CallSubPlus("Routine4",40,0... B4R Question Doubt with CallsubPlus - Gerardo Tenreiro (first post)    May 4, 2023 9600, entonces se me ocurrió usar la instrucción CallSubPlus con el siguiente código.
Este es el...
Solucionado, el error es que CallSubPlus pasa un parámetro y en la rutina es necesario recolectar dicho parámetro.
CallSubPlay("Rutina_Nombre",ms,etiqueta)
....
Private Sub Routine_Name (Etiqueta como... B4R Question can we create a sub with parameters who are subs like callsubplus ? - candide (first post)    Aug 10, 2021 written in B4R
in CallSubPlus definition we have:
CallSubPlus (SubName As SubVoidByte, DelayMs... i have to provide several subnames to this library .. and library will run subs when needed... Spanish Problema con CallSubPlus y lectura del AD - josejad (first post)    Sep 16, 2020   (1 reaction) Si publicas cómo ha quedado tu código, puede servir para otros.
saludos¡¡... B4J Question CallSubPlus: OutOfMemoryError - Erel (first post)    Jan 1, 2019   (2 reactions) ( DoStep) Complete (Unused As Boolean)
Next
Sub DoStep as resumablesub
Sleep(5)
StepUp
Sleep(5)
StepDown
return True
End Sub
More info: Resumable subs that return values... B4R Question Callsubplus within looper - Erel (first post)    Jan 20, 2019 Timers, Loopers and CallSubPlus... B4J Question B4J CallSubPlus Documentation - Erel (first post)    May 1, 2018   (1 reaction) You shouldn't use CallSubPlus at all. It was created before Sleep was available. Sleep is simpler and more powerful.... Page: 1   2   3   4   5   6   7   |