Incidencia #34300

CRLF in dispstr only does CR

Abrir Fecha: 2014-09-10 16:10 Última actualización: 2014-09-10 16:10

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

It appears that the LF is being ignored when CRLF is being sent together in dispstr

Erroneous Test Code:

for x 1 3
    sprintf "Test %d"  x 
    dispstr inputstr #13 #10	
next

Results in the first 2 lines being overwritten and only the 3rd displayed:

Test 3

Workaround:

for x 1 8
    sprintf "Test %d"  x 
    dispstr inputstr	
    dispstr #13
    dispstr #10
next

Expected Results:

Test 1
Test 2
Test 3

Ticket History (2/2 Histories)

2014-09-10 16:10 Updated by: None
  • New Ticket "CRLF in dispstr only does CR" created
2014-10-15 18:44 Updated by: None
Comentario

This may be a related problem:

If you use:

dispstr #$0A #$0D '<some text>' pause <time>

then this text is sometimes not displayed before pausing.

It may should be #$0D #$0A instead, but I wonder whether it makes a difference.

It happens for 4.79 and 4.84.

Thanks.

Qiyao

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar