I have a situation where the keyword TAB is causing some confusion.
If I open a file (in this case lets say a Text file), and parse lines by Tabs
Writing the file (in this case lets say my compiled PB program)
Reason I ask, is I am looking at possibilities involving Parse, and Tab, and Fields, and Nulls, and other formatting/delimeters types of things, and would like to get it right the 1st time rather than waste time tracking down "Bugs" because I "ASSUMED" things worked one way and not comprehend it could work the other.
If I open a file (in this case lets say a Text file), and parse lines by Tabs
- Does my compiled program parse by # of spaces?
- Does my compiled program parse by some known value such as the character for TAB and just shows me the spaces in the correct format?
- Would this vary depending on the program that wrote it? (I would think so)... for example, if I wrote it in PB, would it be the default 4 spaces? or my settings override of 5 spaces? or some guesstimation of whatever wrote it (Word, Ultra-Edit, Notepad, etc....) and knowing how they handle it????
Writing the file (in this case lets say my compiled PB program)
- Does PB replace this TAB with the default? or my settings override?
- Does PB replace this TAB with the ASCII character for TAB???
- Would another program mis-Interpret this "TAB" because its looking for a different format?
Reason I ask, is I am looking at possibilities involving Parse, and Tab, and Fields, and Nulls, and other formatting/delimeters types of things, and would like to get it right the 1st time rather than waste time tracking down "Bugs" because I "ASSUMED" things worked one way and not comprehend it could work the other.
Comment