hkkim
Republic of Korea
35 Posts |
Posted - 01/25/2013 : 03:39:03 AM
|
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.1 SR3 Operating System: Windows XP
Hello! My code runs from run.bat double click. There are three macros and one Origin C function call in ReadDraw.ogs. I want to know the code debugging usage when macro exist. Is there any tutorial for Code Builder usage? Thanks in advance!
hkkim
run.bat: Origin81.exe -r run.section(D:\ExpData\ReadDraw.ogs, main, "D:\ExpData\")
ReadDraw.ogs: [main] def drawGraphs // start drawGraphs macro { ... } // end drawGraphs macro
def mainWork // start mainWork macro { ... drawGraphs; ... run.LoadOC(%1GraphDoc.C); // Load Origin C function ... } // end mainWork macro
def getInfo // start getInfo macro { ... } // end getInfo macro
cd %1; // First argument in DOS command, %1, has a current working directory name getInfo; // read work information for(...) { mainWork; }
|
|