Overview | Symbol List | Example


属性值

Synopsis

&ATTVL({obj|PART|'name'},'title'[,IFERR,label:][,data_type])

Description

Provides the only method of obtaining the value of an attribute. In addition, it is a unique and efficient method of editing the value of an existing attribute.

Characteristics

Read/Write - String - 132 Characters

Parameters

Parameter

Description

obj

Existing object whose attribute values will be accessed.

PART

Minor word which indicates that the part attributes will be accessed.

'name'

A string or string variable which represents the name of an object such as a reference set.

'title'

The attribute title whose corresponding value will be accessed.

[,data_type]

The parameter data_type has been assigned a value of GPA &ATTYPE. If data_type is not specified, the default data type is variable length string. Note that you do not have to write anything to the Null attribute.

Part attributes can only have a data_type of 5 (string); the system ignores all other data_types for part attributes.

Data Type

Description

1

Integer

2

Floating point

3

Date and time

4

Null string

5

Variable length character

7

Reference

IFERR,label:

Specifies a label to which the program jumps if an error occurs. An error occurs when the specified title does not exist for the object.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.