Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [4diac-dev] 4diac-ide: ST-array declaration syntax

For untyped arrays created directly at the FB interface IEC 61499 anyhow only defines the upper bound and assumes 0 as the lower bound. However I would see this
handy for typed arrays if we ever want to support them.
Cheers,
Alois

On Mon, 2020-02-24 at 09:25 +0000, Martin Melik-Merkumians wrote:
> Hi,
>
> oh sure you are right Jörg. I just forgot about local vars as I never used them 😊
>
> Best regards,
> Martin
>
> --------------------------------------------------
> Dipl.-Ing. Martin Melik-Merkumians
> Advanced Mechatronic Systems
> Automation and Control Institute (ACIN)
> TU Wien
> DVR-Number: 0005886
>
> Gusshausstr. 27-29, room CA-05-38
> 1040 Vienna, Austria
> Phone: +43 (0)1 588 01 37688
> Fax: +43 (0)1 588 01 937688
> Email: melik-merkumians@xxxxxxxxxxxxxxxxx
> http://www.acin.tuwien.ac.at/
> --------------------------------------------------
>
> -----Ursprüngliche Nachricht-----
> Von: 4diac-dev-bounces@xxxxxxxxxxx <4diac-dev-bounces@xxxxxxxxxxx> Im Auftrag von Jörg Walter
> Gesendet: Montag, 24. Februar 2020 10:22
> An: 4diac-dev@xxxxxxxxxxx
> Betreff: Re: [4diac-dev] 4diac-ide: ST-array declaration syntax
>
> Hi,
>
> On 24.02.20 09:29, Martin Melik-Merkumians wrote:
> > As far as I know, nobody can use variable declarations directly in a FB, so it should be safe to change it to the conformant version you propose, without any legacy mode.
>
> I've use variable declarations in ECC algorithms, where they worked fine. I didn't use arrays, though.
>
> Nevertheless I'd vote for upgrading. We should strive for full standards compliance. A transition phase with some kind of deprecation warning would be nice, but ultimately, any code relying on blatantly nonstandard behaviour is already broken.
>
> Regards,
> --
> Dipl.-Inform. Jörg Walter
> Senior Researcher
> R&D Group Distributed Computation and Communication
>
> OFFIS e.V. - Institut für Informatik
> FuE Bereich Produktion | R&D Division Manufacturing Escherweg 2, 26121 Oldenburg - Germany
> Phone/Fax.: +49 441 9722-729 / -282
> E-Mail: joerg.walter@xxxxxxxx
> URL: http://www.offis.de
>
> Registergericht: Amtsgericht Oldenburg VR 1956
> Vorstand: Prof. Dr.-Ing. Wolfgang H. Nebel (Vorsitzender),
>      Prof. Dr. techn. Susanne Boll-Westermann, Prof. Dr.-Ing. Axel Hahn,
>      Prof. Dr.-Ing. Andreas Hein, Prof. Dr. Sebastian Lehnhoff _______________________________________________
> 4diac-dev mailing list
> 4diac-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/4diac-dev
> _______________________________________________
> 4diac-dev mailing list
> 4diac-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/4diac-dev



Back to the top