Changeset 142 for trunk/SRC/ToBeReviewed/STRING/isnumber.pro
- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRING/isnumber.pro
r134 r142 1 1 ;------------------------------------------------------------- 2 2 ;+ 3 ; NAME: 4 ; ISNUMBER 5 ; PURPOSE: 6 ; Determine if a text string is a valid number. 7 ; CATEGORY: 8 ; CALLING SEQUENCE: 9 ; i = isnumber(txt, [x]) 10 ; INPUTS: 11 ; txt = text string to test. in 12 ; KEYWORD PARAMETERS: 13 ; OUTPUTS: 14 ; x = optionaly returned numeric value if valid. out 15 ; i = test flag: out 3 ; 4 ; @file_comments 5 ; Determine if a text string is a valid number. 6 ; 7 ; @categories 8 ; 9 ; @param TXT0 {in}{required} 10 ; text string to test. 11 ; 12 ; @param X {in}{required} 13 ; 14 ; @keyword HELP 15 ; 16 ; @returns 17 ; x = optionaly returned numeric value if valid. 18 ; i = test flag: 16 19 ; 0: not a number. 17 20 ; 1: txt is a long integer. … … 19 22 ; -1: first word of txt is a long integer. 20 23 ; -2: first word of txt is a float. 21 ; COMMON BLOCKS: 22 ; NOTES: 23 ; MODIFICATION HISTORY: 24 ; 25 ; @history 24 26 ; R. Sterner. 15 Oct, 1986. 25 27 ; Johns Hopkins Applied Physics Lab. … … 33 35 ; routine is provided as is without any express or implied warranties 34 36 ; whatsoever. Other limitations apply as described in the file disclaimer.txt. 37 ; 38 ; @version 39 ; $Id$ 40 ; 35 41 ;- 36 42 ;-------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.