GETABLEXPRNUMATOM(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– GETABLEXPRNUMATOM πŸ’–

okay bestie, welcome to the ABL FUNCTIONS corner of the GETABLEXPRNUMATOM(3) manual page, section 3, and babes, we are about to count atoms. yes. that's the whole job. and she does it flawlessly. πŸ’…


🌸 NAME 🌸

getablexprnumatom β€” gives the number of atom in an expression.

like, that's it. that's her whole personality. and honestly? iconic. ✨


πŸŽ€ 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.

fr fr, a whole legendary lab in Paris made this. main character energy only. πŸ‘‘


✨ SYNOPSIS ✨

#include "abl101.h"
long getablexprnumatom( Expr )
  chain_list βˆ—Expr;

look at her. short. sweet. gets straight to the point. no cap. πŸ¦‹


πŸ’œ PARAMETERS πŸ’œ

  • Expr β€” Expression.

that's the one (1) thing you gotta hand her. give her an expression, she gives you a number. simple as. 🫢


🌈 DESCRIPTION 🌈

getablexprnumatom gives the number of atom in Expr.

literally that. she takes your Expr, she counts the atoms, she tells you how many there are. no drama, no side quests, no surprises. lowkey the most reliable friend in the whole abl101.h friend group. πŸ’–


⭐ RETURN VALUE ⭐

getablexprnumatom returns the number of atom in Expr.

so like, when you call her, that's what comes back at you: the count. the atom count. the whole vibe check of your expression, quantified. periodt. πŸ’…


πŸ“ EXAMPLE πŸ“

okay so here's how you'd actually use her:

#include "abl101.h"
  chain_list βˆ—Expr;
  Expr = createablbinexpr( ABL_AND,
                           createablatom( "'0'" ),
                           createablatom( "'1'" ) );
  /* displays 2 */
  printf( "%d", getablexprnumatom( Expr ) );

see how the comment says /* displays 2 */? that's because there are literally two atoms in there, bestie β€” '0' and '1' β€” glued together with ABL_AND via createablbinexpr. two atoms, output is 2. math is mathing. 😭πŸ”₯


🧚 SEE ALSO 🧚

go check out the big one if you wanna see the whole family. iykyk. 🌸


πŸ’€ BUG REPORT πŸ’€

This tool is under development at the ASIM department of the LIP6 laboratory.

We need your feedback to improve documentation and tools.

bestie they are literally asking for your feedback, don't leave them on read!! πŸ™ˆ send the bug reports, they're building this thing in real time and they want to hear from you. 🫢

mwah, that's the whole page. go count some atoms, queen. πŸ¦‹βœ¨

β€” this lil rewrite was served to you by the fine folks at ASIM/LIP6, dated October 1, 1997, and it's the GETABLEXPRNUMATOM(3) page, section 3, forever and always πŸ’–