Project

General

Profile

Bug #744

There are too much spaces when I print a text then a variable

Added by Baptiste Pillot almost 3 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
AOZ Developers
Target version:
-
Start date:
04/27/2021
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Print "Hello world ! What is your name ?"
Input name$
Print "Hello,", name$

I input "Baptiste"
This prints two spaces :

Hello,  Baptiste

This should print only one space.

#1

Updated by Francois Lionet over 2 years ago

  • Status changed from New to Rejected

Not a bug! You are using a comma between the Hello and the name. Commas locate the cursor to the next TAB, here, one space ahaid.
If you want no space, use ; instead of ,

Also available in: Atom PDF