ISABLNAMEINEXPR(3)

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

πŸ’– ISABLNAMEINEXPR πŸ’– (that's the abl function crew, section 3 of the manual, bestie)

okay so. welcome to the ABL FUNCTIONS page for isablnameinexpr β€” and yes, it does exactly one (1) thing, but it does it flawlessly. she's an icon, she's a legend, and she is the moment. πŸŽ€


✨ OPER ✨

isablnameinexpr β€” the girl who tests if a name appears in an expression. that's it. that's her whole job. and she ATE. πŸ’…


🌸 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. πŸ₯βœ¨ (yes, Paris. the origin story is giving main character energy fr fr.)

like, they really said "here's our whole contact info, come hang out." 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "abl101.h"
int isablnameinexpr( Expr, Name )
  chain_list βˆ—Expr;
  char       βˆ—Name;

πŸ’œ PARAMETERS πŸ’œ

  • Expr β€” the expression where we're searching. the location. the scene of the investigation. πŸ”
  • Name β€” the name we're searching for. the missing person. the one we're looking for. πŸ‘‘

🌈 DESCRIPTION 🌈

so isablnameinexpr tests if Name appears in Expr. literally that's the whole plot. no subplot, no twist, just a clean yes-or-no vibe check on your expression. βœ…βŒ


⭐ RETURN VALUE ⭐

isablnameinexpr returns 1 if Name appears in Expr, and 0 otherwise. one means "she's in there bestie", zero means "nope, not on the guest list." πŸ’€


πŸ“ EXAMPLE πŸ“

okay this is the part where it gets cute:

#include "abl101.h"
  chain_list βˆ—Expr;
   Expr = createablbinexpr( ABL_AND,
                            createablatom( "a" ),
                            createablatom( "b" ) );
   /* displays   1 */
   printf( "%d", isablnameinexpr( Expr, "a" ) );

see how it builds an ABL_AND expression out of "a" and "b", then asks if "a" is in there? and the comment tells you it displays 1? because she IS in there. as she should be. periodt. πŸ’…βœ¨


🧚 SEE ALSO 🧚

  • abl(1) β€” go read that one too, 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.

translation: she's still growing, she's still evolving, and they genuinely want your feedback. so if something's off, TELL THEM. don't just suffer in silence, bestie, that's not the vibe. 😭🫢


and that's the page!! brought to you by ASIM/LIP6, dated October 1, 1997 (a vintage queen, honestly, she's been iconic for decades πŸ‘‘), filed under ISABLNAMEINEXPR(3) in section 3 of the manual. mwah. πŸ’–πŸŽ€βœ¨