gmxGetPoint

Author: Hiroshisa Mori / joshua@globalbase.org + [Transrate]Reiko Inoue Bendtsen c/o Suzaku Translations / (http://www.suzaku-translations.com/) +

PROTOTYPE

<gmxGetPoint> filename pointdata </gmxGetPoint>

ARGUMENTS

filename [1] XLT_STRING [UNDEF REF (XLT_STRING)]

pointdata [1] XLT_PAIR [UNDEF REF (XLT_PAIR)]

ATTRIBUTES

path-type [arbitrary]: How a filename path is given. absolute/related/network/key default="absolute"

mode [arbitrary]: How a return value is given. normal/block default="normal"

EVALUATION TYPE

applicative

AGENT(S) BELONGS

gbmx

ENVIRONMENT BELONGS

Env1,Env0

EXPLANATION

This function acquires data of coordinate positions, pointdata , from the matrix file filename . If the channel type is vector data, the return value varies depending on how the mode attribute is given. If mode="normal," the value of dim_code corresponding to the vector is returned. If mode="block," the vector data itself is returned. Note that if the channel type is not vector data, mode must be set to "block."

filename can be given as abosolute path or relative path from the root of the xl server. If you specify the attribute path-type="absolute," an absolute path is specified and if you specify path-type="related," a relative path is specified. Note that the method of specifying absolute path cannot be used without access right to Env1 ( XL administrator priviledge).

The data format of pointdata is a list of XLT_INTEGER [UNDEF REF (XLT_INTEGER)]or XLT_FLOAT [UNDEF REF (XLT_FLOAT)]with a length of the dimensions indicated by filename plus 1,if only one point is given. One element is added because one integer value that gives the access level is placed at the head. If two or more points are added, multiple lists indicating coordinate values shall be specified.

[UP] Go To Page Top

RETURN VALUE

If no errors occur, an S formula that lists ( channel number [ XLT_INTEGER [UNDEF REF (XLT_INTEGER)]] coordinate position data) for the number of channels is returned. The coordinate position data takes the value of the corresponding type depending on channel data type, either XLT_INTEGER [UNDEF REF (XLT_INTEGER)]or XLT_FLOAT [UNDEF REF (XLT_FLOAT)]. If mode="block," it takes the value of the corresponding type.

ERRORS

REFERENCE

BUGS



[UP] Go To Page Top
  GLOBALBASE has particated in the open source software support program SORCE FORGE SourceForge.jp SourceForge.net Logo