- Posts: 539
- Thank you received: 59
Script ReadLine() function and Line Number Parameter
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less More
1 year 11 months ago #21119 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
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
Please Log in or Create an account to join the conversation.
- Peter.Jonson
-
- Offline
- Platinum Member
-
1 year 11 months ago #21129 by Peter.Jonson
Peter Jonson
ETL Developer
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.
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
Please Log in or Create an account to join the conversation.
- bruce.gibbins
- Topic Author
- Offline
- Platinum Member
-
Less More
- Posts: 539
- Thank you received: 59
1 year 11 months ago #21130 by bruce.gibbins
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
Appreciate the clarification
Cheers
The following user(s) said Thank You: admin
Please Log in or Create an account to join the conversation.