toString Method

This method has been deprecated and should not be used in Profile versions v6.4 and above. Instantiate an object and use the object in that form rather then trying to convert it into an M format.

Class: Record

Description

This method returns a generic string representation of an 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

objectName.toString()

Parameters

None

Returns

A String.

When Became Available

Profile v6.0

Example

type RecordDEP dep = Db.getRecord("DEP",CID)

set value = dep.toString()