Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread fyi.. EWB2 used to allow carriage returns on strings.. EWB3 does not..
Fri, Mar 20 2020 1:31 AMPermanent Link

Bruno Larochelle

This is probably an FYI only, not a bug. Discovered while testing ports from EWB2 > EWB3.

It appears that EWB2 used to allow a carriage return in a string, but EWB3 does not (does not compile).

Snippet below.. compiles/runs in EWB2, but not in EWB3:

showMessage('i eat bananas every day
  of the year');

I decided to go back in Delphi to check the behavior there.. and Delphi does not permit carriage returns either. So perhaps EWB3 is in good company.

Obviously easy to work around.
Fri, Mar 20 2020 11:35 AMPermanent Link

Raul

Team Elevate Team Elevate

On 3/20/2020 1:31 AM, Bruno Larochelle wrote:
> It appears that EWB2 used to allow a carriage return in a string, but EWB3 does not (does not compile).
>
> Snippet below.. compiles/runs in EWB2, but not in EWB3:
>
> showMessage('i eat bananas every day
>     of the year');
>
> I decided to go back in Delphi to check the behavior there.. and Delphi does not permit carriage returns either. So perhaps EWB3 is in good company.
>
> Obviously easy to work around.

Personal opinion but I think this should not be allowed by compiler so i
think EWB3 is correct

Raul
Fri, Mar 20 2020 11:54 AMPermanent Link

Bruno Larochelle

me too Smile
Fri, Mar 20 2020 1:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bruno,

<< This is probably an FYI only, not a bug. Discovered while testing ports from EWB2 > EWB3.

It appears that EWB2 used to allow a carriage return in a string, but EWB3 does not (does not compile). >>

It actually does permit it, architecturally, but I had to make a point to turn it off in order to be more compatible with Delphi. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Image