We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › how to make {'s and }'s
Page Index Toggle Pages: 1
how to make {'s and }'s (Read 886 times)
how to make {'s and }'s
Jul 8th, 2007, 4:53pm
 
how do i hotkey } and { on my macbook?

Slm
Re: how to make {'s and }'s
Reply #1 - Jul 10th, 2007, 3:16pm
 
PLEASE?? someone?
Re: how to make {'s and }'s
Reply #2 - Jul 10th, 2007, 4:01pm
 
windows user here.. cant help
Re: how to make {'s and }'s
Reply #3 - Jul 10th, 2007, 7:22pm
 
Code:

void setup () {
size(100,100);
}
void draw() {
}
void keyReleased ()
{
switch ( key )
{
case '{':
println("{");
break;
case '}':
println("}");
break;
default:
//println("default: "+key);
}
}
Re: how to make {'s and }'s
Reply #4 - Jul 14th, 2007, 12:51pm
 
where do i save this?

Slm
Re: how to make {'s and }'s
Reply #5 - Jul 14th, 2007, 8:15pm
 
what do you mean save? copy-paste into a new processing sketch, press run and hit { or } to see if it works .. then keyReleased() for your project.

F
Page Index Toggle Pages: 1