Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Name Modified Size InfoDownloads / Week
Parent folder
bin.4gl 2019-06-13 34.5 kB
binary.README 2019-06-13 723 Bytes
Totals: 2 Items   35.2 kB 0
Hello,

I would like to contribute to the software repository.

The file bin.4gl is a 4GL module that contains all the functionality needed
to have binary arithmetic in 4GL. The problem was, that on our machine was
no C-compiler installed, but we could have made good use of binary math,
for password encryption for instance.

As a result I wrote this module that has all in it: AND,OR,XOR,NOT as binary
operators, together with bit rotation and shifting and negation.

Due to the nature of how I had to do it, it is not really fast, so no one
should apply this on mass media, but for every day usage, like password
encryption it is more than sufficient.

I hope you can make use of the code.


Kind regards,

Dietmar Bos

Source: binary.README, updated 2019-06-13