Quote from: xwisdom at Aug 18, 2005, 02:18 PM
sounds good to me but I think we should still support the simple "," delimited interface. This way for simple list a user can quick add something Red,Green,Blue. Once the parser detects the || delimiter it can then use the TV format for complex listings (e.g. Red==#FF0000||Blue==0000FF||Green==#00FF00)
It would have to do so in order to remain backwards compatible. Actually, though, what I was thinking was that it would attempt to split on the "correct" || parameters and, if it didn’t result in an array, it would then retry using the ’,’ method. This would then get updated to the new || method when saved.
So if someone input a string in directly using the old way of entering in everything by hand, it would accept it and update it to the newer syntax. If someone was inputting using the new form based screens, this would be in a text area so they don’t actually supply the delimiters, so it would still save as the new syntax. And, if someone just opened an old format Snippet and resaved it (for any reason) it would update itself to the new syntax, too.
Does that make sense to everyone?