toString Method

Class: Reference

Description

This method returns a generic string representation of a reference object. This method copies the attributes of the object into a string. Every class should provide its own implementation of the toString( ) method, so that it can provide an appropriate string representation.

Syntax

referenceObject.toString()

Parameters

None

Returns

A String.

When Became Available

Profile v6.0

Example

type RecordDEP dep = Db.getRecord(“DEP”,”CID=:CID”)

type String TOSTRING = dep.toString()

 

* Variable CID must be defined prior to the getRecord