fixed a bug with the decimal separator interface, it now won't set it to an empty value if you abort out of the menu
This commit is contained in:
@@ -17,5 +17,5 @@ a comma:#var newdecchar ,|
|
||||
a period:#var newdecchar .|
|
||||
a custom choice:#prompt newdecchar {Please enter your custom choice}
|
||||
};
|
||||
#alarm 1 {#if {%length(@newdecchar)>1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar}}}
|
||||
#alarm 1 {#if {%length(@newdecchar)>1 OR %length(@newdecchar)<1 OR %IsNumber(@newdecchar)=1} {#say {You really do not need a decimal seperator that is more or less than one character long or you have probably entered a number. Please try again.};#unvar newdecchar} {#var decchar @newdecchar; #say {Your decimal seperator has been set to @decchar};#unvar newdecchar}}
|
||||
}
|
||||
Reference in New Issue
Block a user