Search found 21 matches

by dBlicious
04 Apr 2013 22:45
Forum: Troubleshooting
Topic: MultiSlider Object Z bug [4.0.3 FIXED]
Replies: 5
Views: 1189

Re: MultiSlider Object Z bug

I ran into this a while back too. At first I thought my scripting was bad but confirmed the bug with a monitor for the slider's z. It is/was intermittent for me--you too?

-A
by dBlicious
09 Mar 2013 22:05
Forum: General Discussion
Topic: arraytostring?
Replies: 8
Views: 2732

Re: arraytostring?

I just realized I couldn't open my script either. :oops: This one should work better. It has the same max value limitation that Alex noted.
IntegersToString v2.jzml
integer to ascii array function
(3.31 KiB) Downloaded 186 times
by dBlicious
02 Mar 2013 02:36
Forum: General Discussion
Topic: arraytostring?
Replies: 8
Views: 2732

Re: arraytostring?

Nice script, Alex. Yeah, Lemur seems to have some limitations that are not too difficult to run up against.
by dBlicious
25 Feb 2013 19:13
Forum: General Discussion
Topic: arraytostring?
Replies: 8
Views: 2732

Re: arraytostring?

It's not obvious but arraytostring converts an array of ASCII codes to a string. For single-digit numbers you just need to add 48 to get the ASCII code. It's a little more complicated for numbers > 9. I wrote a function intToArray(n) that converts a number n with any number of digits to an array of ...
by dBlicious
18 Feb 2013 21:36
Forum: General Discussion
Topic: dynamic addresses for receiving OSC input?
Replies: 0
Views: 780

dynamic addresses for receiving OSC input?

I've managed to set up sending dynamic OSC messages using arraytostring() and oscout(). Is it possible to do something similar for incoming messages? From what I have seen so far, incoming messages must be hardcoded to an expression/variable or script (On OSC). Am I missing something? Anyone have ...
by dBlicious
14 Feb 2013 17:15
Forum: General Discussion
Topic: Dragging objects to Library Not working
Replies: 4
Views: 1240

Re: Dragging objects to Library Not working

I'm not sure why, but it is working now.
by dBlicious
09 Feb 2013 09:42
Forum: Troubleshooting
Topic: comparing strings
Replies: 3
Views: 773

Re: comparing strings

Thanks MM, I will check out your suggestions. Sorry for not being more detailed. I try to simplify the problem so it's easy to find and duplicate, but maybe I oversimplified. In any case, I appreciate your help!
by dBlicious
09 Feb 2013 05:15
Forum: Troubleshooting
Topic: comparing strings
Replies: 3
Views: 773

comparing strings

If I enter 'cat' == 'cat' in monitor value, I would expect to get 1, but instead the editor crashes. Same if I enter 'cat' != 'dog'. If i do the same inside a script, it doesn't crash, but I don't get a result. Is there another way to compare strings? Is this a bug?

Thanks,
A
by dBlicious
09 Feb 2013 03:46
Forum: General Discussion
Topic: hexidecimal object ID
Replies: 0
Views: 772

hexidecimal object ID

Just curious if the hex value returned by getobject(), getfirst(), etc. is useful in and of itself. Can any useful information about the object be obtained from it, or is it just a unique random ID that is created when the object is created? I get that it is used for stuff like getattribute(), just ...
by dBlicious
08 Feb 2013 06:39
Forum: General Discussion
Topic: Differentiate between zero (float) and null (or 0 int)
Replies: 1
Views: 680

Differentiate between zero (float) and null (or 0 int)

Is there any way to tell the difference between zero (float) and null, or at least 0 (int) and 0.0 (float)? I want to determine if an expression exists for an object. If I do a getexpression() for an expression that doesn't exist (say x in a container), it returns 0 (int), if it does exist then I ...