ignore result



ignore result
Smart pascal source code
var i: Integer; var s: String := '1'; var v: Variant; IntToStr(i); StrToInt(s); StrToFloat(s); VarToStr(v); s := 'z'; try StrToInt(s); except on e: Exception do WriteLn(e.Message.Replace(" '' ", " '")); end; try StrToFloat(s); except on e:Exception do WriteLn(e.Message); end; i := -1; try Chr(i); except on e:Exception do WriteLn(e.Message); end; {<<< RESULT - CONSOLE LOG >>> ----------------------------- 'z' is not a valid integer value [line: 13, column: 4] 'z' is not a valid floating point value [line: 19, column: 4] Invalid codepoint: -1 [line: 26, column: 4] ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}