Project

General

Profile

Bug #53

Inkey$ adding a space for <return>

Added by Paul Kitching about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/21/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

a$=""
b$=""
while a$=""
  a$=inkey$
wend
print ".";a$;"."
print ".";b$;"."

In AMOS this doesn't print a space between the dots if you just press return. It does in AOZ for a$.

v 0.9.3

#1

Updated by Baptiste Pillot about 4 years ago

  • Description updated (diff)

result :

. .
..

should be :

..
..

better should be :
I think that while a$="" should loop, if you press only return : return alone stores an empty string, not ? (I am not an Amos specialist, so please verify ;)).

#2

Updated by Francois Lionet about 4 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.3.2

Fixed!

#3

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed

Ok.

Also available in: Atom PDF