;+ ; Gets the data associated with a given index number in the ; input data set. ; ; If the value of !g.line is true, then the data comes from !g.lineio ; and the result is stored in !g.s[0], otherwise the data comes from ; !g.contio and is stored in !g.c[0]. ; ; @param index {in}{required}{type=integer} The index number of the ; record to be retrieved ; ; @examples ;
; getrec,1 ; show ;; ; @version $Id: getrec.pro,v 1.2 2004/11/19 21:48:06 jbraatz Exp $ ;- pro getrec, index compile_opt idl2 get,index=index end