{"action":"created","issue":{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/184","repository_url":"https://api.github.com/repos/parallaxinc/BlocklyProp","labels_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/184/comments","events_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/184/events","html_url":"https://github.com/parallaxinc/BlocklyProp/issues/184","id":153447662,"number":184,"title":"Be able to create string variable (char arrays)","user":{"login":"cbradyatinquire","id":769072,"avatar_url":"https://avatars.githubusercontent.com/u/769072?v=3","gravatar_id":"","url":"https://api.github.com/users/cbradyatinquire","html_url":"https://github.com/cbradyatinquire","followers_url":"https://api.github.com/users/cbradyatinquire/followers","following_url":"https://api.github.com/users/cbradyatinquire/following{/other_user}","gists_url":"https://api.github.com/users/cbradyatinquire/gists{/gist_id}","starred_url":"https://api.github.com/users/cbradyatinquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbradyatinquire/subscriptions","organizations_url":"https://api.github.com/users/cbradyatinquire/orgs","repos_url":"https://api.github.com/users/cbradyatinquire/repos","events_url":"https://api.github.com/users/cbradyatinquire/events{/privacy}","received_events_url":"https://api.github.com/users/cbradyatinquire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-06T13:11:43Z","updated_at":"2016-05-06T13:48:49Z","closed_at":null,"body":"Right now when a program calls for a char array, the code conversion creates the placeholder\r\n\r\n{{$var_type_<VARNAME>}}\r\n\r\nthis makes it impossible to create programs or test functionality that uses strings in any variable.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/comments/217445193","html_url":"https://github.com/parallaxinc/BlocklyProp/issues/184#issuecomment-217445193","issue_url":"https://api.github.com/repos/parallaxinc/BlocklyProp/issues/184","id":217445193,"user":{"login":"cbradyatinquire","id":769072,"avatar_url":"https://avatars.githubusercontent.com/u/769072?v=3","gravatar_id":"","url":"https://api.github.com/users/cbradyatinquire","html_url":"https://github.com/cbradyatinquire","followers_url":"https://api.github.com/users/cbradyatinquire/followers","following_url":"https://api.github.com/users/cbradyatinquire/following{/other_user}","gists_url":"https://api.github.com/users/cbradyatinquire/gists{/gist_id}","starred_url":"https://api.github.com/users/cbradyatinquire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbradyatinquire/subscriptions","organizations_url":"https://api.github.com/users/cbradyatinquire/orgs","repos_url":"https://api.github.com/users/cbradyatinquire/repos","events_url":"https://api.github.com/users/cbradyatinquire/events{/privacy}","received_events_url":"https://api.github.com/users/cbradyatinquire/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T13:48:49Z","updated_at":"2016-05-06T13:48:49Z","body":"oops.  the simpler one didn't work for me (to not-work) today.  but the more complicated one DID. can you retry by doing the following...\r\n\r\n1) place the IR receive block\r\n2) put the dummy ITEM variable in the right hand argument and the dummy ITEM =  block in the receiving left-hand endpoint.\r\n3) change the left hand variable to a new variable ( \"anint\" in the below)  and the right-hand one to a new variable (\"astr\" in the below).\r\n\r\nResulting code is shown below.\r\n\r\n#include \"simpletools.h\"\r\n#include \"badgetools.h\"\r\n\r\nint anint;\r\n{{$var_type_astr}} astr;\r\n\r\n\r\nint main() {\r\n  badge_setup();\r\n  anint = receive( astr );\r\n\r\n}\r\n"}}