promptc displaying garbage text

Discuss PocketC for Palm OS (including Desktop Edition)

Postby wax66 on Thu Sep 29, 2005 11:03 am

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.
wax66
 
Posts: 1
Joined: Wed Sep 28, 2005 6:33 pm
Location: USA

Postby exit_head on Thu Sep 29, 2005 11:18 pm

it has already been noted.

http://pocketc.net/forum/topic.asp?TOPIC_ID=3779

go there to see the temporary work around.

Nate Edwards
exit_head
 
Posts: 64
Joined: Tue May 04, 2004 3:50 am
Location: USA


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 6 guests

cron