[an error occurred while processing this directive]
|
attribute LOC: string;
attribute LOC of II_ram_0_2: label is XY_TO_RAMLOC(1,10); --"X1Y10";
attribute LOC of II_ram_0_1: label is XY_TO_RAMLOC(1,9); --"X1Y9";
attribute LOC of II_ram_0_0: label is XY_TO_RAMLOC(1,8); --"X1Y8";
Zdes XY_TO_RAMLOC funkcija prosto zapisyvaet koordinaty kak pokazano v komentariah,
(return 'X' & to_string(X) & 'Y' & to_string(Y);)
Tak vot napisanyj LOC rabotaet, a kogda meniaesh vse LOCi na RLOCi - to net!
E-mail: info@telesys.ru