if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!
From: Kris Leech (krisleech_at_email.com)
Date: 08/31/04
- Next message: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Previous message: Kris Leech: "Re: Copy sub section of array of bytes to another array"
- Next in thread: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Rob Kennedy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Maarten Wiltink: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 13:45:09 +0000 (UTC)
Can anyone tell me why this does'nt work:
if EthType < StrToInt('$05DC') then EthType := 0;
05DC (hex) = 1500 (dec)
and ethtype = 0800 (hex) = 2048 (dec)
however ethtype gets set to zero even though ethtype is greater than $05DC.
Cheers Kris
- Next message: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Previous message: Kris Leech: "Re: Copy sub section of array of bytes to another array"
- Next in thread: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Stefan Nowy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Rob Kennedy: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Reply: Maarten Wiltink: "Re: if EthType < StrToInt('$05DC') then EthType := 0; // does'nt work!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]