OC: function for Code Builder File Access


Version: 2018b

Type: Features

Category: Programming

Subcategory: Origin C

Jira: ORG-17817


Added a new OC function:

BOOL CBFileOpen(LPCSTR lpcszFileName, LPCSTR lpcszSectionName=NULL, int nCntrl = CBF_OPEN);

lpcszFileName: File path and name.

lpcszSectionName: Specify a section you want to go.

nCntrl:

  • CBF_OPEN: Open the file in Code Builder.

  • CBF_TEST_IS_OPEN: Check if the file is opened in Code Builder.