Posted 25 July 2013 - 05:14 AM
Hello, a while ago I made a toggle program. (See below) and my hope is, that instead of having a function for each item, have one function and pass the params it needs.
Function for each one(works): http://pastebin.com/F6fPS3en
One function(test): http://pastebin.com/n2heYPau
Now in the testing one, it toggles the output, but does not change the status variable(hls, sls, ds, etc)
Function for each one(works): http://pastebin.com/F6fPS3en
One function(test): http://pastebin.com/n2heYPau
Now in the testing one, it toggles the output, but does not change the status variable(hls, sls, ds, etc)