March 28, 2024, 10:32:25 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Converting interger to a string adds trailing space

Started by TexasPete, November 21, 2009, 06:08:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

It seems that when CB converts an integer to a strings . CB wants to add a trailing space which need to be trimmed .
In LB it does not do that. I was wondering if there is any reason to it and if any one might know why.

Thanks
Texas Pete

Ionic Wind Support Team

Pete,
Mention LB on these forums one more time and I will ban you permanently! Seriously you have gotten your share of complaints from the other users.

Creative BASIC's string commands were modeled after those in Microsoft BASIC. The space before an outputted integer leaves room for the minus sign, which was common in text-only BASIC.
Ionic Wind Support Team