Skip to content

getNofScalars

getNofScalars outputs the number of scalars in a specified Pd data structure, serving as a way to count its scalar elements. The target is supplied as an argument such as $0-data; in the example it reports 15 scalars across two structure types.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for easyflow and install it. Then create an object with declare -lib easyflow -path easyflow. Finally, use getNofScalars or any other object from easyflow.


Similar


    Comments

    Contributors