{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)059222a6-d934-4dcd-9bf2-a98938f9f1a9","ParentGuid":"(Guid)74ccca2f-50e3-4d5a-9d7a-9fd420284f83","Name":"(string)CheckBounds","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)d9b2b2cc-ea99-4c3b-aa42-1e5c49e65b84","@Value":"(Guid)a2b16f8a-e5d4-4b5b-8b53-2dca0a2fdcec"}]}}}}]},"TypeGuid":"(Guid)c3fc9989-e24b-4002-a2c7-827a0a2595f4","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"c3fc9989","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)// Implicitly generated code: Only an implementation suggestion\nIF  index < lower THEN\n\tCheckBounds := lower;\nELSIF  index > upper THEN\n\tCheckBounds := upper;\nELSE  \n\tCheckBounds := index;\nEND_IF\n\n(*It is also possible to set a breakpoint, log messages or e.g. to halt on an exception:\nAdd CmpApp.library, SysExcept.library and SysTypes2_Itf as newest.\nDeclaration:\nVAR\n    _pApp : POINTER TO CmpApp.APPLICATION;\n    _result   : SysTypes.RTS_IEC_RESULT;\nEND_VAR\n\nImplementation:\n_pApp := AppGetCurrent(pResult:=_result);\nIF  index < lower THEN\n        CheckBounds := lower;\n        IF _pApp <> 0 THEN\n                AppGenerateException(pApp:=_pApp, ulException:=RtsExceptions.RTSEXCPT_ARRAYBOUNDS);\n        END_IF\nELSIF  index > upper THEN\n        CheckBounds := upper;\n        IF _pApp <> 0 THEN\n                AppGenerateException(pApp:=_pApp,   ulException:=RtsExceptions.RTSEXCPT_ARRAYBOUNDS);\n        END_IF\nELSE  \n        CheckBounds := index;\nEND_IF\n*)\n","LineInfoPersistence":"(string)059222a6-d934-4dcd-9bf2-a98938f9f1a9_Impl_LineIds"}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)// Implicitly generated code : DO NOT EDIT\nFUNCTION CheckBounds : DINT\nVAR_INPUT\n\tindex, lower, upper: DINT;\nEND_VAR\n","LineInfoPersistence":"(string)059222a6-d934-4dcd-9bf2-a98938f9f1a9_Decl_LineIds"}}}},"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"CheckBounds"}}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","c3fc9989":"{c3fc9989-e24b-4002-a2c7-827a0a2595f4}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"}