GETABLEXPRNUMATOM(3)
π NAME π
okay so bestie, welcome to the GETABLEXPRNUMATOM(3) page β it's living in the ABL FUNCTIONS manual, and we're about to make it make sense π
getablexprnumatom β gives the number of atom in an expression. That's the whole name vibe: you pass an expression, it tells you how many atoms are in it. Periodt.
π 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. Iconic academic lineage, no cap β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "abl101.h"
long getablexprnumatom( Expr )
chain_list βExpr;
So yeah, you include "abl101.h", call getablexprnumatom( Expr ), and the return type is long π₯
π PARAMETERS π
Exprβ Expression. That's your expression bestie, the thing whose atoms are getting counted π
π DESCRIPTION π
getablexprnumatom gives the number of atom in Expr. No side quests, no plot twists β it just gives you the number of atom in the expression you hand it. Slay.
π₯ RETURN VALUE π₯
getablexprnumatom returns the number of atom in Expr. That's the value you get back, and it's literally the number of atom in Expr π
π§ EXAMPLE π§
#include "abl101.h"
chain_list βExpr;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
/* displays 2 */
printf( "%d", getablexprnumatom( Expr ) );
The comment in the code says it displays 2, and that's the flex: the example expression gets counted, and the output is 2 β
π SEE ALSO π
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. They need your feedback to improve documentation and tools β so if something's giving bug energy, speak up, bestie π«Ά
π signed off by ASIM/LIP6 β October 1, 1997 β for the GETABLEXPRNUMATOM(3) girlies π
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms