DOKK / manpages / debian 10 / alliance / mapablexpr.3.en
MAPABLEXPR(3) ABL FUNCTIONS MAPABLEXPR(3)

mapablexpr - applies a function to all operands.

See the file buster/alliance/alc_origin.1.en.gz.

#include "abl101.h"
void mapablexpr( Function, Expr )

void (∗Function)();
chain_list ∗Expr;

Function name to apply to all operands.
Expression to scan.

mapablexpr applies Function to all operands of Expr.

mapablexpr returns nothing.

#include "abl101.h"

void MapFunction( MapExpr )
chain_list ∗MapExpr;
{
if ( ABL_ATOM( MapExpr ) )
{
printf( stdout, "%s", ABL_ATOM_VALUE( MapExpr ) );
}
else
{
mapablexpr( MapFunction, MapExpr );
}
}
...
chain_list ∗Expr;
...
mapablexpr( MapFunction, Expr );
...

abl(1)

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6