This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
howtos:toolcoding:general_view_writing [2010/03/08 13:33] shona.weldon |
howtos:toolcoding:general_view_writing [2011/05/25 19:36] chris.strashok |
||
---|---|---|---|
Line 14: | Line 14: | ||
would like to access. This is accomplished by using array indexes. The form of an object | would like to access. This is accomplished by using array indexes. The form of an object | ||
array reference is: | array reference is: | ||
- | <code> objectName[][index] <\code> | + | <code> objectName[upperDims,auxDims][index] </code> |
where: | where: | ||
* //index// the array index. It may be one of the following values: | * //index// the array index. It may be one of the following values: | ||
- | * integer constant A positive integer value such as 1,2,3,.... For example, tempObject[][2]. | + | * integer constant |
+ | * a positive integer value such as 1,2,3,.... For example, tempObject[][2]. | ||
Line 48: | Line 49: | ||
* import.t - Tool commands to import the external data according to the format of each variable | * import.t - Tool commands to import the external data according to the format of each variable | ||
<file> | <file> | ||
- | creview import testInOut.s import.v import.t "importing first scenario" | + | setpath $HOME/V4/cal/views |
+ | |||
+ | ! Data creation views: | ||
+ | creview import testInOut.c import.v import.t "importing first scenario" | ||
+ | |||
+ | |||
+ | ! Data display views: | ||
+ | disview energyUseRpt myCalc energyUseRpt .v energyUseRpt .t "energy use report" | ||
</file> | </file> | ||