Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

InputBox

Showing a text box and waiting for user input.

Image how it looks like (with params ACaption, APrompt, ADefault) alt text

DWS\Pascal Script:

function InputBox(ACaption : String; APrompt : String; ADefault : String) : String;

DWS\Pascal Script Example:

var CyclesCount : Integer;
    st : String;
begin
  //Pre-Start config;
  st := InputBox('Input Cycles count', 'Cycles count:', '1');
  CyclesCount := StrToIntDef)st, 1); //if not figure input - value will be 1
end;

Python:

method not implemented.