Get Buffer Data Method
The Get Buffer Data method returns a string that contains the same data that the buffer contains. If necessary, it does a Unicode conversion according to the value of the Use Unicode in Buffer property. For more information, see Throw Statement.
Format
bufferVar.toString()
The following example uses the Get Buffer Data method:
try
{
do_something;
}
catch( e )
{
TheApplication().RaiseErrorText(Clib.rsprintf(
"Something bad happened: %s\n",e.toString()));
}