Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 791 Bytes

File metadata and controls

37 lines (30 loc) · 791 Bytes

RealDialog

Description

Function RealDialog displays a dialog box which requests the user to enter a REAL value. RealDialog automatically screens for valid numeric input.

FUNCTION RealDialog(
				request : STRING;
				default : STRING): REAL;
def vs.RealDialog(request, default):
    return REAL

Parameters

Name Type Description
request STRING Dialog user prompt string.
default STRING Default value for input field.

Examples

VectorScript

RealValue:=RealDialog('Enter a real value:','0.00');

Python

realValue = vs.RealDialog('Enter a real value', '0.00')

Version

Availability: from All Versions

Category