September 20, 2020, 04:04:13 am

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


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