how to find the no of lines in notepad
public static void main(Args _args)
{
TextBuffer tb;
tb = new TextBuffer();
tb.fromFile('C:\\Users\\How to write Dynamic query in x++.txt');
info(strfmt("%1",tb.numLines()));
}
public static void main(Args _args)
{
TextBuffer tb;
tb = new TextBuffer();
tb.fromFile('C:\\Users\\How to write Dynamic query in x++.txt');
info(strfmt("%1",tb.numLines()));
}
Comments
Post a Comment