record method 4



record_method4
Smart pascal source code
type TRec = record x: Integer; procedure test; begin writeln(x); end; end; var r: TRec; r.test; r.x := 1; r.test; {<<< RESULT - CONSOLE LOG >>> ----------------------------- Errors >>>> Hint: "println" does not match case of declaration ("PrintLn") [line: 4, column: 29] Result >>>> 0 1 ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}