# File rbSnack/tkSnack.rb, line 745 def set_sample(index, left=nil, right=nil) left='?' if left==nil right='?' if right==nil Snack::exeTkCmd([@name,'sample',index, left, right], nil) end