Results 1 to 4 of 4

Thread: BYVAR nesting?

  1. #1
    Low Bitrate
    Join Date
    Oct 2010
    Location
    Ivry-Sur-Seine (France)
    Posts
    71

    BYVAR nesting?

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

    Thanx

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    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

  3. #3
    Low Bitrate
    Join Date
    Oct 2010
    Location
    Ivry-Sur-Seine (France)
    Posts
    71
    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.

  4. #4
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    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

Similar Threads

  1. Byvar and LoadIMG problem
    By toxic000 in forum Road Runner
    Replies: 14
    Last Post: 03-08-2009, 03:49 AM
  2. using BYVAR in Indicator
    By turchino in forum Road Runner
    Replies: 4
    Last Post: 11-22-2006, 10:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •