Switch Case in HSL

Hi,

Apologies if this has been asked before / is a dumb question - does anyone know if there’s a switch-case function in HSL (or directly for Venus)? As a side note, are there any good tutorials or documentation for learning how to use HSL?

Thanks
Tarun

Only if else statements to my knowledge. I think with the upcoming Venus release, there they’ve added an Or function and possibly switch case.

@tarun.chapman - Switch statements are not currently implemented in VENUS, but that the plan is to add that in a future release. The timeline for when that feature will be added though isn’t defined yet, so I don’t have further detail.

@chips-a-hoai - Yes, if/else statements have been improved for VENUS 6 to allow for multiple conditions with AND/OR

Check this post for information regarding HSL:
https://forums.pylabrobot.org/t/ways-to-learn-hamilton-hsl-code/1156/7?u=nickhealy_hamilton

-Nick

1 Like

Hi guys,

Thanks for letting me know. I’ll keep an eye out for the feature in future releases and hope it’s soon. Thanks for the info on HSL, I’m enjoying getting my teeth into it so far

Tarun