English
Functions and Help

§47 - Wertetypen-Umwandlungsfunktionen

 
§47 - Wertetypen-Umwandlungsfunktionen
 
01/11/15  
 




HofK
The type bool, boolean, can true or false his
can for variables with the both Values generiert go.

thereby has true The nummerische Repräsentation 1 and false The 0.

on the other hand go any nummerischen values mismatched 0 as true interprets.
slight useful with while number mismatched 0  To Verify.

The spending one logischen Wertes How z.B.
(i<r) | (i==r)
for any variables with print yields too The numerische Repräsentation and not true or. false.

sometimes would like one but very true.

the can of course self hinbekommen, but beautiful would a
§47 - Wertetypen-Umwandlungsfunktion , about bool

- or ?
 
11/14/15  
 




Michael
W.
True becomes (almost everywhere) not directly gewertet. In some Languages is it too -1.
therefore ought to one True How everywhere simply to derive.

mismatched False is True (alike whom worth it repräsentiert).
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
11/14/15  
 




ByteAttack

True=False or andersrum???
This will Yes correctly. philosophical...
be I in the Matrix or is it The reality???
 
XProfan X3
Website:  [...] 
Facebook:  [...] 
11/14/15  
 




Michael
W.
integrally simply: if it mismatched False is, then then are You real.
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
11/14/15  
 




ByteAttack
UPS! mismatched  False

Überlesen...
 
XProfan X3
Website:  [...] 
Facebook:  [...] 
11/14/15  
 




HofK
Michael W. (14.11.15)
True becomes (almost everywhere) not directly gewertet. In some Languages is it too -1.


almost everywhere - but Infinity-Profan???

true -1 z.B. in VB Skript, is too a sinnvolle thing, because binary
false 0... 000
true 1...111

see old(geb) with VB Skript [...]  in the comparison To  [...] 
 
11/14/15  
 



In Infinity there Bools:

var a=true
print a

yields true

however:

print true-a

yields not false, because the Minusoperator whom Datentyp on numerisch anhebt.

print 10==20

yields however false

very How

print true==true

true yields.
 
11/14/15  
 




HofK
but:

w = (i<r) | (i==r)
print w
print (i<r) | (i==r)
print i==i

gives z.B.:
1
1
true
 
11/14/15  
 



look time:
var i,r,w = (i<r) || (i==r)
print w
print (i<r) || (i==r)
print i==i

false
false
true


have  [...]  korrigiert.
 
11/14/15  
 




HofK
there be I beautiful reingefallen, had still time my Java books take should.
but reference is law!

come with | and || as well as & and && but too always confusion.

small consolation, has otherwise yet none notice or itself getraut To monieren.
 
11/14/15  
 




Michael
W.
there are You but neither on my own with the confusion come...
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
11/14/15  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

16.396 Views

Untitledvor 0 min.
Nico Madysa03/28/16
HofK02/23/16
iF02/01/16
ByteAttack12/07/15
More...

Themeninformationen



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