Jump to content
Sign in to follow this  
Davide Angeli

Problem with Reverse Assignment and comments

Recommended Posts

Posted (edited)

Hi all,

 

if I try a reverse assignement on a code like this one:

     O.F['v1']:=edV1.AsCurrency;                                                // RA - Value 1
     O.F['v2']:=edV2.AsCurrency;                                                // RA - Value 2
     O.F['v3']:=edV3.AsCurrency;                                                // RA - Value 3
     O.S['v4']:=edV4.AsString;                                                  // RA - Value 4
     O.S['v5']:=edV4.AsString;                                                  // RA - Value 5

I got this one:

     edV1.AsCurrency := O.F['v1'];
     edV2.AsCurrency := // RA - Value 1 O.F['v2'];
     edV3.AsCurrency := // RA - Value 2 O.F['v3'];
     edV4.AsString := // RA - Value 3 O.S['v4'];
     edV4.AsString := // RA - Value 4 O.S['v5'];

it seems to have problems with end-of-line comments. 

 

Is this the right place to report bugs?

Edited by Davide Angeli

Share this post


Link to post
41 minutes ago, Davide Angeli said:

it seems to have problems with end-of-line comments. 

Indeed, it has. It is just not supported, as well as a couple of other scenarios. It is supposed to work when the assignment is isolated on that line.

I have added a feature request.

 

43 minutes ago, Davide Angeli said:

Is this the right place to report bugs?

While the official way would be to mail to support@mmx-delphi.de, this place is also OK. It has the advantage that it is public and others can join the discussion.

  • Like 2
  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×