English
Regulars table & Café

hex if case many values vergleichen How

 
freenet.thorsten_friedrichs means:

Hello.
means I have z.b. a Hexwerte (or others zahlenwert or
Perhaps string), now
I compare whether this with a others übereinstimmt z.b. with IF.
means
a% = $4
If a% = $3
elseif a% = $4
.... (time as example, hopefully was The zuweisung correctly.).
i want but now Verify whether a bestimmter Hexwert (here $4) in a
large selection on Hexwerten vorkommt (means normal not only a
einstellige hexzahl, separate mehrstellig (the same but with dezimalzahlen
and Perhaps strings)
$02 $05 $1a ...........
it can thereby a realtiv large number on numbers his.
I know there if I the now in EINER request make wants only the solution
if (a% = $3) or (a% = $4) or (a% = $5) or ...
I must means jedesmal again complete The first Variable prompt.
gives it a others Possibility or. spelling?
if a% = $3 or $4 or $5 goes goes of course sprachlich (is the Content Variable
a% same $3 or...) but not
programmiertechnisch (becomes Yes somehow binary zusammengesetzt or so.
gives it there an easy, too optisch and übersichtilich better Possibility
or must I How supra written everything in detail with if describe?
Thorsten
 
10/19/05  
 




efisch
Hello Thorsten,

if The Vergleichswerte zusammenhängen, means $1, $2, ..., $fe, $ff, helps naturally
if (a% >= $1) AND (a% <= $ff).
otherwise filling one one aray V% with the Vergleichswerten and vergleicht in a Loop:

this Vorgehen is quite flexibly, because one The Vergleichswerte with want in the ongoing Program adjust or a File reading can.

HTH
ebi
 
10/19/05  
 



gmx.malenz means:

changes it still simply as String circa, and then comparison
if instr(stringwert$+, , FF,FE,CA,99,00,) > 0
MFG Marco
> -----Ursprüngliche Message-----
> From: Thorsten Friedrichs [mailto:thorsten_friedrichs@freenet.de]
> Gesendet: wednesday, 19. october 2005 03:00
> on: Profan-Mail
> Betreff: Hex / if / case - many values vergleichen - How?
> Hello.
> means I have z.b. a Hexwerte (or others zahlenwert or
> Perhaps string), now
> I compare whether this with a others übereinstimmt z.b. with IF.
> means
> a% = $4
> If a% = $3
> elseif a% = $4
> .... (time as example, hopefully was The zuweisung correctly.).
> i want but now Verify whether a bestimmter Hexwert (here $4) in
of/ one
> large selection on Hexwerten vorkommt (means normal not only a
> einstellige hexzahl, separate mehrstellig (the same but with
> dezimalzahlen
> and Perhaps strings)
> $02 $05 $1a ...........
> it can thereby a realtiv large number on numbers his.
> I know there if I the now in EINER request make wants only The
Solution
> if (a% = $3) or (a% = $4) or (a% = $5) or ...
> I must means jedesmal again complete The first Variable prompt.
> gives it a others Possibility or. spelling?
> if a% = $3 or $4 or $5 goes goes of course sprachlich (is the Content
> Variable
> a% same $3 or...) but not
> programmiertechnisch (becomes Yes somehow binary zusammengesetzt or so.
> gives it there an easy, too optisch and übersichtilich better
> Possibility
> or must I How supra written everything in detail with if
describe?
> Thorsten
> --
 
10/19/05  
 



Hexadezimal is still only a Darstellungsform, You can still integrally normal so calculate, as wären it normal numbers. the Result kannste with want to Optischen Gestalltung again as Hex spend.
Declare Ergebnis&
Ergebnis& = $4 + 6
Print Ergebnis&
Print Hex$(Ergebnis&)
waitkey
 
10/19/05  
 



web.dennis.schulmeister means:

Hello Thorsten,
your trouble is me not integrally clear. first time. How is the initial position? where
come The values
since and How go tappt im dunkeln us Program transfer? then, what have you got so to?
Sincerely,
Dennis
----- Original Message -----
From: malenz
To: Profan-Mail
Sent: Wednesday, October 19, 2005 8:44 AM
Subject: AW: Hex / if / case - many values vergleichen - How?
changes it still simply as String circa, and then comparison
if instr(stringwert$+, , FF,FE,CA,99,00,) > 0
MFG Marco
> -----Ursprüngliche Message-----
> From: Thorsten Friedrichs [mailto:thorsten_friedrichs@freenet.de]
> Gesendet: wednesday, 19. october 2005 03:00
> on: Profan-Mail
> Betreff: Hex / if / case - many values vergleichen - How?
> Hello.
> means I have z.b. a Hexwerte (or others zahlenwert or
> Perhaps string), now
> I compare whether this with a others übereinstimmt z.b. with IF.
> means
> a% = $4
> If a% = $3
> elseif a% = $4
> .... (time as example, hopefully was The zuweisung correctly.).
> i want but now Verify whether a bestimmter Hexwert (here $4) in
of/ one
> large selection on Hexwerten vorkommt (means normal not only a
> einstellige hexzahl, separate mehrstellig (the same but with
> dezimalzahlen
> and Perhaps strings)
> $02 $05 $1a ...........
> it can thereby a realtiv large number on numbers his.
> I know there if I the now in EINER request make wants only The
Solution
> if (a% = $3) or (a% = $4) or (a% = $5) or ...
> I must means jedesmal again complete The first Variable prompt.
> gives it a others Possibility or. spelling?
> if a% = $3 or $4 or $5 goes goes of course sprachlich (is the Content
> Variable
> a% same $3 or...) but not
> programmiertechnisch (becomes Yes somehow binary zusammengesetzt or so.
> gives it there an easy, too optisch and übersichtilich better
> Possibility
> or must I How supra written everything in detail with if
describe?
> Thorsten
> --
 
10/19/05  
 



freenet.thorsten_friedrichs means:

the would whom Programmablauf Yes not speed, separate slow.
Greeting
Thorsten
> changes it still simply as String circa, and then comparison
> if instr(stringwert$+, , FF,FE,CA,99,00,) > 0
> MFG Marco
> > -----Ursprüngliche Message-----
> > From: Thorsten Friedrichs [mailto:thorsten_friedrichs@freenet.de]
> > Gesendet: wednesday, 19. october 2005 03:00
> > on: Profan-Mail
> > Betreff: Hex / if / case - many values vergleichen - How?
> > Hello.
> > means I have z.b. a Hexwerte (or others zahlenwert or
> > Perhaps string), now
> > I compare whether this with a others übereinstimmt z.b. with IF.
> > means
> > a% = $4
> > If a% = $3
> > elseif a% = $4
> > .... (time as example, hopefully was The zuweisung correctly.).
> > i want but now Verify whether a bestimmter Hexwert (here $4) in
> of/ one
> > large selection on Hexwerten vorkommt (means normal not only a
> > einstellige hexzahl, separate mehrstellig (the same but with
> > dezimalzahlen
> > and Perhaps strings)
> > $02 $05 $1a ...........
> > it can thereby a realtiv large number on numbers his.
> > I know there if I the now in EINER request make wants only The
> Solution
> > if (a% = $3) or (a% = $4) or (a% = $5) or ...
> > I must means jedesmal again complete The first Variable prompt.
> > gives it a others Possibility or. spelling?
> > if a% = $3 or $4 or $5 goes goes of course sprachlich (is the Content
> > Variable
> > a% same $3 or...) but not
> > programmiertechnisch (becomes Yes somehow binary zusammengesetzt or so.
> > gives it there an easy, too optisch and übersichtilich better
> > Possibility
> > or must I How supra written everything in detail with if
> describe?
> > Thorsten
> > --
 
10/20/05  
 



freenet.thorsten_friedrichs means:

Hi Dennis,
The initial position is, that I u.a. one own log write (u.a. for
The tcp.dll of MRK).
now have I a solid scheduler with Values (here hold Hexwerte) and must
these vergleichen.
thereby wants and must I in first step to check on whether a byte with a
Hexwert a scheduler übereinstimmt.
(on another place come instead of fester values, variable to).
with if (x=$yy) or (x=$xy) goes it of course too, but it'll very
unübersichtlich and partly EXTREM long.
one to abbreviate with if x = $yy or $xy is not, on the strength of the logischen
vergleichens.
but i'm faith I moreover come. I have there completely forget
and first now in the Help again draufgestoßen
the it Yes the binäre UND (&) and binäre OR (|) gives.
so could it klappen what about me will be the test times How the functions.
Greeting
Thorsten
> Hello Thorsten,
> your trouble is me not integrally clear. first time. How is the
> initial position? where
> come The values
> since and How go tappt im dunkeln us Program transfer? then, what have you got
> so to?
> Greeting,
> Dennis
> ----- Original Message -----
> From: malenz
> To: Profan-Mail
> Sent: Wednesday, October 19, 2005 8:44 AM
> Subject: AW: Hex / if / case - many values vergleichen - How?
> changes it still simply as String circa, and then comparison
> if instr(stringwert$+, , FF,FE,CA,99,00,) > 0
> MFG Marco
> > -----Ursprüngliche Message-----
> > From: Thorsten Friedrichs [mailto:thorsten_friedrichs@freenet.de]
> > Gesendet: wednesday, 19. october 2005 03:00
> > on: Profan-Mail
> > Betreff: Hex / if / case - many values vergleichen - How?
> > Hello.
> > means I have z.b. a Hexwerte (or others zahlenwert or
> > Perhaps string), now
> > I compare whether this with a others übereinstimmt z.b. with IF.
> > means
> > a% = $4
> > If a% = $3
> > elseif a% = $4
> > .... (time as example, hopefully was The zuweisung correctly.).
> > i want but now Verify whether a bestimmter Hexwert (here $4) in
> of/ one
> > large selection on Hexwerten vorkommt (means normal not only a
> > einstellige hexzahl, separate mehrstellig (the same but with
> > dezimalzahlen
> > and Perhaps strings)
> > $02 $05 $1a ...........
> > it can thereby a realtiv large number on numbers his.
> > I know there if I the now in EINER request make wants only The
> Solution
> > if (a% = $3) or (a% = $4) or (a% = $5) or ...
> > I must means jedesmal again complete The first Variable prompt.
> > gives it a others Possibility or. spelling?
> > if a% = $3 or $4 or $5 goes goes of course sprachlich (is the Content
> > Variable
> > a% same $3 or...) but not
> > programmiertechnisch (becomes Yes somehow binary zusammengesetzt or so.
> > gives it there an easy, too optisch and übersichtilich better
> > Possibility
> > or must I How supra written everything in detail with if
> describe?
> > Thorsten
> > --
 
10/20/05  
 



gmx.malenz means:

> the would whom Programmablauf Yes not speed, separate
slow.
would be but How desired whom code übersichtlicher make . If you
however speed want, and many values have, then would I so
a if-request not Profan directly write . is hold simply To
slow . If however utterly not differently goes, then versuchs over The
quality the Zahlenmenge .
with friendly greet Marco
 
10/20/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.605 Views

Untitledvor 0 min.
Walter06/05/22
Heinz Bernhard08/20/13
Sebastian Sprenger08/01/13
jaschi12/28/12

Themeninformationen

this Topic has 2 subscriber:

unbekannt (7x)
efisch (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