|
Rockbox mail archiveSubject: Re: Upcoming New skin feature: skin variables (FS#11998)Re: Upcoming New skin feature: skin variables (FS#11998)
From: Marcin Bukat <marcin.bukat_at_gmail.com>
Date: Tue, 8 Mar 2011 13:41:38 +0100 2011/3/8 Jonathan Gordon <jdgordy_at_gmail.com>: > OK, finally, proper explanation of the 3 new tags: > > %vs(label, action, value, [max]) : label is the unique id of this > variable. action is one of "set", "inc", "dec". "set" means "x=value", > "inc" is x = x+ value, "dec" is x = x - value. vars are always > initalised to 1 on load. max is optional and means the last value > before rolling back to 1 (or with the dec action the value to set to > after decrementing from 1). Is there particular reason that vars are 1 based instead of 0 based (as we used to coding in most programming languages)? Marcin Received on 2011-03-08 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |