| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > #PROMPT Entry Types Alpha Listing >====== RADIO (one radio button) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[procedure add to logical procedure tree .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[savedialog call save file dialog .htm|{{btn_next_n.gif|Next page}}]] | | || **RADIO** {{blk2blue.jpg|blk2blue.jpg}} The **RADIO** //type// in a #PROMPT statement creates one RADIO button for the closest preceding OPTION prompt. When selected, the RADIO's //string// is placed in the OPTION's //symbol //unless the CHOICE attribute or VALUE is present. With the CHOICE attribute on the OPTION, the //symbol// receives the ordinal position number of the RADIO #PROMPT the programmer chooses from an OPTION set instead of the //string// text. With the VALUE attribute on the RADIO, the //symbol// receives //value// text. **Example:** **#PROMPT('Ask for Choice',OPTION),%OptionSymbol** **#PROMPT('Option One',****RADIO****)** **#PROMPT('Option Two',****RADIO****)** **#PROMPT('Option Three',****RADIO****)** **#PROMPT('Ask for Another Choice',OPTION),%OptionSymbol2,CHOICE** **#PROMPT('Option A',****RADIO****)                   #!%OptionSymbol2 receives 1** **#PROMPT('Option B',****RADIO****)                   #!%OptionSymbol2 receives 2** **#PROMPT('Option C',****RADIO****)                   #!%OptionSymbol2 receives 3** **#PROMPT('Ask for Yet Another Choice',OPTION),%OptionSymbol3** **#PROMPT('Option A',****RADIO****),VALUE('A')        #!%OptionSymbol3 receives A** **#PROMPT('Option B',****RADIO****),VALUE('B')        #!%OptionSymbol3 receives B** **#PROMPT('Option C',****RADIO****),VALUE('C')        #!%OptionSymbol3 receives C**