I want to change source formatting of if statements from the top example to the bottom example shown. I want the brackets to align with the if, i.e. same column..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-15 2:00 PM
if (SW1Pressed_F && (!SW1ActionTaken_F))
{
DesiredSpeed = 10;
DesiredDirection = LEFT;
}
if (SW1Pressed_F && (!SW1ActionTaken_F))
{
DesiredSpeed = 10;
DesiredDirection = LEFT;
}
Solved! Go to Solution.
This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-21 4:29 AM
Great!
If the problem is resolved, please mark this thread as answered by selecting Select as best under your preferred answer. This will help other users find that answer faster.
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

- « Previous
-
- 1
- 2
- Next »