Script ReadLine() function and Line Number Parameter

  • Posts: 490
  • Karma: 2
  • Thank you received: 48

Script ReadLine() function and Line Number Parameter was created by bruce.gibbins

AETLP/E v6.3.7.17 x32 & x64

Hi.

I noticed that the there is no mention in the documentation that the ReadLine() script function uses Zero Based Indexing for the Line Number Parameter. If this could be included it would have saved me a few test runs and head scratching.

I'm not sure but does it require a EndOfLine character as well or will it assume EndOfFile is also EndOfLine?

Cheers
11 months 1 day ago #21119

Please Log in or Create an account to join the conversation.

  • Posts: 1225
  • Karma: 3
  • Thank you received: 160

Replied by Peter.Jonson on topic Script ReadLine() function and Line Number Parameter

Perhaps you mean FileLine function?

I have updated the documentation

1 It does not require an EndOfLine character. (It assumes that the file was created by using standard Windows Notepad)

2 It will assume EndOfFile is also EndOfLine.
Peter Jonson
ETL Developer
10 months 4 weeks ago #21129

Please Log in or Create an account to join the conversation.

  • Posts: 490
  • Karma: 2
  • Thank you received: 48

Replied by bruce.gibbins on topic Script ReadLine() function and Line Number Parameter

Yes, thanks Peter I did mean FileLine() got my languages mixed up.

Appreciate the clarification

Cheers
The following user(s) said Thank You: admin
10 months 4 weeks ago #21130

Please Log in or Create an account to join the conversation.

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies