Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Möglichkeit der Variablenbestimmung?

2008-03-25
2008-03-31
  • Patrick31781 - 2008-03-25

    Hallo zusammen,

    gibt es eine Funktion, um zu bestimmen welchen Varaiblentyp eine solche hat?

     
  • Chräshe - 2008-03-27

    Hallo Patrick,

    die gibt es und zwar beim einfügen der neuen Funktion geht ein Fenster auf.

    Dort muss man den Namen und Erstellsprache der Funktion festlegen.

    Bei der Auswahl „Funktion“ wird zusätzlich das Feld „Rückgabetyp“ aktiv…

    Nachträglich ist das auch möglich. Einfach in der ersten Deklarationszeile

    bei FUNKTION [Name]:[Datentype] den Datentype eintippen.

    Nur nicht mit „;“ abschleißen, sonst gibt es Fehler…

     
  • Patrick31781 - 2008-03-31

    Danke das hat mir schonmal geholfen

     

Log in to post a comment.