Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors


Manual Reference Pages  - attr_xconv (5)

NAME

attr/xconv - Convert between register type and encoded data

CONTENTS

Synopsis
Description
Error Handling
See Also
Author

SYNOPSIS

attr/xconv reg <, reg ... >

DESCRIPTION

Converts a list of numbered registers (P0 to P15) between a register type stored in the instance container and a PSUNIT_TYPE_XVALUE.

If the register contains the type PSUNIT_TYPE_OBJEDIT, PSUNIT_TYPE_WALKER, PSUNIT_TYPE_READSEG, PSUNIT_TYPE_READTAB, PSUNIT_TYPE_VCLASS, PSUNIT_TYPE_VATTR or PSUNIT_TYPE_READVAL then attr/xconv will encapsulate the pointer within a PSUNIT_TYPE_XVALUE and remove the reference from the instance container.

If the register contains the type PSUNIT_TYPE_XVALUE and the attribute is either psObjEdit, psWalker, psReadSeg, psReadTab, psVClass, psVAttribute or psReadVal then attr/xconv will remove the PSUNIT_TYPE_XVALUE encapsulation from the pointer and add the reference to the instance container.

ERROR HANDLING

A runtime error is generated if the argument is not a numbered register or does not contain one of the support data types.

SEE ALSO

pal_commands(5), pal_registers(5), attr_xcopy(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

Copyright (c) 2002-2015 Mark R. Bannister <cambridge@users.sourceforge.net>.

This is free software and can be downloaded from prose.sourceforge.net; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


PAL 1.0 attr_xconv (5) 6 March 2015
Generated by manServer 1.07 from man5/attr_xconv.5 using man macros.