Function Pointer constant



Function pointer as constant
Pas2JS pascal source code
var p := @IntToStr; if assigned(p) then WriteLn(p(5)); {<<< RESULT - CONSOLE LOG >>> ----------------------------- Errors >>>> Hint: "assigned" does not match case of declaration ("Assigned") [line: 3, column: 4] Result >>>> 5 ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}