チケット #34300

CRLF in dispstr only does CR

登録: 2014-09-10 16:10 最終更新: 2014-09-10 16:10

報告者:
(匿名)
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
マイルストーン:
(未割り当て)
優先度:
5 - 中
重要度:
5 - 中
解決法:
なし
ファイル:
なし
投票
点数: 0
No votes
0.0% (0/0)
0.0% (0/0)

詳細

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

チケットの履歴 (2 件中 2 件表示)

2014-09-10 16:10 更新者: None
  • 新しいチケット "CRLF in dispstr only does CR" が作成されました
2014-10-15 18:44 更新者: None
コメント

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

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする