{"action":"created","issue":{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/267","labels_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/267/comments","events_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/267/events","html_url":"https://github.com/OpenCobolIDE/OpenCobolIDE/issues/267","id":120748531,"number":267,"title":"[BUG] IDE show error for existing statements","user":{"login":"MatthAddax","id":12526135,"avatar_url":"https://avatars.githubusercontent.com/u/12526135?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthAddax","html_url":"https://github.com/MatthAddax","followers_url":"https://api.github.com/users/MatthAddax/followers","following_url":"https://api.github.com/users/MatthAddax/following{/other_user}","gists_url":"https://api.github.com/users/MatthAddax/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthAddax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthAddax/subscriptions","organizations_url":"https://api.github.com/users/MatthAddax/orgs","repos_url":"https://api.github.com/users/MatthAddax/repos","events_url":"https://api.github.com/users/MatthAddax/events{/privacy}","received_events_url":"https://api.github.com/users/MatthAddax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/labels/Invalid","name":"Invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-07T11:05:49Z","updated_at":"2015-12-07T17:13:24Z","closed_at":"2015-12-07T12:25:41Z","body":"Hi,\r\nI recently started to use this IDE for COBOL but I've a problem. It doesn't recognize var name when they are used before they are created. For example while using indexed files, here's is my code and where the errors are : \r\n\r\n                                                                                                                                                \r\n```cobol\r\n       environment division.\r\n      *========================================\r\n       input-output section.\r\n      *----------------------------------------\r\n       file-control.\r\n      *****************************************\r\n           select FiSpectacle assign \"../Fichiers/SPECTACLE.IND\"\r\n               organization is indexed access mode is dynamic\r\n               record key is codeSpect\r\n               record key is titre\r\n               record key is dateRepresentation\r\n               file status is fs-fiSpectacle.\r\n       configuration section.\r\n      *----------------------------------------\r\n       data division.\r\n      *========================================\r\n       file section.\r\n      *----------------------------------------\r\n       FD FiSpectacle.\r\n       01 EnregSpectacle.\r\n           02 codeSpect.\r\n               03 codeGenre                pic x(5).\r\n               03 codeNum                  pic 9(2).\r\n           02 titre                        pic x(30).\r\n           02 numSalle                     pic 9(2).\r\n           02 dateRepresentation           pic 9(4).\r\n           02 tabReservationsCategories    pic 9(9).\r\n           02 nbReservations               pic 9(3) OCCURS 3\r\n               REDEFINES  tabReservationsCategories.\r\n```\r\n\r\nThe bold values are where the errors are, it says : codeSpect undifined, titre undifined, etc\r\n![capture](https://cloud.githubusercontent.com/assets/12526135/11625359/be731af0-9cda-11e5-9233-b77ad4f9ea8b.PNG)\r\n\r\nCan anyone help me to fix it? It's important I need it for school.\r\n\r\nThanks for your help :+1: \r\n\r\n\r\n\r\n## System information\r\n\r\n\r\n- OpenCobolIDE: 4.6.6\r\n- GnuCOBOL: GNU Cobol 1.1.0\r\n- Python: 3.4.3 (32bits)\r\n- Qt: 5.5.0\r\n- PyQt: 5.5\r\n- pyqode.core: 2.6.9\r\n- pyqode.cobol: 2.6.4\r\n- pyqode.qt: 2.7.dev0\r\n- pygments: 2.0.2\r\n- QDarkStyle: 2.1\r\n"},"comment":{"url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/comments/162596521","html_url":"https://github.com/OpenCobolIDE/OpenCobolIDE/issues/267#issuecomment-162596521","issue_url":"https://api.github.com/repos/OpenCobolIDE/OpenCobolIDE/issues/267","id":162596521,"user":{"login":"ColinDuquesnoy","id":1681217,"avatar_url":"https://avatars.githubusercontent.com/u/1681217?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinDuquesnoy","html_url":"https://github.com/ColinDuquesnoy","followers_url":"https://api.github.com/users/ColinDuquesnoy/followers","following_url":"https://api.github.com/users/ColinDuquesnoy/following{/other_user}","gists_url":"https://api.github.com/users/ColinDuquesnoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinDuquesnoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinDuquesnoy/subscriptions","organizations_url":"https://api.github.com/users/ColinDuquesnoy/orgs","repos_url":"https://api.github.com/users/ColinDuquesnoy/repos","events_url":"https://api.github.com/users/ColinDuquesnoy/events{/privacy}","received_events_url":"https://api.github.com/users/ColinDuquesnoy/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T17:13:24Z","updated_at":"2015-12-07T17:13:24Z","body":"See http://opencobol.add1tocobol.com/gnucobol/#what-are-the-official-cobol-standards"}}