Interactive data input

Data can either be entered interactively at a prompt or through the use of parameters in the same way that tasks use parameters to specify input. Interactive input for a parameter is normally accomplished using the ASK command, followed by a prompt enclosed in quotes and then the name of the parameter to which the data will be read.

ASK "Enter file name: " file

When executed, this command will cause the prompt message to be printed and EASI will then wait for the user to enter the requested data, which in this case will be stored in the parameter FILE.

Enter file name: test.pix

Interaction with variables and parameters is also provided by INPUT command. Here is an example:

local UTMX, UTMY
input "Enter the X,Y location in UTM Metres" UTMX, UTMY

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.