Upgrading from ATEasy 7.0 to 2023, problem with for-statement

Gerhard F.
Vienna,

Jan 25, 2024
3 Posts

0  |  0  

Re: Upgrading from ATEasy 7.0 to 2023, problem with for-statement

Hello,
we are using ATEASY 7.0 since many years and due to some performances issues we would like to upgrade to ATEasy 2023.

So I was installing ATEasy 2023 and opening one of our workspaces.

There were some warning but the main problem was that obviously the for-statement is interpreted differently between these two versions.

Here a for-loop which worked fine under 7.0:

For (dwIdx=0 ) To ( dwIdx < 8) Do
        ....do whatever
Next

Under 2023 the statemant within the loop are not executed at all.

It's clear to me that the used syntax isn't correct but worked under 7.0

Is this a known behaviour?


many thanks in advance

Gerhard

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Jan 25, 2024
368 Posts

2  |  0  

Re: Upgrading from ATEasy 7.0 to 2023, problem with for-statement

Hi,

This was a bug in v7.x that was fixed in a later version.

'dwIdx<8' produces boolean expression that can be TRUE (<>0 but -1 internally) or FALSE)(0), since  dwIdx is 0 initially -> 0<8 is TRUE (-1) and that is why the loop never execute the  do whatever...

Regards,
Ronnie

Gerhard F.
Vienna,

Jan 30, 2024
3 Posts

0  |  0  

Re: Upgrading from ATEasy 7.0 to 2023, problem with for-statement

Hello Ronnie,

many thanks for clarifying this issue.

Unfortunately I'm not able to test the changed workspace because our 30-day-trial license expired.
Would it be possible to get a new trial-license?

Many thanks in advance!

regards
Gerhard

DrATEasy (Ron Y.)
Mission Viejo, CA

Jan 30, 2024
368 Posts

0  |  0  

Re: Upgrading from ATEasy 7.0 to 2023, problem with for-statement

You can create a support incident requesting another 30 days evaluation license.

https://www.marvintest.com/Magic/

Ronnie

Gerhard F.
Vienna,

Jan 31, 2024
3 Posts

0  |  0  

Re: Upgrading from ATEasy 7.0 to 2023, problem with for-statement

Hello Ronnie,

thanks for the advice, I already created an Incident (#22727).

regards
Gerhard



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]