ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2010-06-14T08:24:05+02:00 https://brainmodular.org/forums/app.php/feed/topic/2234 2010-06-14T08:24:05+02:00 2010-06-14T08:24:05+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14231#p14231 <![CDATA[comma text and string const]]>

Well spotted, Olovier! :)

Statistics: Posted by bsork — 14 Jun 2010, 08:24


]]>
2010-06-11T16:59:36+02:00 2010-06-11T16:59:36+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14201#p14201 <![CDATA[comma text and string const]]>
thank ya so much for the solving and explain!

Statistics: Posted by 23fx23 — 11 Jun 2010, 16:59


]]>
2010-06-11T15:41:47+02:00 2010-06-11T15:41:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14198#p14198 <![CDATA[comma text and string const]]>
[c] comma_0 := createParam('commain',PtTextField);
setisOutput(comma_0,false);
comma := createParam('comma',PtTextField);
setisOutput(comma,false);
NextPage:= createParam('NextPage',PtDataField);
setisOutput(NextPage,false);
PrevPage:= createParam('PrevPage',PtDataField);
setisOutput(PrevPage,false);
Reset := createParam('Reset',PtDataField);
setisOutput(Reset,false);
Mode := createParam('Mode',PtDataField);
setisOutput(Mode,false);
MSDWNZ := createParam('MSDWNZ',PtArray);
setisOutput(MsdwnZ,false);
setmin(msdwnZ,0); // instead of setmin(msdwn,0);
setmax(msdwnZ,1); // instead of setmin(msdwn,0);
[/c]

Don't forget that Parameter variables are in fact integers.
[c]comma_0 = 0
comma = 1
NextPage = 2
...
MsdwnZ=6
[/c]

at the concerned line if you enter Msdwn instead of MsdwnZ you set the parameter 0 instead of 6.

[c]setmin(msdwn,0);
// is equivalent to
setmin(0,0);
// which is equivalent to
setmin(comma_0,0);
[/c]

I hope you understand because it's tricky...

so you change the min/max values of comma_0, not on MsdwnZ
on text events min=1 and max=16384 (unicode values)
after your both misspelling lines the comma_0 min=0 and max=1.
So Usine can't affect this param properly and retry on each patch processing bloc.

Statistics: Posted by senso — 11 Jun 2010, 15:41


]]>
2010-06-10T21:20:50+02:00 2010-06-10T21:20:50+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14186#p14186 <![CDATA[comma text and string const]]>

Statistics: Posted by senso — 10 Jun 2010, 21:20


]]>
2010-06-08T07:55:17+02:00 2010-06-08T07:55:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14174#p14174 <![CDATA[comma text and string const]]>
i can't stand making errors i don't understand. hehe
I forgot to do the most obvious test: Copying the script into an empty patch. Well - it didn't help... But maybe you're on to something with the input 0 as visible thing? Or min/max?

Senso - any comments?

Statistics: Posted by bsork — 08 Jun 2010, 07:55


]]>
2010-06-07T23:36:35+02:00 2010-06-07T23:36:35+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14169#p14169 <![CDATA[comma text and string const]]>
usually got such infinite callbacks when input Min/max are wrong related to what's comming in, but that shouldn't apply on text ?..
I first felt it was related to when i tried to create some string constants, maybe that changed som text interpreting...
maybe need to reforce some min/max or i don't know.... what is stange is anyway i deleted those string constants, so on a fresh new open/compile ie on your computer, there should have no traces of that, unless it's save in the wkp or .pat....
mmmmmm something else..., but what? Arf... maybe some size set, or I notice that most usine modules use input0 as visibility, maybe i triggered something wrong related to that, don't know at all where to search anymore, standby for now...
anyway not drastic, just want to understand my error, i can't stand making errors i don't understand. hehe
so back to work..

Statistics: Posted by 23fx23 — 07 Jun 2010, 23:36


]]>
2010-06-07T22:47:31+02:00 2010-06-07T22:47:31+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14168#p14168 <![CDATA[comma text and string const]]>
Changing the data type of the first input made the callback behave ok, but changing type for the second instead was just as bad. I also tried to create a mini-script with only two ptTextField inputs in case there's a bug when that data type is used in the first input, but that one behaved well.

Deleting comments at the top didn't help either (remembering when years ago I spent quite some with because of some troublesome character in a C program at work). Changed some other things around a bit, but still the callbacks started every time something was connected to the first input.:(

Statistics: Posted by bsork — 07 Jun 2010, 22:47


]]>
2010-06-05T18:55:50+02:00 2010-06-05T18:55:50+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14141#p14141 <![CDATA[comma text and string const]]> Statistics: Posted by 23fx23 — 05 Jun 2010, 18:55


]]>
2010-06-05T14:03:29+02:00 2010-06-05T14:03:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14139#p14139 <![CDATA[comma text and string const]]> Statistics: Posted by bsork — 05 Jun 2010, 14:03


]]>
2010-06-05T05:34:12+02:00 2010-06-05T05:34:12+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14135#p14135 <![CDATA[comma text and string const]]> I could get rid of my pb by creating a new input, so that's cool, but I really can't understand and i hate that lol:
isn't it strange that, here are my booth input:
comma_0 := createParam('commain',PtTextField); setisOutput(comma_0,false);
comma := createParam('comma',PtTextField); setisOutput(comma,false);
now then if i wire my comma out of listbox on first, i see nothing on the script: [comma_0]
if i wire on second it shows: [comma] a,b,"c ok"
MMMMMMMMmmm

also I notice that if i remove the first input, making 'comma' being first and only, it doesn't work anymore, as if my first input was somehow corrupt.

bsork, senso help! any explain? now I start to put somes viruses on my inputs arf:D

Statistics: Posted by 23fx23 — 05 Jun 2010, 05:34


]]>
2010-06-05T04:41:14+02:00 2010-06-05T04:41:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14133#p14133 <![CDATA[comma text and string const]]>
I made a script that has a commaIn, and now the comma don't work anymore, the script ignore it.

if i unwire my comma and type ie A,B,C, direcly on the script, it works and catch comma change.
if i copy the same exact text in a ptTextfield or reproduce in listBox , it doesn't work anymore...It was working previously I have no idea
where comes the pb from. Iwent too fast on changing manypart of the script so i couldn't debug,
but i have the feeling it started not working when i set a string constant using ie:
Module_name : 'cell';
the console shown me some unicode asking or well i don't remember exactly but shown me an error, but then it compiled.

could it be somehow related or any ideas? arf turning around from two hours..

Statistics: Posted by 23fx23 — 05 Jun 2010, 04:41


]]>
BrainModular BrainModular Users Forum 2010-06-14T08:24:05+02:00 https://brainmodular.org/forums/app.php/feed/topic/2234 2010-06-14T08:24:05+02:00 2010-06-14T08:24:05+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14231#p14231 <![CDATA[comma text and string const]]>

Well spotted, Olovier! :)

Statistics: Posted by bsork — 14 Jun 2010, 08:24


]]>
2010-06-11T16:59:36+02:00 2010-06-11T16:59:36+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14201#p14201 <![CDATA[comma text and string const]]>
thank ya so much for the solving and explain!

Statistics: Posted by 23fx23 — 11 Jun 2010, 16:59


]]>
2010-06-11T15:41:47+02:00 2010-06-11T15:41:47+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14198#p14198 <![CDATA[comma text and string const]]>
[c] comma_0 := createParam('commain',PtTextField);
setisOutput(comma_0,false);
comma := createParam('comma',PtTextField);
setisOutput(comma,false);
NextPage:= createParam('NextPage',PtDataField);
setisOutput(NextPage,false);
PrevPage:= createParam('PrevPage',PtDataField);
setisOutput(PrevPage,false);
Reset := createParam('Reset',PtDataField);
setisOutput(Reset,false);
Mode := createParam('Mode',PtDataField);
setisOutput(Mode,false);
MSDWNZ := createParam('MSDWNZ',PtArray);
setisOutput(MsdwnZ,false);
setmin(msdwnZ,0); // instead of setmin(msdwn,0);
setmax(msdwnZ,1); // instead of setmin(msdwn,0);
[/c]

Don't forget that Parameter variables are in fact integers.
[c]comma_0 = 0
comma = 1
NextPage = 2
...
MsdwnZ=6
[/c]

at the concerned line if you enter Msdwn instead of MsdwnZ you set the parameter 0 instead of 6.

[c]setmin(msdwn,0);
// is equivalent to
setmin(0,0);
// which is equivalent to
setmin(comma_0,0);
[/c]

I hope you understand because it's tricky...

so you change the min/max values of comma_0, not on MsdwnZ
on text events min=1 and max=16384 (unicode values)
after your both misspelling lines the comma_0 min=0 and max=1.
So Usine can't affect this param properly and retry on each patch processing bloc.

Statistics: Posted by senso — 11 Jun 2010, 15:41


]]>
2010-06-10T21:20:50+02:00 2010-06-10T21:20:50+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14186#p14186 <![CDATA[comma text and string const]]>

Statistics: Posted by senso — 10 Jun 2010, 21:20


]]>
2010-06-08T07:55:17+02:00 2010-06-08T07:55:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14174#p14174 <![CDATA[comma text and string const]]>
i can't stand making errors i don't understand. hehe
I forgot to do the most obvious test: Copying the script into an empty patch. Well - it didn't help... But maybe you're on to something with the input 0 as visible thing? Or min/max?

Senso - any comments?

Statistics: Posted by bsork — 08 Jun 2010, 07:55


]]>
2010-06-07T23:36:35+02:00 2010-06-07T23:36:35+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14169#p14169 <![CDATA[comma text and string const]]>
usually got such infinite callbacks when input Min/max are wrong related to what's comming in, but that shouldn't apply on text ?..
I first felt it was related to when i tried to create some string constants, maybe that changed som text interpreting...
maybe need to reforce some min/max or i don't know.... what is stange is anyway i deleted those string constants, so on a fresh new open/compile ie on your computer, there should have no traces of that, unless it's save in the wkp or .pat....
mmmmmm something else..., but what? Arf... maybe some size set, or I notice that most usine modules use input0 as visibility, maybe i triggered something wrong related to that, don't know at all where to search anymore, standby for now...
anyway not drastic, just want to understand my error, i can't stand making errors i don't understand. hehe
so back to work..

Statistics: Posted by 23fx23 — 07 Jun 2010, 23:36


]]>
2010-06-07T22:47:31+02:00 2010-06-07T22:47:31+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14168#p14168 <![CDATA[comma text and string const]]>
Changing the data type of the first input made the callback behave ok, but changing type for the second instead was just as bad. I also tried to create a mini-script with only two ptTextField inputs in case there's a bug when that data type is used in the first input, but that one behaved well.

Deleting comments at the top didn't help either (remembering when years ago I spent quite some with because of some troublesome character in a C program at work). Changed some other things around a bit, but still the callbacks started every time something was connected to the first input.:(

Statistics: Posted by bsork — 07 Jun 2010, 22:47


]]>
2010-06-05T18:55:50+02:00 2010-06-05T18:55:50+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14141#p14141 <![CDATA[comma text and string const]]> Statistics: Posted by 23fx23 — 05 Jun 2010, 18:55


]]>
2010-06-05T14:03:29+02:00 2010-06-05T14:03:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14139#p14139 <![CDATA[comma text and string const]]> Statistics: Posted by bsork — 05 Jun 2010, 14:03


]]>
2010-06-05T05:34:12+02:00 2010-06-05T05:34:12+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14135#p14135 <![CDATA[comma text and string const]]> I could get rid of my pb by creating a new input, so that's cool, but I really can't understand and i hate that lol:
isn't it strange that, here are my booth input:
comma_0 := createParam('commain',PtTextField); setisOutput(comma_0,false);
comma := createParam('comma',PtTextField); setisOutput(comma,false);
now then if i wire my comma out of listbox on first, i see nothing on the script: [comma_0]
if i wire on second it shows: [comma] a,b,"c ok"
MMMMMMMMmmm

also I notice that if i remove the first input, making 'comma' being first and only, it doesn't work anymore, as if my first input was somehow corrupt.

bsork, senso help! any explain? now I start to put somes viruses on my inputs arf:D

Statistics: Posted by 23fx23 — 05 Jun 2010, 05:34


]]>
2010-06-05T04:41:14+02:00 2010-06-05T04:41:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=2234&p=14133#p14133 <![CDATA[comma text and string const]]>
I made a script that has a commaIn, and now the comma don't work anymore, the script ignore it.

if i unwire my comma and type ie A,B,C, direcly on the script, it works and catch comma change.
if i copy the same exact text in a ptTextfield or reproduce in listBox , it doesn't work anymore...It was working previously I have no idea
where comes the pb from. Iwent too fast on changing manypart of the script so i couldn't debug,
but i have the feeling it started not working when i set a string constant using ie:
Module_name : 'cell';
the console shown me some unicode asking or well i don't remember exactly but shown me an error, but then it compiled.

could it be somehow related or any ideas? arf turning around from two hours..

Statistics: Posted by 23fx23 — 05 Jun 2010, 04:41


]]>