Acceleo Query Language Documentation

promptDouble(message: java.lang.String) = Double

Prompts for a Double value with the given message.

Expression Result
'Enter your weight: '.promptDouble() prompts the user


promptFloat(message: java.lang.String) = Float

Prompts for a Float value with the given message.

Expression Result
'Enter your weight: '.promptFloat() prompts the user


promptInteger(message: java.lang.String) = Integer

Prompts for a Integer value with the given message.

Expression Result
'Enter your age: '.promptInteger() prompts the user


promptLong(message: java.lang.String) = Long

Prompts for a Long value with the given message.

Expression Result
'Enter your age: '.promptLong() prompts the user


promptString(message: java.lang.String) = String

Prompts for a String value with the given message.

Expression Result
'Enter your name: '.promptString() prompts the user