A possibility like #ifdef in HAL files?

More
5 years 9 months ago #197213 by HansU
Hi,
is there a possibility to define a value (like #define in C) and then use something like #ifdef in the HAL files?
For example you want to use nearly a same config on two machines/computers and they decide only in a very few points.

Please Log in to join the conversation.

More
5 years 8 months ago #197246 by cmorley
HALcmd has no logic commands built in.
You could use HAL to load say a python program though and use the python program to do the logic.
Might be akward, might be ok - depends on what you really want to do.

Please Log in to join the conversation.

More
5 years 8 months ago #197250 by phillc54

Please Log in to join the conversation.

More
5 years 8 months ago #197254 by cmorley
Oh yes - I forgot about that.

Please Log in to join the conversation.

More
5 years 8 months ago #197325 by HansU
Not really what I was looking for, but thanks!

Please Log in to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum