Code samples

Hi,
There are a lot of great projects on GitHub from the community, but sometimes you have a code snippet that is too small to make a complete repository out of it and too big to just post it here. So I created a repository that consists of multiple smaller samples. Well, right now it’s only one, but it’s hopefully growing in the future. The repo can be found here:

br-automation-community/CodeSamples: Collection of smaller code samples

And as always, everybody is invited to contribute with more samples.

Happy coding!

Stephan

11 Likes

The first sample is a topic that comes up every now and then, and it’s about comparing structures. Sometimes you want to know if something in the structure has changed. If you don’t care about what has changed, this is only one line of code with brsmemcmp, but if you want to know what exact variable has changed, there is no easy way of finding that variable. This is where this sample can help. For a detailed description, see the documentation. Kudos to Philipp for the code base :slight_smile:

br-automation-community/CodeSamples at GetStructure

1 Like

thanks Stephan for sharing :slight_smile: if you looking for more details, Stephan provided also link documentation Get Structure Details - Code Samples