Hallo, daniel hat gesagt: // daniel wrote:
im trying to figure out how to store/change values in unique tables/arrays and tabread them.
In you patch, you use $0 inside a bessage box, which is like using 0 in a message box. All $-variables work different when used in messages and when used as object arguments. Read the html-documentation for the details.
The solution in your case actually is very simple: Use a sender object to write to the table: [s $0-readme]. Or [tabwrite $0-readme]. Or (more complicated, but also more flexible):
[symbol $0-readme]
|
[makefilename pd-%s]
|
[pack 0 0 0 s] | [; $4 $1 $2 $3(
You also should trigger your floats "value1-4" correctly by using a [t b f] after each of them (but the first). Otherwise it's totally undefined if you first send the "bang" or the float value to the pack construct.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41