08-13-2020
06:24 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
08-13-2020
06:24 AM
You would just have
;<PVAR:CALL_SUB_PROGRAM>
and it will post what ever is written in that post var.
For safety factor I would add an or function with the available probing cycles so if somebody mistypes the post will give a message.
<IF>[or(eq(<PVAR:CALL_SUB_PROGRAM>,""), eq(<PVAR:CALL_SUB_PROGRAM>,"PROBE_TOP"))]<THEN>
;<PVAR:CALL_SUB_PROGRAM>
<ELSE>
<MESSAGE: INVALID SUB PROGRAM>
<ENDIF>
You can add more sub programs to the if statement as needed.
-Chris