Jump to content

What does i stand for in i - - ?


webmanz

Recommended Posts

On 5/6/2018 at 1:10 PM, administrator said:

Hi,

i is just a variable to hold information. In this case, it is holding the count.

Stef

Could we have used any letter besides "i" and still it work?

example:

for ( var   t   =  10  ;    t   > 10   ;  t -  -   )

Link to comment
Share on other sites

  • 2 weeks later...
5 hours ago, administrator said:

Sure.

for ( var   i   =  10  ;    i   > = 10   ;  i -  -   )

Why doesn't the  i - -

end in a semi-colon then parenthesis ?

i.e. like this:

i - - ; )

 

 

Edited by webmanz
Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...