Adams Basic Package > Adams View > Adams View > Appendix > N - R > Numeric results sample file

Numeric results sample file

This sample file contains three components. The first two columns of numbers, beginning with 1 and 10.0, are the first two components and the third column of numbers beginning with 22 is the third component.
If you do not specify the number of steps, Adams View uses a blank line to delimit the end of a component. In the following example, the first two components have ten numbers each. If you specify the number of steps to be read, Adams View continues to read lines until the requested number of steps have been stored in the component. For example, if only one component was read from the following file and the number of steps was specified to be 15, the component would contain the values 1, 2, 3.4, -4, 5, 6, 7, 8, 9, 10, 22, 23, .24, 25, 26.
 
>>>>>> beginning of file <<<<<<<
This is a test file for the NUMERIC_RESULT READ command.
1
10.0
2
11.0
3.4
12.5
-4
13.0
5
+14.0
6
15.5
7
17
8
18
9
19
10
20
22
 
23
 
.24
 
25
 
26
 
27
 
28
 
29
 
30
 
31
 
>>>>>> end of file <<<<<<<
 
Note:  
Numbers can be separated by a comma (,) and they do not have to be lined up in even columns.
If a paragraph of text contains a line that begins with a number, Adams View tries to read the line. To avoid this, precede lines that are to be ignored with a non-numeric character. Do not use +, -, or . because these characters are valid as the first characters in a real number.
 
>>>>>> beginning of file <<<<<<<
This sample file contains only one component but contains the number 3 at the beginning of a line in this header paragraph. Adams View will try to read this line because it is not considered a comment.
1.5
3.0
4.5
6.0
 
>>>>>> end of file <<<<<<<
 
>>>>>> beginning of file <<<<<<<
The same file, without a numerical character, ensuring that Adams View does not try to read the paragraph of text.
1.5
3.0
4.5
6.0
 
>>>>>> end of file <<<<<<<