IonicWind Software

Creative Basic => General Questions => Topic started by: TexasPete on November 21, 2009, 06:08:23 AM

Title: Converting interger to a string adds trailing space
Post by: TexasPete on November 21, 2009, 06:08:23 AM
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
Title: Re: Converting interger to a string adds trailing space
Post by: Ionic Wind Support Team on November 21, 2009, 07:14:45 AM
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.