but you can not initialize variables with other variables.
As far as I unterstand the manual, you can in a struct initialization. It says:
Within the struct initialization, any numbers, variables, character strings, or pointers to other structs can be used
I also tested it with the Vector struct and it works:
#include <acknex.h>
var test = 42;
VECTOR* testVec = {x = test;}
function main()
{
printf("%i", (int)testVec.x);
}
As i said in the original post, it's just not working for Panels...