The help says that the prompt accepts a message, but it cannot be from the message file.
That is,
prompt(500, password);
where
Message file
500 Type your password
It issues a compiler error message
prompt with a numeric message identifier
-
- Posts: 1803
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: prompt with a numeric message identifier
The helps say "showing the string expression message." Except for the errmsg/maketext/... group of functions, which can take a string or a number, all other CSPro functions require strings. The shortest workaround for that is the tr function:
prompt(tr(500), password);