• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 Convert Integer to Stream Orisha Junior Member Posts: 6 Threads: 2 Joined: Feb 2003 02-01-2003, 02:46 AM How can I convert an integer variable to a stream? toonski84 Posting Freak Posts: 2,020 Threads: 24 Joined: Jun 2002 02-01-2003, 03:07 AM what's a stream? if you mean "string", here: http://qbasicnews.com/qboho/qckstr\$.shtml i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry Orisha Junior Member Posts: 6 Threads: 2 Joined: Feb 2003 02-01-2003, 03:08 AM im sorry string, yes toonski84 Posting Freak Posts: 2,020 Threads: 24 Joined: Jun 2002 02-01-2003, 03:14 AM no problem, then str\$ oughta help x = 9 a\$ = str\$(x + 1) a\$ should read: " 10" ltrim should get rid of the space in front. a\$ = ltrim\$(str\$(x + 1)) i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry « Next Oldest | Next Newest »

Forum Jump:

Users browsing this thread: 1 Guest(s)