[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] bitskifte !



Joachim Holst <sslug@sslug> wrote in message
news:sslug@sslug
> Hejsan !
>
> Det finns en liten operator som heter =~. tyvärr, så har jag ine kommit
> fram til lvad den gör. Någon som kan hjälpa till med ett exempel eller två
> ??

~ operatoren laver en 1-komplement til tallet, svarende til en binær (unary)
NOT funktion.
! er den logiske NOT funktion. Hvis du kommer til at bruge denne i stedet,
får du enten FALSE (0) eller TRUE (-1) som resultat
^ laver en binær XOR ud af dataene.
& laver binær AND, og
| laver binær OR.

&& og || er de logiske versioner af & og |.

Keld Laursen





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *