Like so many people, you are assuming that this is difficult and therefore trying to make it difficult. You don't need an example of that. It's as simple as it gets: declare a variable and assign a value.