Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

datetime array doesn't accept datetime

Hello,

 

I have the following problem:

 

is
   array : datetime[];
do
   array.append( .Models.Frame.EventController.absSimTime() );
end;

For my understanding, it should work fine. But it throws an error that the left and right side are not compatible. When I change to SimTime() instead, it works. But I would like to have the date also.

Is there a bug? I tripple checked my code. There is no typo. And append should take any types.

3 REPLIES
Solution
Solution
Accepted by topic author Someone
‎04-26-2016 07:53 AM

Re: datetime array doesn't accept datetime

You found a bug in the software.

It will be fixed in the next maintenance pack.

Re: datetime array doesn't accept datetime

Hello MichaelJoos,

 

is the bug fixed already? I have the same issue (array.append does not work with datetime data type) and I am testing the 30 days trial.

 

Best,

Max

Re: datetime array doesn't accept datetime

Hello Max,

The bug is fixed in the latest maintenance pack available.

The trial will soon be moved to version 13 and will then contain the fix as well.

Regards,

Ralf