Project

General

Profile

Actions

Bug #53

closed

Inkey$ adding a space for <return>

Added by Paul Kitching almost 5 years ago. Updated almost 5 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

Actions #1

Updated by Baptiste Pillot almost 5 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 ;)).

Actions #2

Updated by Francois Lionet almost 5 years ago

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

Fixed!

Actions #3

Updated by Baptiste Pillot almost 5 years ago

  • Status changed from Resolved to Closed

Ok.

Actions

Also available in: Atom PDF