English
Source / code snippets

Bininv Binwert Invert Long

 

Findus
here my 2. code:
CompileMarkSeparation
Windowtitle "LONG-INVERT       Ende mit ESC"
' (Demoware) 2012-12 by P.Specht; KEINE GEWÄHR!
cls:font 2:randomize:declare wert&,ret$

repeat

    wert&=rnd(2^32-1)
    print translate$(binwert(wert&),"0"," ")
    print translate$( bininv(wert&),"0"," ")
    print
    waitinput 1000

until %key=27

end

proc bininv

    parameters inv&
    return "%"+right$(mkstr$("0",32)+bin$(4294967295-inv&),32)

endproc

proc binwert

    parameters wer&
    return "%"+right$(mkstr$("0",32)+bin$(wer&),32)

endproc


From P.woodpecker.
 
12/29/12  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.793 Views

Untitledvor 0 min.
H.Brill09/26/24
p.specht11/20/21
Uwe Lang11/20/21
Manfred Barei11/19/21
More...

Themeninformationen

this Topic has 1 subscriber:

Findus (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie