This function reads an integer value assigned to an attribute from the specified block.
int c_rto_read_integer(const char *block, const char *attrib, int *alen, int *ival);
Argument |
Type |
|
Description |
---|---|---|---|
block |
Character Array |
Input |
This contains the block name in a TeimOrbit file. |
attrib |
Character Array |
Input |
This contains the name of the attribute inside a block. |
alen |
Integer |
Input |
This contains the number of characters in the attribute name. |
ival |
Integer |
Output |
This returns the string value of the attribute. |
DLLFUNC void STDCALL RTO_READ_INTEGER_F2C(char *blockName, int len1, int *blockNameLen, char *attributeName, int len2, int *alen, int *ival, int *success)
Argument |
Type |
|
Description |
---|---|---|---|
blockName |
Character Array |
Input |
This contains the block name in a TeimOrbit file. |
blockNameLen |
Integer |
Input |
This contains the number of characters in the block name. |
attributeName |
Character Array |
Input |
This contains the name of the attribute inside a block. |
alen |
Integer |
Input |
This contains the number of characters in the attribute name. |
ival |
Integer |
Output |
This returns the string value of the attribute. |
success |
Integer |
Output |
If the value is read then success return 1 or else 0. |