From: Stefano Crocco Date: 2008-02-16T06:55:35+09:00 Subject: Re: syntax problem: @var=="v" ? { ... } : { ... } Alle Friday 15 February 2008, Luca Scaljery ha scritto: > thnx, that works, but what if I want to do 2 or more actions/statements > for each options ? > > @var == "v" ? P("V");do_something("V") : ...... > > suggestions ? In this case, I'd use a standard if: if @var == "v" p "V" do_something else do_something_else end Stefano