Underscores in HAL

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #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 to join the conversation.

More
6 years 1 month ago #181533 by OT-CNC
Replied by OT-CNC on topic Underscores in HAL
Thanks rodw, that makes sense.

Please Log in to join the conversation.

Time to create page: 0.186 seconds
Powered by Kunena Forum