Max 5 XP – Bug? New behavior? [comment] and numbered arguments

Dec 21, 2008 at 5:54pm

Max 5 XP – Bug? New behavior? [comment] and numbered arguments

Is the following a bug or an intentional change from Max 4 to Max 5?

Environment: Max 5.05 on XP

Problem: Numbered arguments in Comments do not work

Situation:

1. See attached patches as an example
2. child_patch.maxpat: Place a [comment] object. Enter #1 as the content of [comment]
3. parent_patch.maxpat: Instantiate child_patch.maxpat as a subpatch or bpatch. Make the first argument “the_test”.

Expected Results: #1 in [comment] in child_patch.maxpat will now display “the_test” (this is the behavior in Max 4)

Actual Results: #1 in [comment] in child_patch.maxpat remains #1

CHILD PATCH (child_patch.maxpat)

{
“patcher” : {
“fileversion” : 1,
“rect” : [ 334.0, 107.0, 640.0, 506.0 ],
“bglocked” : 0,
“defrect” : [ 334.0, 107.0, 640.0, 506.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 9.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“metadata” : [ ],
“boxes” : [ {
"box" : {
"maxclass" : "comment",
"text" : "#1",
"numoutlets" : 0,
"fontname" : "Arial",
"id" : "obj-1",
"fontsize" : 9.0,
"numinlets" : 1,
"patching_rect" : [ 223.0, 230.0, 150.0, 17.0 ]
}

}
],
“lines” : [ ]
}

}

PARENT PATCH (parent_patch.maxpat)

{
“patcher” : {
“fileversion” : 1,
“rect” : [ 341.0, 132.0, 640.0, 506.0 ],
“bglocked” : 0,
“defrect” : [ 341.0, 132.0, 640.0, 506.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 9.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“metadata” : [ ],
“boxes” : [ {
"box" : {
"maxclass" : "bpatcher",
"args" : [ "the_test" ],
“numoutlets” : 0,
“offset” : [ -167.0, -172.0 ],
“id” : “obj-6″,
“border” : 1,
“numinlets” : 0,
“name” : “child_patch.maxpat”,
“patching_rect” : [ 303.0, 212.0, 128.0, 128.0 ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “child_patch the_test”,
“numoutlets” : 0,
“fontname” : “Arial”,
“id” : “obj-5″,
“fontsize” : 9.0,
“numinlets” : 0,
“patching_rect” : [ 208.0, 149.0, 91.0, 17.0 ]
}

}
],
“lines” : [ ]
}

}

#41430
Dec 21, 2008 at 6:04pm

#147510
Dec 21, 2008 at 7:22pm

Ok, thanks.

Adam

#147511

You must be logged in to reply to this topic.