FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » When do I use {}?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: When do I use {}? [message #169551 is a reply to message #169534] Fri, 17 September 2010 16:40 Go to previous messageGo to previous message
Marious Barrier is currently offline  Marious Barrier
Messages: 25
Registered: September 2010
Karma:
Junior Member
On 09/17/2010 05:53 AM, Captain Paralytic wrote:
> On 17 Sep, 03:57, Marious Barrier<marious.barr...@gmail.com> wrote:
>>> I have code samples where some variables are wrapped in {} (curly
>>> brackets.) My problem is that I can find anything in the documentation
>>> when they can be uses.
>>
>>> Can someone tell me or point me to some documentation??
>>
>>> Thanks...
>>
>>> Bruce
>> Curly brakets just wrap code... if they are after a control statement...
>> like an if, a do, a while, an each, a foreach, switch or others... they
>> determine the code which is going to be executed when necessary.
>>
>> On 09/16/2010 10:13 PM, bruceaj wrote:
>
> Please do not top post (top posting fixed)

Mistake... how many times more have I done it?

> Also your answer is not the correct answer to the OP's question. See
> Jerry's correct answer later in this thread.

Not the correct because I did not read correctly... however it still is
good to know lol.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OOP, classes and databases
Next Topic: @sessionstart()
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 19:52:24 GMT 2024

Total time taken to generate the page: 0.04771 seconds