Origin C OC and LT Access to Data Connector


Version: 2020

Type: Features

Category: Programming

Subcategory: Labtalk

Jira: ORG-20040


1. OC call LT Sub method in Page level, for example:

void test()
{
WorksheetPage wp = Project.Pages();
int nErr = wp.DoMethod("DC.Add", "CSV");
}

2. Support "wbook.DC.type$" to get the DC type.

3. Simpler syntax for web connector in LT, for example:

newbook;
wbook.dc.add("JSON"); wks.dc.source$="https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2018-01-01&endtime=2018-01-23"; wks.DC.Sel$="JSON/features"; wks.dc.import();