Re: Tab delimiter




"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:1162065898.472448.301950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

HeyBub wrote:

"If there are tab characters in an input record, spaces are inserted to
align the following characters to preset tab positions. The tab
positions
are 1, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68,
and
72. If a tab is present at a character position beyond 72, it is read
as a
single space."

When in doubt, do not trust the documentation.

So, I tested the above theory and, indeed, Fijutsu COBOL does replace
tabs
in input with blanks to force alignment at bytes/columns 8, 12, 16, etc.

So, you are now saying that you _can_ trust the actual documentation.

No. The documentation I have - that pertains to the Fujitsu COBOL 85
compiler - is completely silent on the above characteristic. Whether they've
revised the documentation and you have the newer set or whether you
concocted a scam out of whole cloth is, to me, unknown. All I'm saying is
that the results do not match the impression left by the documentation that
came with the compiler I use.


.



Relevant Pages

  • Re: Tab delimiter
    ... align the following characters to preset tab positions. ... revised the documentation and you have the newer set or whether you ... concocted a scam out of whole cloth is, to me, unknown. ...
    (comp.lang.cobol)
  • Re: Great SWT Program
    ... Vim -- car is fixed, ... and/or press tab again to get a list of choices. ... to type one or more additional characters and press tab again. ...
    (comp.lang.java.programmer)
  • Re: Decatenate a field with Make Table Query?
    ... You can probably do something similar in MS Word, lining them up using tab characters in ordinary paragraphs. ... You can use Word to delete lines that contain only white space, and you can delete repeated paragraph marks. ... I would define a special paragraph style that would include the tab settings for this operation, but would not save it in the global Word template, as you'll likely never need this style again, so leave "Add to Template" unchecked, but check "Automatically Update". ... In the Excel cell the paragraph marks show up as bangs; ...
    (microsoft.public.access.queries)
  • Re: _stprintf
    ... Here's the documentation for CreateFile: ... I don't blame Microsoft for not documenting Windows ME but I wonder why they ... "Since you can't use any multibyte encoding in CreateFile," ... to use MAX_PATH Kanji characters to name a file. ...
    (microsoft.public.vc.mfc)
  • Re: Tabs vs. Spaces
    ... all displays were fixed character width. ... to align properly is if my display has the same tab spacing as yours. ... every 4 characters -- some oddballs even used three or five. ...
    (alt.comp.lang.learn.c-cpp)