updating oE crash_message


include error.e 
namespace error 
public procedure crash_message(sequence msg) 

specifies a final message to be displayed to your user, in the event that Euphoria has to shut down your program due to an error.

  1. msg : a sequence to display. It must only contain printable characters.

There can be as many calls to crash_message as needed in a program. Whatever was defined last will be used in case of a runtime error.

Example 1:
crash_message("The password you entered must have at least 8 characters.") 
pwd_key = input_text[1..8] 
-- if ##input_text## is too short,  
-- user will get a more meaningful message than  
-- "index out of bounds". 
See Also:

crash, crash_file

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu