List Arg Limit

ricky's icon

Why are Max dynamic list elements limited to 9 args, i.e., ! > $9? [$11( gives me [\$11(. Patch attached.

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon


why?

1.) when max was born monitors were only 640 pixels wide.

2.) there must be a few differences between max and pd to demonstrate that they different programs.

:)

for workarounds for egde cases where you might want this search the forum, here is a simple one:

https://cycling74.com/forums/limit-of-the-function

ricky's icon

Part curious, part want to pass +9 args to patcher when scripting.

Roman Thilenius's icon

"my" method should work with scripting too (except when there is a space or slash character directly beside the quotes or similar weird things.)

script newdefault 188 152 50 mypatch "100 200 300 400 set 5 write frgb 20 20 20"

ricky's icon

Ah, interesting! Will give that a whirl! Thanks.