thanks art that works well
i used an exiting variable for the temp one

i also did multi if /then statements , which reduced the compile further - those "and " do add up in compile

i have not seen the command ":" to allow you to put on the same line before btw

here what works

cheers

Sheldon

Code:
 Show_RF_CH_Select:
 
         gl_y = 8                                           ' show current channel in use on menu heading line  - gl_y = 8  , gl_x= 162,168 
         gl_x= 160                                             
         read $09,val                                       ' get channel ref 
         g_num = val   
         if g_num dig 1 = 0  then                           ' leading 0 supression 
             gosub put_1dig
             gl_x = gl_x +6 
             g_char = " "       ' clear 2nd digit space, case it was used 
             gosub put_char 
         else
             gosub put_2dig 
         endif                     
        g_num = 0                                 ' use as temp verable 
         if val < 6 then                          ' if current RF ch = 0-5
            if Menu_Select = 211 then             ' and menu 211
              g_num = 0                           ' value offset for ch
              gosub Show_RF_CH_Select_common      ' show  *     * on the selected ch
            endif
         endif    
                                                 
         if val =>6 then                           ' if current RF ch = 6-11
             if val <= 11 then                     
               if Menu_Select = 2112 then          ' and on menu 2112
                  g_num = 6                        ' value offset for ch 
                  gosub Show_RF_CH_Select_common
               endif
             endif
         endif     
         if val =>12 then                           ' if current RF ch = 6-11
           if Menu_Select = 2113 then           
               g_num = 12                           ' value offset for ch
               gosub Show_RF_CH_Select_common       ' show  *     * on the selected ch
           endif
         endif   
 return
 '------------------------------
 Show_RF_CH_Select_common:
    val = 1<<(val-g_num)      ' val = shift right 1 of VAL- Offset RF menu to get   1,2,4,8,16,32 in bit pattern
    gosub Show_current_sel_2  ' show "*   * on selected menu / ch using the bit pattern of VAL 
 return