Underscores in HAL

More
09 Sep 2020 22:29 #181523 by OT-CNC
Underscores in HAL was created by OT-CNC
I just realized I like to use underscores and just came across this in the manual: linuxcnc.org/docs/html/hal/general-ref.html

HAL components should not use underscores or “MixedCase”.

How critical is it? Docs talk about tree structure.Does it just affect how it gets organized?

Please Log in or Create an account to join the conversation.

More
09 Sep 2020 23:32 #181526 by rodw
Replied by rodw on topic Underscores in HAL
Underscores in C become hyphens in Hal pin names. So I think its best NOT to use underscores. All my pin names in my components are lower case with hyphens.

Please Log in or Create an account to join the conversation.

More
10 Sep 2020 01:13 #181533 by OT-CNC
Replied by OT-CNC on topic Underscores in HAL
Thanks rodw, that makes sense.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum