AL icon indicating copy to clipboard operation
AL copied to clipboard

Using backslash to start a new line in the message window can not work on latest preview release

Open monchangg opened this issue 7 years ago • 5 comments

Describe the bug Using backslash to start a new line in the message window can not work on latest preview release. Following is my AL code. Is this the latest preview version's bug?

local procedure ShowMessage()
    var
        lText: Text;
        iNumber: Decimal;
    begin
        lText := 'ABCDE';
        iNumber := 12345.678;
        Message('You can use message windows to display text and numbers: \' + 'The number:%1\' + 'The text:%2', iNumber, lText);
    end;

The result on latest preview release: image

The result on current BC version is expected: image

  • AL Language: 3.0.168874

  • Business Central: 14.0.29537.31808-US

  • AL Language (Preview Release): 4.0.170493

  • Business Central (Preview Release): 15.0.36145.0-us

monchangg avatar Sep 18 '19 08:09 monchangg

I have the same issue on using full release of 15.0 (Platform 15.0.36510.0 + Application 15.0.36560.0) with AL Language 4.0.182565

JuricaB avatar Oct 03 '19 02:10 JuricaB

Seems related to #5350

thpeder avatar Oct 18 '19 09:10 thpeder

This is fixed now:

image

Version: GB Business Central 17.3 (Platform 17.0.20458.21149 + Application 17.3.20469.21180)

dzzzb avatar Jan 27 '21 10:01 dzzzb

The same bug on Version: DK Business Central 21.4 (Platform 21.0.52534.53780 + Application 21.4.52563.52602)

DmitrijYudin avatar Mar 01 '23 11:03 DmitrijYudin

Yes, it came back, and was apparently fixed again; from a search:

https://github.com/microsoft/AL/issues/7327

dzzzb avatar Mar 01 '23 11:03 dzzzb