The input syntax of the prime allows to enter all types of datas (including quoted expression)and multiple items
here is an example :
EXPORT Inp
BEGIN
LOCAL m1,m2,s:="Enter the matrix using the [ ] key";
IF INPUT({m1,m2},"Multiply matrix",{"Enter m1","Enter m2"},{s,s}) THEN
m1*m2
ELSE
"Cancel"
END;
END;
Another example:
INPUT(F1,"Enter a function between ' '")
And you get the function F1 in the Apps 'function'
Rev 5106 needed. The syntax is describe in the integrated help.However i was unable to use the 'default value' parameters... Next rev ?
Only the first parameter is needed (variable or list of variables), all others are optional
Edited: 23 Aug 2013, 4:29 a.m. after one or more responses were posted