Hey Chris,
I did some research and it is possible :) I have never seen someone using it though but it does work.
Example:
Simba Code:
program Test;
{$i srl/srl.simba}
function DTMToString(DTM: Integer): String;
begin
Result := GetDTM(DTM).ToString;
writeln('Result: ' + Result);
end;
procedure DTMTest;
var
DTM: Integer;
Test: TMDTM;
begin
DTM := DTMFromString('mWAAAAHicY2FgYOhgZGDIBOKzQDwFiI8Cxb4C8T8gfg3E////R8HogBENgwAAsaUR9g==');
DTMToString(DTM);
FreeDTM(DTM);
end;
begin
SetupSRL;
DTMTest;
end.
After running:
SRL Compiled in 16 msec
Result: mWAAAAHicY2GAgIf///93BdI8UL4BEFsCsRoQA6VQMDpgRMMgAACE7xC7
Successfully executed.
You convert the DTM to a TMDTM. That is a type like a DTM but you can do some fun stuff with it such as converting it to a String.
EDIT: We might have overlooked something in the documents, but I don't think this existed yet. Might be nice to add to SRL.