08.05.2013 Views

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11 Rosa oscuro<br />

12 Verde oscuro<br />

13 Cian oscuro<br />

14 Marrón<br />

15 Gris claro<br />

Nota: No se puede utilizar el color por omisión (-1) para SETATR.<br />

Ejemplo de formato libre<br />

*...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8<br />

CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />

*<br />

C<br />

*<br />

EVAL color = %getatr('win01': 'GP1': 'Color')<br />

C color IFEQ *Red<br />

C EVAL %setatr('win01': 'GP1': 'Color') = *Blue<br />

C<br />

*<br />

ENDIF<br />

Ejemplo de formato fijo<br />

*...1....+....2....+....3....+....4....+... .5....+....6....+....7....+....8<br />

CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />

*<br />

C 'GP1' SETATR *BLUE 'COLOR'<br />

*<br />

128 <strong>VisualAge</strong> <strong>RPG</strong> Manual de consulta de componentes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!