[substitute] subtelties

vichug's icon
Max Patch
Copy patch and select New From Clipboard in Max.

looking at the omx.comp~.maxhelp, i stumbled across a strange [substitute] behaviour
old fashion maxhelps sometimes have a kind of poetry in them

broc's icon

Which subtlety?
Your object [substitute part  ] has 2 spaces at the end.
So the second space is used as replace value instead of default 0.

vichug's icon

well i think it was subtle :x plus i wasn't able to actually create a [substitute part ] with 2 spaces at the end. Whenever i type it in an object box it is reduced to no space at all. Had to copy past it from the omx.comp helpfile. it's nothing much really

vichug's icon

i mean, visually looking at this helpfile and trying to recreate the same behaviour, took me a while to understand why i had a 0 instead of a blank space