Macro $EVTPAR
| GSI
| Biophysics
| SATAN long write-up
|
$EVTPAR(
name
)
Purpose
Access a previously defined event parameter
Parameters
name
-
Name of the event parameter to be accessed.
The event parameter must be previously defined in the macro
$EVENT
.
Function
Remarks
Examples
static struct SSAVE10 *pVE10;
$EVENT(xyz,p(8)) ;
...
pVE10 = (struct SSAVE10 *) &( $EVTPAR(p(1)) );
abc = $EVTPAR(xyz) * 2E0;
Set the pointer pVE10
to the address of the event parameter
p(1)
Multiply the value of the event parameter xyz
by 2 and assign
the result to abc
.
| GSI
| Biophysics
| SATAN long write-up
|
Last updated: M.Kraemer@gsi.de,
4-Aug-1999
Impressum Data privacy protection