Is there a way to change nested variables multiple times?
I have a $puts() variable that has a single value within it. Is it possible to create a nested variable within it that changes this single value whenever I enter a new variable value?
Example: I create a variable 'match' with a nested variable containing a single value '0' and name it 'no'. Is there a way of change the 'no' value after calling 'match' each time?
$puts(no,0)
$puts(match,$if($strstr(%title%,$meta(artist,$get(no))),,$meta(artist,$get(no))))
$get(match)$puts(no,1)
$get(match)$puts(no,2)
In my tests the 'no' variable doesn't change to '1' or '2' for the next 'match'. Alright, so maybe I have to split the function into pieces?
$puts(mat,$if($strstr(%title%,$meta(artist,)
$puts(c,)),,$meta(artist,)
$puts(h,)))
$get(mat)0$get(c)0$get(h)
$get(mat)1$get(c)1$get(h)
But that doesn't work either. Tried wrapping the variable contents in single quotes as well in case fb2k was confused by the bare endings but that only output as plain text.
Is there no way to do this?