DADiSP Worksheet Functions > Function Categories > Query Functions > GETWORKSHEETNAME
Returns the current Worksheet name.
GETWORKSHEETNAME
A string, the full path to the current worksheet.
Given a Worksheet named MATH in the Demo4 Labbook where Demo4 resides in the C:\program files\dadisp folder:
loadworksheet("MATH");
getworksheetname();
returns C:\program files\dadisp\Demo4\MATH