| |
|
|
| Imho becomes this View source:
not correctly worn out:
Hierbei set I x& on the worth $FFFFFFFE and question thereafter x& ex whether it whom same worth $FFFFFFFE own. becomes but "nein" determined.
or übersehe I thereby something?
so GEHTS:
so not: and so GEHTS too:
|
|
|
| |
|
|
|
RGH | Hi, here comes to that carry, that Hexwerte ($xxxxx) now too QuadInt-length having can. that is means, that $FFFFFFFE for worth 4294967294 standing, what itself still right explicit of -2 distinguish. ;) becomes but this $FFFFFFFE now solely one a signed LongInt x& allocated, becomes The Bytefolge there naturally as -2 interprets. but one can Yes now QuadInts using:
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| Hm - that is but too the You a Long-Variable with a Quad-worth vergleichst - means x& is Long and $FFFFFFFE then but as Quad interpretierst.
i'm now not 100% clear whether the so "gut and richtig" is because to "long=" still garkein Quad come might. |
|
|
| |
|
|
|
RGH | Why ought to not weg? as long as the worth the Quad inside the Wertebereiches one a signed Longs is, can the Quad free from problems with the Long compared and be even same his. is the Quad but - How in unserem example - outside the Wertebereiches, must the comparison naturally "falsch" yield.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| what I mean is still, and so a Long-Variable with a Quad-worth vergleichen instead of a Long-Variable with a Long-worth and a Quad-Variable with a Quad-worth because then would it Yes in each drop correctly. functions. |
|
|
| |
|
|
|
Jörg Sellmeyer | Roland has already right. $FFFFFFFE is even not -2, separate The Variable x& is -2. If then müßtest You two Longvariablen vergleichen:
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/10/11 ▲ |
|
|
|
|
| i see you Yes, but whether the now correctly. is the "ich" instead of "XProfan" two Long-variables(-values) vergleichen ought to where the argument still already Long vorgibt... |
|
|
| |
|
|
|
RGH | Well, if you aware a Longvariable with a Literal vergleichst, that outside the Bereichsgrenzen one Long lying, what expect You?
OK, I could it to check on and a Error Message produce. but helps the moreover? what about me could with the Zuweisung too to check on, whether the worth at all into Variable reinpasst, but the have I yet never made. but How one it turn and contact: $FFFFFFFE is now times not -2!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| RGH (10.02.11)
Well, if you aware a Longvariable with a Literal vergleichst, that outside the Bereichsgrenzen one Long lying, what expect You?
Imho lying $FFFFFFFE still not at all ausserhalb the Bereichsgrenze one 32-bit Long - therefore GEHTS me still. |
|
|
| |
|
|
|
Jörg Sellmeyer | this is so, as if You whom String "Ich be one langer set, the not a short Variable paßt" on a Stringvariable with begrenzter length zuweist and you then wunderst, that the both different are.
x$(23) = "Ich be one langer set, the not a short Variable paßt" Case x$ <> "Ich be one langer set, the not a short Variable paßt": wunderwunder
Nachtrag: now understand I your argument not any more.
here happens still very the same. x& = 1.1 becomes 1. compared with 1.1 yields the a Error.
at that others example becomes x& = $FFFFFFFE To -2 and this is nu times not $FFFFFFFE |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 02/10/11 ▲ |
|
|
|
|
RGH | To Long and Quad: means in my eyes lying 4294967294 ($FFFFFFFE) definitiv outside the vorzeichenbehaftetet Long-Wertebereichs! (In a Long without omen would it reinpassen, but whom knows XProfan not.)
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| I have Yes whom Topics-Title "Signed ./. UnSigned -trouble with Hexkonstanten?" chosen.
Jörg Sellmeyer (10.02.11)
this is so, as if You whom String "Ich be one langer set, the not a short Variable paßt" on a Stringvariable with begrenzter length zuweist and you then wunderst, that the both different are.
I mean that I the so not do would, means me then wonder.
its imho indeed not so, that here a Satzlänge vorliegt, The not whom String fit, because there's Yes none Informationsverlußt with:
because too one signedLong exists from 4 byte and only The go here described. ^^
$FFFFFFFE is with one signedLong -2 what about me grüble hold whether XProfan at argument Long=$FFFFFFFE The rights Page (there these into long reinpasst) correctly as Quad instead of Long interprets.
I give me but too beaten if I as a Gedankenfehler Have. ^^ |
|
|
| |
|
|