{"action":"created","issue":{"url":"https://api.github.com/repos/joelivey/M-Unit/issues/5","repository_url":"https://api.github.com/repos/joelivey/M-Unit","labels_url":"https://api.github.com/repos/joelivey/M-Unit/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/joelivey/M-Unit/issues/5/comments","events_url":"https://api.github.com/repos/joelivey/M-Unit/issues/5/events","html_url":"https://github.com/joelivey/M-Unit/issues/5","id":193182629,"number":5,"title":"Determining version of MUMPS","user":{"login":"jsgrahamus","id":22947098,"avatar_url":"https://avatars.githubusercontent.com/u/22947098?v=3","gravatar_id":"","url":"https://api.github.com/users/jsgrahamus","html_url":"https://github.com/jsgrahamus","followers_url":"https://api.github.com/users/jsgrahamus/followers","following_url":"https://api.github.com/users/jsgrahamus/following{/other_user}","gists_url":"https://api.github.com/users/jsgrahamus/gists{/gist_id}","starred_url":"https://api.github.com/users/jsgrahamus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsgrahamus/subscriptions","organizations_url":"https://api.github.com/users/jsgrahamus/orgs","repos_url":"https://api.github.com/users/jsgrahamus/repos","events_url":"https://api.github.com/users/jsgrahamus/events{/privacy}","received_events_url":"https://api.github.com/users/jsgrahamus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-02T18:16:58Z","updated_at":"2016-12-03T17:39:34Z","closed_at":null,"body":"I've noticed that, in the KID file, the version of MUMPS in use is determined by +$SY:  0 is Cache and 47 is GT.M .\r\n\r\nTurns out that this only worked for part of our group.  The other part - myself included - had PC's with $SY which started with a number (62 in my case, which corresponded to the first 2 digits of my Window 10's Computer name).  Fortunately it wasn't 47! \r\n\r\nFor now, I've changed the logic in our version so that 47 indicates GT.M, otherwise it's Cache. \r\n\r\nIs there a better way of determining which version of MUMPS is running? \r\n\r\nThanks so much for developing this and sharing it with others.\r\n\r\nSteve Graham \r\n[MASH_1P4.KID.txt](https://github.com/joelivey/M-Unit/files/627915/MASH_1P4.KID.txt)\r\n\r\n(jsgrahamus@yahoo.com)"},"comment":{"url":"https://api.github.com/repos/joelivey/M-Unit/issues/comments/264653573","html_url":"https://github.com/joelivey/M-Unit/issues/5#issuecomment-264653573","issue_url":"https://api.github.com/repos/joelivey/M-Unit/issues/5","id":264653573,"user":{"login":"joelivey","id":997029,"avatar_url":"https://avatars.githubusercontent.com/u/997029?v=3","gravatar_id":"","url":"https://api.github.com/users/joelivey","html_url":"https://github.com/joelivey","followers_url":"https://api.github.com/users/joelivey/followers","following_url":"https://api.github.com/users/joelivey/following{/other_user}","gists_url":"https://api.github.com/users/joelivey/gists{/gist_id}","starred_url":"https://api.github.com/users/joelivey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelivey/subscriptions","organizations_url":"https://api.github.com/users/joelivey/orgs","repos_url":"https://api.github.com/users/joelivey/repos","events_url":"https://api.github.com/users/joelivey/events{/privacy}","received_events_url":"https://api.github.com/users/joelivey/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T17:39:34Z","updated_at":"2016-12-03T17:39:34Z","body":"Until you pointed this out to me, I was not aware of the MUMPS V1 version on GitHub, so it currently works only with the Cache and GT.M versions of MUMPS.  I will have to do some testing to see how much modification is required to support V1 as well.  Thanks for the input."}}
{"actor":{"display_login":"joelivey"}}