Seite 1 von 1
Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 15:23
von Rei Vilo
Year returns day,
Month returns year and
Day returns month on RoboPro 4.2.3.
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 15:30
von Rei Vilo
There is an additional glitch for February 29th, 2016.
EDIT
Day displays seconds. February 29th is unknown. 29 is changed for 1!
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 15:44
von Markus Burkhardt
Dear Rei Vilo,
this is a strange bug. Thanks for reporting it. Hopefully, this will be fixed in a future ROBOPro update.
Best regards,
Markus
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 16:15
von rfeneberg
Dear Rei Vilo,
maybe if fixes your "seconds instead of days" problem if you use different variable names for hours, minutes and seconds.
I guess seconds part of your program overwrites day variable content.
Anyway you will get months instead of days again.
Regards,
Robert
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 16:32
von Rei Vilo
Dear Robert:
Thank you for the suggestion.
Unfortunately, variables with different names give the same result.
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 16:37
von rfeneberg
Dear Rei Vilo,
yes, it does not fix the day/month/year problem as well as the added leap year problem, but the reported error in your 2nd post (seconds instead of days).
Kind reagrds,
Robert
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 18:36
von Rei Vilo
I tried
DayOfWeek, and it provides the day of the month.
So I guess
Day provides the day of the week!
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 29 Feb 2016, 20:31
von ski7777
I have the same problem so i cant run my simple clock.
https://www.dropbox.com/s/thy176zgpgx1uwq/uhr.rpp?dl=0. In the middle it says ERROR. And my TXT says its the 29th of March.
Raphael
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 01 Mär 2016, 15:49
von Markus Burkhardt
Dear Rei Vilo, dear Raphael,
it seems that there are a lot of bugs concerning the date fields. We will fix this, thanks for the investigations.
Best regards,
Markus
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 01 Mär 2016, 15:59
von ski7777
Hi Markus,
i think that these bugs are there since version 4.2.3 because in v 4.1.8 and 4.2.1 (i´m not sure about the number. Mr Kaup has sent this beta to me) my clock has been working fine.
Raphael
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 01 Mär 2016, 16:03
von Markus Burkhardt
Dear Raphael,
thanks for this info!
best regards,
Markus
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 01 Mär 2016, 18:01
von Rei Vilo
What I don't know is whether the problem comes from the translation into English only or also exists on the German version.
Re: Robotics TXT - Date Fields Mismatch
Verfasst: 02 Mär 2016, 09:10
von Markus Burkhardt
Dear Rei Vilo,
unfortunately, this problem appears in all languages.
Best regards
Markus