| Subject: | Re: Absolute |
|---|---|
| From: | "Andrzej" |
| Date: | Mon, 14 Jul 2008 11:35:17 +0200 |
| Newsgroups: | pl.comp.lang.delphi |
A nie prościej zrobić to na rzutowaniu typów?
type TLongIntCast = record
case Integer of
0: ( Value: Longint );
1: ( Values: array[0..3] of byte );
end;
var
a: LongInt;
...
a := 1234;
TLongIntCast(a).Values[0] := 1
TLongIntCast(a).Values[0] := 2
pozdrófka...
Andrzej
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [OT] Sukces, Paweł Seledec |
|---|---|
| Next by Date: | Re: Dokumentacja kodu, Wojciech \"Spook\" Sura |
| Previous by Thread: | Re: Absolute, t0mek |
| Next by Thread: | Re: Absolute, t0mek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |