Reply To: Can we use template literals in Pcibex?

PennController for IBEX Forums Support Can we use template literals in Pcibex? Reply To: Can we use template literals in Pcibex?

#10540
Larissa_Cury
Participant

Another usage, can we do something like this?

Can we set a variable with const, let or var and reuse it? Ex:


// Set a variable:

let time = 100

 newTimer("timeout", time)
            .start()
,
  newText("text",<code>you have ${time} to answer that! run!</code>)
   .center()
  • This reply was modified 11 months, 3 weeks ago by Larissa_Cury. Reason: add another line of code
  • This reply was modified 11 months, 3 weeks ago by Larissa_Cury.