gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] bit manipulation ?


From: Patrick
Subject: Re: [open-cobol-list] bit manipulation ?
Date: Mon, 28 Apr 2014 15:23:57 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

I should have looked a Brian's site first . It looks like there are a number of reserved words that are not yet implemented regarding manipulating bits.

Let's change the focus of this post from how do I do this, to how do I write this for GNUcobol.

How hard would this be to add and does anyone have some useful links to reference materials that might help?

Perhaps I could write standalone programs that will do what is needed in theory and the developers can rework it into the code base later.

Thanks

P.S there does seem to be some workaround material posted here:
http://opencobol.add1tocobol.com/#bitwise





On 28/04/14 09:24 AM, Patrick wrote:
Hi Everyone

I would like to set individual bits for use in calling arguments in C.
Many C libraries use bit masks.

I have found a number of examples on the net but nothing that I have
been able to get working yet.

Here is one error:

bit1.cob:32: Error: 'BIT' reserved word, but not supported yet

I am using 1.1

Is there a way to do this with GNUcobol ?

Thanks-Patrick



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list




reply via email to

[Prev in Thread] Current Thread [Next in Thread]