FOR loop formatting

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

FOR loop formatting

Postby pety » Thu Jan 14, 2016 8:57 am

When I select for loop in PHP snippet I receive a line like this:
Code: Select all
for ($i = 0; $i < $count; $i++) {}
.
I would like to have this formatting:
Code: Select all
for ($i = 0; $i < $count; $i++)
{
   // code in block
}


Thanks in advance !
pety
 
Posts: 187
Joined: Fri Mar 02, 2012 7:17 pm

Re: FOR loop formatting

Postby Aivars » Thu Jan 14, 2016 6:03 pm

Click menu PHP -> PHP -> Edit PHP Snippets. Select "for" and click Edit. Change it as you wish.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2456
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: FOR loop formatting

Postby pety » Thu Jan 14, 2016 7:36 pm

Thanks !
pety
 
Posts: 187
Joined: Fri Mar 02, 2012 7:17 pm


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: Bing [Bot] and 15 guests

cron