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
Ich habe zwei relativ grosse Array's (BOOL) welche ich vergleichen möchte.
Gibt es dazu eine Funktion oder müssen die Elemente einzeln verglichen werden?
MfG
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-01-26
Originally created by: jl
Funktion "SysMemCmp" aus SysLibMem.lib
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Guten Tag
Ich habe zwei relativ grosse Array's (BOOL) welche ich vergleichen möchte.
Gibt es dazu eine Funktion oder müssen die Elemente einzeln verglichen werden?
MfG
Originally created by: jl
Funktion "SysMemCmp" aus SysLibMem.lib
ich vermeide große Ansammlungen von Bools.
Bools sind ineffektiv, egal in welcher Sprache.
schau dir mal das pragma bitacess an, und bilde
jeweils 32 Bools auf ein DWORD ab oder 16 Bools auf ein WORD.
ist am Anfang komisch, mach aber nach einiger Zeit sehr viel Spass.
z. Beispiel wenn mann dann 16 Bools mit einem Rutsch auf ein Bussystem rausschieben kann etc..