Click or drag to resize

CommandListAppendDefaultRel Method

Used in a switch-block, specifies the default case and the relative offset of a target command within the current list.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.5.2
Syntax
C#
public void AppendDefaultRel(
	int pos
)

Parameters

pos  Int32
The relative position of the target command within the current list.
Remarks
Appends a DEFAULT_GOTO_REL command to the list.


IMPORTANT NOTICE: Change of Command Behaviour in ClientLib v2.0.0!
In ClientLib versions prior to v2.0.0, the value of the pos parameter was incorrectly interpreted as ( pos - 1 ).
From ClientLib v2.0.0 onwards, the value of pos is correctly interpreted.
Custom applications which call AppendDefaultRel(Int32) may be affected by this change.


See also: 12.5.3.1 Flow-Control within the current Command List

See Also