Announcement

Collapse
No announcement yet.

BYVAR nesting?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BYVAR nesting?

    Is it possible to nest command BYVAR?
    Sample: "BYVAR;ACTIVESOURCEID;1<<2<<(BYVAR;TEST;t1<<t2)<<3 "

    Thanx

  • #2
    maybe, but dont use byvar... use byvarx!!!
    and maybe it will work
    prob will
    ( ) arnt known to byvar for one thing
    not to mention IFVAR

    ---------- Post added at 06:28 PM ---------- Previous post was at 05:00 PM ----------

    also remember activesourceid "could" be 0 (no source) rare, but technically its there
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      And no, it does not work.
      I tried several solutions with () in BYVARX order.
      BYVARX;ACTIVESOURCEID;(<<(BYVARX;TAGVAR;(FREQUENCE ++= ++STATION<<TAGARTIST<<TAGALBUM))<<(BYVARX;TAGVAR;( FREQUENCE++= ++STATION<<TAGARTIST<<TAGALBUM))<<(BYVARX;TAGVAR;( XMSTATION<<TAGARTIST<<XMGENRE))<<(BYVARX;TAGVAR;(S RSTATION<<TAGARTIST<<SRGENRE))<<(BYVARX;TAGVAR;(TA GTITLE<<TAGARTIST<<TAGALBUM)))

      I explain my problem:
      I have a button that changes a variable (B04,99,6,465,30,"CMDLABEL02", // "CMDLABEL02","BYVAR;TAGVAR;SAVENSETTOSKIN;TAGVAR;1 <<SAVENSETTOSKIN;TAGVAR;2<<SAVENSETTOSKIN;TAGVAR;0 )
      Then I have a label that displays, according TAGVAR either the title or artist, or album of the current song (L02,143,6,421,30,#Rangercol1#,#FONTSIZE1#,#Font1# ,"BYVAR;TAGVAR;TAGTITLE<<TAGARTIST<<TAGALBUM","SCR OLL-LEFT",).
      So when I click my button the information changes.

      Now I want the same thing but according ACTIVESOURCEID like that when I click on the button if I'm on the RADIO SOURCE I display (FREQUENCE ++= ++STATION<<TAGARTIST<<TAGALBUM). when I'm on the SOURCE XM I display (XMSTATION<<TAGARTIST<<XMGENRE).

      I do not know if I am very clear.

      Comment


      • #4
        just looking at it quicky it looks wrong...
        the syntax for byvarx

        for sure u cant have ( right after <<

        yea.. its not clear, im sure you can figure it out

        not to mention all that looks ugly to me, and i would never be able to sort it, there is always exectbl.ini you know
        labels do support byvar

        byvarx is a command, and not surrported in labels (i think)
        cant keep track of everything

        m

        ---------- Post added at 09:14 AM ---------- Previous post was at 09:13 AM ----------

        this is the only sytanx allowed for byvarx


        "BYVARX;var;(cmd0<<cmd1<<cmd3<<...)"
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment

        Working...
        X