Megadja a legutóbbi hiba kódját.
function GraphResult: integer;
Minden hibakód csak egyszer kérhető le, ismételt hívás után grOk = 0 hibakódot ad.