Hi all -
I could really use some help debugging this. I'm trying to modify a private channel so that the registration process happens before the home screen loads, but the channel keeps crashing without any error message on the debug console.
I've been working through it and it seems that whenever I overwrite a pre-existing variable (screen, rsp), the channel exits without an error. I don't really understand why it's doing that since the code seemed to work that way before and I'm just changing the order of things.
First it was happening because my CongratulationsScreen was using 'screen' and in the preShowHomeScreen sub it was dying at the line:
screen = CreateObject("roPosterScreen")
so i changed the showCongratulationsScreen sub to use 'cscreen' and now it's failing in LoadCategoryFeed on the line:
rsp = http.GetToStringWithRetry()
I assume it's failing because the 'rsp' variable is already defined during the registration process.
I'd like to note that the failure only happens the first time when the user has to go through the registration process. After the UID is stored, and the registration bypassed, the revised channel works as usual.
Should I be able to reuse the variables, does anyone have any ideas what's going wrong?
tyvmia
aspiring