{"action":"closed","issue":{"url":"https://api.github.com/repos/joemcbride/outlander-osx/issues/78","repository_url":"https://api.github.com/repos/joemcbride/outlander-osx","labels_url":"https://api.github.com/repos/joemcbride/outlander-osx/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/joemcbride/outlander-osx/issues/78/comments","events_url":"https://api.github.com/repos/joemcbride/outlander-osx/issues/78/events","html_url":"https://github.com/joemcbride/outlander-osx/issues/78","id":174156777,"number":78,"title":"Issue with variables used to construct variable names","user":{"login":"DogRiley","id":21182727,"avatar_url":"https://avatars.githubusercontent.com/u/21182727?v=3","gravatar_id":"","url":"https://api.github.com/users/DogRiley","html_url":"https://github.com/DogRiley","followers_url":"https://api.github.com/users/DogRiley/followers","following_url":"https://api.github.com/users/DogRiley/following{/other_user}","gists_url":"https://api.github.com/users/DogRiley/gists{/gist_id}","starred_url":"https://api.github.com/users/DogRiley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DogRiley/subscriptions","organizations_url":"https://api.github.com/users/DogRiley/orgs","repos_url":"https://api.github.com/users/DogRiley/repos","events_url":"https://api.github.com/users/DogRiley/events{/privacy}","received_events_url":"https://api.github.com/users/DogRiley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joemcbride/outlander-osx/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-31T00:21:30Z","updated_at":"2016-09-23T06:30:22Z","closed_at":"2016-09-23T06:30:22Z","body":"There seems to be something happening when trying to use variable to construct the names of other variables to query them.  See the code below, the variable assignments are constructed identically but interpreted differently.  The order is somehow important as if you switch the order of the lines 13 and 14 your results swap.\r\n\r\n```\r\nsetVariable Chab skullcap\r\nsetVariable ChabQuant 2\r\n\r\nsetVariable percentsign %\r\nsetVariable storecode Chab\r\n\r\necho percentsign: %percentsign\r\necho Chab: %Chab\r\necho ChabQuant: %ChabQuant\r\necho storecode: %storecode\r\n\r\n# CHANGE THE ORDER OF THESE AND SEE THE RESULTS BELOW CHANGE\r\nsetVariable differentname %percentsign%storecodeQuant\r\nsetVariable shopdiff %percentsign%storecodeQuant\r\n\r\n\r\necho shopdiff: %shopdiff\r\necho differentname: %differentname\r\n```\r\n\r\nThe results are:\r\n```\r\npercentsign: %\r\nChab: skullcap\r\nChabQuant: 2\r\nstorecode: Chab\r\nshopdiff: 2\r\ndifferentname: skullcapQuant\r\n```\r\n\r\nAny thoughts you have would be appriciated"}}
{"actor":{"display_login":"joemcbride"}}