<div dir="ltr">jo tohle chodi (teda prekladac nic nehlasi) - ted se musim trosku rozkoukat cim si tim pomuzu<div class="gmail_extra"><br><div class="gmail_quote">2016-06-01 15:53 GMT+02:00 Jan Waclawek <span dir="ltr"><<a href="mailto:konfera@efton.sk" target="_blank">konfera@efton.sk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Samozrejme som sa sekol aj v poradi priradenia.. takze treti pokus:<br>
<span class=""><br>
type<br>
Reg_dword = record<br>
modi : boolean; //modifikace konfiguracni banky<br>
r0 : dword; // pracovni banka<br>
r1 : dword; // konfiguracni banka<br>
eeprom : word; //pocatecni adresa<br>
delka : byte; //pocet byte registru v EEPROM<br>
end;<br>
ta = array[0..100] of byte;<br>
pta = ^ta;<br>
</span> pbyte = ^byte;<br>
<span class="">var<br>
r1, r2: Reg_dword;<br>
i: word;<br>
begin<br>
r2.eeprom := 3;<br>
<br>
</span>// r1 := r2;<br>
<br>
for i := 0 to sizeof(r1) - 1 do begin<br>
pta(@r1)^[i] := pta(@r2)^[i];<br>
end;<br>
<br>
end.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
HW-list mailing list - sponsored by <a href="http://www.HW.cz" rel="noreferrer" target="_blank">www.HW.cz</a><br>
<a href="mailto:Hw-list@list.hw.cz">Hw-list@list.hw.cz</a><br>
<a href="http://list.hw.cz/mailman/listinfo/hw-list" rel="noreferrer" target="_blank">http://list.hw.cz/mailman/listinfo/hw-list</a><br>
</div></div></blockquote></div><br></div></div>