Page 1 of 1

PostPosted: Thu Sep 29, 2005 11:03 am
by wax66
I found the issue I'm having with the pendown events and I'll wait for the bugfix on that, but didn't see this anywhere.

I'm using PocketC 7.0 on Palm 5.2.1

This snippet of code:
<font face="Courier New"> promptc("Bet Amount", "Please enter bet.\nMaximum: $", "OK", 1, betFromUser);</font id="Courier New">

Displays properly, no issues.

But this snippet:
<font face="Courier New">
int money = 100;
promptc("Bet Amount", "Please enter bet.\nMaximum: $" + money, "OK", 1, betFromUser);</font id="Courier New">

Turns the text of the prompt into garbage. But the variable 'money' shows up properly like I figured it should. I was thinking it was a type mismatch issue and it's trying to display the whole string as an int, but couldn't figure out how to cast it back into a string. It's very possibly not a bug and just my lack of knowledge.

PostPosted: Thu Sep 29, 2005 11:18 pm
by exit_head
it has already been noted.

go there to see the temporary work around.

Nate Edwards