GETABLEXPRNUMOCC(3)
๐ GETABLEXPRNUMOCC ๐
okay bestie, welcome to the getablexprnumocc(3) page โ it lives in the ABL FUNCTIONS section of the manual (yes, section 3, we love a library call) ๐
โจ NAME โจ
getablexprnumocc โ how many times a name appears in an expression. that's it, that's the whole job ๐
๐ธ ORIGIN ๐ธ
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of Universitรฉ Pierre et Marie CURIE, in Paris, France. ๐ซ๐ทโจ
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
๐ฆ SYNOPSIS ๐ฆ
#include "abl101.h"
long getablexprnumocc( Expr, Name )
chain_list โExpr;
char โName;
๐ PARAMETERS ๐
Exprโ the Expression, bestie. the thing we're snooping through ๐Nameโ the Name to find. the one we're counting, the main character of this function fr ๐ซ
๐ DESCRIPTION ๐
getablexprnumocc gives the number of occurrents of Name in Expr. like, literally counts them up and hands you the number. no cap ๐งฎ๐
โญ RETURN VALUE โญ
getablexprnumocc returns number of occurrents of Name in Expr. yes the return value section is basically the description again, and honestly? iconic of it. periodt ๐
๐ EXAMPLE ๐
#include "abl101.h"
chain_list โExpr;
Expr = createablbinexpr( ABL_AND,
createablatom( "a" ),
createablatom( "b" ) );
/* displays 1 */
printf( "%d", getablexprnumocc( Expr, "a" ) );
see how it prints 1? cause "a" shows up exactly once. ate ๐ฏ
๐ SEE ALSO ๐
๐ BUG REPORT ๐
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools. so like, if something's giving broken, tell them, bestie, they're literally asking ๐ซถ
ngl this page is short but it's a whole vibe. count your occurrents, stay hydrated, and remember: oneName, oneExpr, one very straightforwardlong๐
that's the whole page, queen โ brought to you by ASIM/LIP6, dated October 1, 1997, filed under GETABLEXPRNUMOCC(3) in the ABL FUNCTIONS manual. go count some occurrents, you've got this ๐
๐ฆ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms