passing address pointers thru functions
Posted: June 19th, 2013, 12:03 am
Hello Greg,
We are working on automatic xml scripting to convert tables using table functions (such as tblrow and tblsum, etc.) to xml. We want to create a function that can do the work without copy and pasting huge amount of code. So the question is there a way to pass an item address (pointers)? For example
Thanks,
Pierre
We are working on automatic xml scripting to convert tables using table functions (such as tblrow and tblsum, etc.) to xml. We want to create a function that can do the work without copy and pasting huge amount of code. So the question is there a way to pass an item address (pointers)? For example
Code: Select all
function writeTable (&tableName, &itemName)
// some code to write the table to an xml file
end;
...
PROC HOUSE_TENURE
postproc
writeTable(&TABLE1, &$);
Pierre