08.05.2013 Views

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

VisualAge RPG Parts Reference - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Valor permitido<br />

El valor de FontBold puede ser uno de los siguientes:<br />

0 El font no se visualiza en negrita<br />

1 El font se visualiza en negrita<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 bold = %getatr('win01': 'ST1': 'FontBold')<br />

C bold IFEQ 0<br />

C EVAL %setatr('win01': 'ST1': 'FontBold') = 1<br />

C ELSE<br />

C EVAL %setatr('win01': 'ST1': 'FontBold') = 0<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<br />

*<br />

'ST1' GETATR 'FONTBOLD' bold 1 0<br />

C<br />

*<br />

'ST1' SETATR 1 'FONTBOLD'<br />

Capítulo 2. Atributos de componente 203

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

Saved successfully!

Ooh no, something went wrong!