Skip to main content

NRC_GetJobfileLineSum()

The total number of lines in the currently opened job file

Before calling this function, please call NRC_CreateJobfile(std::string jobname) or NRC_OpenJobfile(std::string jobname) to create or open a job file

Type

int=>Return the total number of lines in the currently opened job file

Return valueDescription
Return the total number of lines in the currently opened job file

Parameter Option

None

Sample code

int lineSum = NRC_GetJobfileLineSum();//Get the total number of lines in the currently opened job file