Re: Cobol convert program Job Request




<jacodeguy@xxxxxxxxx> wrote in message
news:1172181884.310009.214830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Feb 22, 3:34 pm, "Rick Smith" <ricksm...@xxxxxxx> wrote:
[snip]
Sweet! Yes, that seems to work. Only little bug was this line:

signed short Get_PT_TwoByteComp (TwoByteComp *comp) {
return (signed short) (comp->c[0]*256+comp->c);
}

should be:
return (signed short) (comp->c[0]*256+comp->c[1]); //with the [1]

This sometimes happens with untested C/C++ programs!
A missing subscript can't get past the syntax check in COBOL,
though.

Wow, I have not done it all yet, but got the pin and the first x,y. I
think I'm golden.

Thank you all very very much. Richard and Rick, I'd love to pay you
back. If you'd like to split the $100 please email me at andy at
camavision.com where I can send the check.

Send it all to Richard. He was willing to do it in COBOL.



.



Relevant Pages

  • Re: Should COBOL be lockedUP for good?...
    ... You are allowing your emotional attachment to COBOL to blind you here. ... isn't wise to do that with ANY language; it is just computer programming, ... Both Richard and Bill have tried to explain their ... You may think it is fine to use the COBOL file system, ...
    (comp.lang.cobol)
  • Re: Cobol vs. Images
    ... I'm working on porting an Document Image Management system to COBOL ... PerCOBOL generates to Java, so I guess I could use a Java library, ... Thanks for the link, Richard. ...
    (comp.lang.cobol)
  • Re: Believe me, you WANT to read this!
    ... > No. Microsoft did not 'abandon' Java. ... >> and went back to salvaging their COBOL. ... Richard is right on the button. ... Although before Internet days not too easy to get Tech support, ...
    (comp.lang.cobol)
  • Re: Problem With Cobol Report Writer
    ... and written COBOL here and there... ... I don't think Richard suggested it was other than a style issue. ... personal preference is for paragraphs. ... though it may not be my personal preference). ...
    (comp.lang.cobol)
  • Re: GOBACK
    ... Richard wrote: ... Converting to ENTRY will ... >>I like Cobol better than the other languages I've used and attempted to use. ...
    (comp.lang.cobol)