Hi,

I have this code ( in the older version work without problem):
Code

#include <zorroZmq.h>

function run()
{
    if (is(INITRUN)){

        int v1;
        int v2;
        int v3;
        zmq_version(&v1,&v2,&v3);
        printf("\nversion: %d.%d.%d",v1,v2,v3);
    }

}
          


I get this error
Quote

testRun compiling..
Error in 'line 4:
'function' undeclared identifier
< function run() >.


after change to:
Code

#include <zorroZmq.h>

void main()
{

    int v1;
    int v2;
    int v3;
    zmq_version(&v1,&v2,&v3);
    printf("\nversion: %d.%d.%d",v1,v2,v3);

}


is all OK:
Quote


testRun compiling....... ok

version: 4.2.0




Last edited by Grat; 06/15/20 04:38.