GetScript
Worksheet script getting
BOOL GetScript( string & strScript, DWORD & dwCntrl, string & strRangeCheckChange )
TRUE for success, otherwise return false.
EX1
//labtalk script in worksheet. void Worksheet_GetScript_Ex1() { Worksheet wks = Project.ActiveLayer(); string strScript, strRange; DWORD dwCntrl; if(wks.GetScript(strScript, dwCntrl, strRange)) { out_str(strRange); out_int("dwCntrl = ", dwCntrl); out_str(strScript); } }
Worksheet::SetScript
origin.h