Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1346

Help: Rainmeter Skins • Re: [#Variable] is unknown. Is this a bug?

$
0
0
Yup, I considered adding factors as you suggested since I started it but I didn't want to add much more variables, but now that I've faced the other side of the coin I think I will.
Well, you already did for the Width and Height formulas, so why not for Corners too? :confused:
It might look like overkill at first, but in my experience, the more variables, the more flexible and clean the following code will be. Plus, if you need to change the way things are computed later on, you can do it at the beginning of the code easily. If concerned about the skin code growing larger, you have @includes to place the variables separately anyway. Not saying everything should be "variablized" / "parameterized", but doing it strategically for key things in your code can help.

Statistics: Posted by Yincognito — Today, 5:48 pm



Viewing all articles
Browse latest Browse all 1346

Trending Articles