Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
titleAvailability

This routine is available since 

  1. JJUPIN 2.5.5

Syntax

runnerLog(message)

or

...

Note

Since JJUPIN 3.0.10, runnerLog routine can also render a progress bar by specifiing the percent we want to be set.


Parameters

ParameterTypeRequiredDescription
messagestringYesSpecifies the message to be put on the runner console
percentnumberNoSpecifies the percent to be updated on the progress bar
actionstringNo

Specifies the action to be executed (so far, the only action

considered is init_progressBar - to initialize the progress bar;

everything else will be ignored)

Return type

string, can be always ignored

 


Example

Let's modify the example used here:

The scripts would look like below:

...

Code Block
titleparameter_script.sil
gadget_createDatePicker("Start Date", currentDate(), true, "Choose a start date");
gadget_createInput("Tanks", "500", true, "The number of tanks");
gadget_createInput("Infantry", "1600", true, "The number of tanks");
gadget_createCheckboxGroup("Rockets", {"A big one", "A lot of small ones"}, "", false, "Do you want to use rockets?");

...


In this case, using the new runnerLog routine, when the script execution is done, the runner will look like this:

...