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
Pdand go toToolsFind Externals. Search foreasyflowand install it. Then create an object withdeclare -lib easyflow -path easyflow. Finally, usegetNofScalarsor any other object fromeasyflow.