- Posts: 731
- Thank you received: 0
A possibility like #ifdef in HAL files?
5 years 9 months ago #197213
by HansU
A possibility like #ifdef in HAL files? was created 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.
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.
5 years 8 months ago #197246
by cmorley
Replied by cmorley on topic A possibility like #ifdef in HAL files?
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.
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.
5 years 8 months ago #197250
by phillc54
Replied by phillc54 on topic A possibility like #ifdef in HAL files?
Please Log in to join the conversation.
5 years 8 months ago #197254
by cmorley
Replied by cmorley on topic A possibility like #ifdef in HAL files?
Oh yes - I forgot about that.
Please Log in to join the conversation.
Time to create page: 0.090 seconds
