Skip to content

Accessing Class Attributes with Expressions

Table of Contents

Overview

In this document, we will explore how to access class attributes using expressions in DataFlex Studio. This includes reading properties and calling function methods effectively.

Reading Properties using Expressions

To read properties using expressions, you can utilize the following syntax:

// Example of reading a property
Get MyProperty to MyValue

Calling Function Methods using Expressions

To call function methods using expressions, the syntax is as follows:

// Example of calling a function method
Send MyFunctionMethod

Conclusion

Understanding how to access class attributes with expressions is crucial for effective programming in DataFlex Studio. Ensure to refer to the examples provided for better clarity.