Macro Language Reference > PIs > Block > <?blockcellemptyref>
  
<?blockcellemptyref>
Description
Use this command to specify a reference to be called when an empty cell appears in a block. The command should include a named reference, to which PTC ALD will be directed when it encounters the empty cell. The reference can be set to either include some default text to be displayed in the empty cell (for example "none" or "N/A") or to assign particular attributes to the cell, for example to make empty cells black.
The reference defined by ref will be called if PTC ALD encounters no content between the <?blockbody> and <?blockend> commands.
 
Example 352. Call a reference tag for an empty cell
This example shows how to set PTC ALD to call a reference tag called empty when it encounters a cell with no content.
<?blockcellemptyref="empty">
Syntax
<?blockcellemptyref ref:t>
ref
Name of tag to be called