Cancel
Showing results for 
Search instead for 
Did you mean: 

datetime array doesn't accept datetime

Pioneer
Pioneer

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

Re: datetime array doesn't accept datetime

Siemens Phenom Siemens Phenom
Siemens Phenom

You found a bug in the software.

It will be fixed in the next maintenance pack.

Re: datetime array doesn't accept datetime

Experimenter
Experimenter

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

Siemens Phenom Siemens Phenom
Siemens Phenom

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