HelpWizard Pages Linking Technologies2/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 12: | Zeile 12: | ||
This can now be connected to any other expecco actions and a string passed to it via the input pin. Here, an expecco dialog pops up, and the entered string is sent to the C function: |
This can now be connected to any other expecco actions and a string passed to it via the input pin. Here, an expecco dialog pops up, and the entered string is sent to the C function: |
||
[[Datei:C HelloWorld Action1.png|300px]] |
[[Datei:C HelloWorld Action1.png|300px]] |
||
Version vom 17. März 2022, 17:57 Uhr
Linking Technologies: C Language Actions
To call into a C-function inside a library (eg. shared library / dll)
or to implement a computation algorithm in C,
create a new C-action with one input pin (named "inPin" with type "String") and type in the code. For example:
execute printf("hello %s\n", stringValue(inPin));
This can now be connected to any other expecco actions and a string passed to it via the input pin. Here, an expecco dialog pops up, and the entered string is sent to the C function: