Like the title says...I'd like to generate the dollar sign in a message, in a similar way you can use [addcomma( which will add a comma in a message. Is there a way to do that? For example, something like this:
[10( | [until] | [f ]x[+ 1] | [t f b]________ | [adddollar( [add2 $1( / | / | / [ ( <- this is an empty message
So in the empty message I can create the following: $1 $2 $3 etc.
Of course this "adddollar" is fiction as it produces this error: Bad arguments for message 'adddollar' to object 'message' But is there a way to do this?
On 07/27/2015 05:33 PM, Alexandros Drymonitis wrote:
Like the title says...I'd like to generate the dollar sign in a message, in a similar way you can use [addcomma( which will add a comma in a message. Is there a way to do that? For example, something like this:
[10( | [until] | [f ]x[+ 1] | [t f b]________ | [adddollar( [add2 $1( / | / | / [ ( <- this is an empty message
So in the empty message I can create the following: $1 $2 $3 etc.
Of course this "adddollar" is fiction as it produces this error: Bad arguments for message 'adddollar' to object 'message' But is there a way to do this?
I like this idea. I will implement it for you, but I will also add a place to type a number so you choose different dollarsign arg numbers... done. Now I will sneak inside your computer and upgrade your version of Pd to add this functionality... done. Now I will log out... done.
Now try "adddollar 1", and you will see a $1 appear in the message box below.
-Jonathan
On 07/27/2015 11:50 PM, Jonathan Wilkes via Pd-list wrote:
I like this idea. I will implement it for you, but I will also add a place to type a number so you choose different dollarsign arg numbers... done. Now I will sneak inside your computer and upgrade your version of Pd to add this functionality... done. Now I will log out... done.
Now try "adddollar 1", and you will see a $1 appear in the message box below.
+1
lol, and thanks very much for this
gfmsdr IOhannes
On Mon, 2015-07-27 at 17:50 -0400, Jonathan Wilkes via Pd-list wrote:
On 07/27/2015 05:33 PM, Alexandros Drymonitis wrote:
...
Of course this "adddollar" is fiction as it produces this error: Bad arguments for message 'adddollar' to object 'message' But is there a way to do this?
I like this idea. I will implement it for you, but I will also add a place to type a number so you choose different dollarsign arg numbers... done. Now I will sneak inside your computer and upgrade your version of Pd to add this functionality... done. Now I will log out... done.
Now try "adddollar 1", and you will see a $1 appear in the message box below.
Hey sneaker! You seem to have logged into my computer, too! This is scary... :-)
Roman
Also "adddollsym" of you want something compound. This is demonstrated in a sub-patch in the help window for message boxes.
cheers Miller
On Tue, Jul 28, 2015 at 12:13:42AM +0200, Roman Haefeli wrote:
On Mon, 2015-07-27 at 17:50 -0400, Jonathan Wilkes via Pd-list wrote:
On 07/27/2015 05:33 PM, Alexandros Drymonitis wrote:
...
Of course this "adddollar" is fiction as it produces this error: Bad arguments for message 'adddollar' to object 'message' But is there a way to do this?
I like this idea. I will implement it for you, but I will also add a place to type a number so you choose different dollarsign arg numbers... done. Now I will sneak inside your computer and upgrade your version of Pd to add this functionality... done. Now I will log out... done.
Now try "adddollar 1", and you will see a $1 appear in the message box below.
Hey sneaker! You seem to have logged into my computer, too! This is scary... :-)
Roman
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
is there something to stop the dollar increasing in relation to brazilian reais?
2015-07-27 20:21 GMT-03:00 i go bananas hard.off@gmail.com:
Is there something like addollar for my wallet? _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
For some reason I didn't even think to check the help patch of the message... quite embarrassing. Sorry list, should have thought twice..
On 07/28/2015 03:07 AM, Alexandros Drymonitis wrote:
For some reason I didn't even think to check the help patch of the message... quite embarrassing. Sorry list, should have thought twice..
All kidding aside, it's a very informative thread. You didn't consult
the docs but were able to surmise the method "adddollar" from scratch.
That tells me the message-building interface is consistent. And if
"adddollar" had a default float argument, it's likely you would have
figured out how it works without ever having to consult the list or help
patches. (I.e., you would have noticed that it creates "$0" by default,
then probably tried using different integers as args.)
Even more informative are the threads where a large number of users are
unable to surmise how to do something due to an inconsistent interface.
That's essentially free usability feedback. Unfortunately the free
software ethos has traditionally been to wholesale ignore that data,
even going so far as to deride it with the acronym "RTFM". Projects
that cherish (and mine) this free data-- like SDL-- flourish, while
others do not.
-Jonathan