Commit 9ec84adc authored by Laura Schreiber's avatar Laura Schreiber
Browse files

Delete delete_element.pro, deprecated

parent f8cb2964
Loading
Loading
Loading
Loading

delete_element.pro

deleted100644 → 0
+0 −32
Original line number Diff line number Diff line
; $Id: delete_element.pro, v 1.1 Mar 2012 e.d. $
;
;+
; NAME:
;	DELETE_ELEMENT
;
; PURPOSE:
;	Delete last element from list of stars.
;
; CATEGORY:
;	STARFINDER auxiliary procedures.
;
; CALLING SEQUENCE:
;	Result = DELETE_ELEMENT(List)
;
; INPUTS:
;	List:	input list to trim.
;
; OUTPUTS:
;	Return trimmed list.
;	
; MODIFICATION HISTORY:
; 	Written by:	Emiliano Diolaiti, June 2001.
;   1) Created this file (E. D., March 2012).
;-

FUNCTION delete_element, list

    on_error, 2
    l = list  &  n = n_elements(l)
    return, l[0:n-2]
end