Re: Tab delimiter




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."

No. The documentation I have - that pertains to the Fujitsu COBOL 85
compiler - is completely silent on the above characteristic.

Version 4, that I initially quoted from, is COBOL85.

As it happens I also have a copy of the Cobol97 version 6 on a Windows
machine. Firing that up and looking in the documentation I find, in
just a few seconds, the exact wording that I had also found in the
version 4 and that Bill had found in the latest documents. It is in the
User's Guide on page 378 with examples on page 379 exactly where I
would expect anyone to look for it in Chapter 7 "File Processing",
"Using Line Sequential Files".

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.

It seems to me that there are a lot of things that are, to you,
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.

Before I posted the effects I tested them with a small sample program.
If you had done that _before_ you posted it would have saved a lot of
agro.

.



Relevant Pages

  • Re: Tab delimiter
    ... align the following characters to preset tab positions. ... you are now saying that you _can_ trust the actual documentation. ... compiler - is completely silent on the above characteristic. ...
    (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)