Why is it Application::i'Exit'() ?

Discussion about the open-source Phalanger [?] project.

Why is it Application::i'Exit'() ?

Postby bluephoenixalpha@codeplex » November 12th, 2006, 1:58 am

I'm doing a test WinForm application and am curious as to why it is Application::Run() but then Application::i'Exit'() instead of Application::Exit()? What does the i mean, and what are the single quotes for?

Thanks.
bluephoenixalpha@codeplex
 
Posts: 5
Joined: January 7th, 2012, 8:57 pm

RE: Why is it Application::i'Exit'() ?

Postby tomasp » November 13th, 2006, 12:27 am

Hi, i'Something' is a special way to write identifier that can't be used direcly because it is PHP keyword. In this case exit is a keyword so you have to write i'Keyword'.
tomasp
 
Posts: 46
Joined: January 7th, 2012, 8:37 pm

RE: Why is it Application::i'Exit'() ?

Postby bluephoenixalpha@codeplex » November 14th, 2006, 3:25 am

hrm, that's interesting. Thank you for the answer!
bluephoenixalpha@codeplex
 
Posts: 5
Joined: January 7th, 2012, 8:57 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 46 guests

User Control Panel

Login

Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 46 guests