Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Line Code too long ... (?)

Former Member
0 Likes
1,717

Hello Guys,

I have a  code line, longer than 73 characters allowed by the standard and I can not break it with a line feed. My code compiles and runs well.

My line (90 char.) is in that way:

  lo_tools->zif_xx_xxxxxxx_yyyyyyy~o_xx_xxxxx_yyyy->o_xxx->select_s_from_yyyyyyyyyyyy(

Will I have any problems in a long term for any reasons with this kind of syntax (longer that 73 char.) ?

Thank you in advance.

Rachid.

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,626

Line size > 72 was introduced with release 4.7, if I remember correctly.

If you are not planning to downport your code to 4.6D or lower, it should be fine.


Thomas

4 REPLIES 4
Read only

Former Member
0 Likes
1,626

Hi Rachid,

In SE38, please set WordWrap setting to "Disable Word Wrap" and then check.

If program is not showing an error then it will execute properly.

Thanks,

Ritesh

Read only

ThomasZloch
Active Contributor
0 Likes
1,627

Line size > 72 was introduced with release 4.7, if I remember correctly.

If you are not planning to downport your code to 4.6D or lower, it should be fine.


Thomas

Read only

0 Likes
1,626

Hi Rachid,

In SE38, GOTO Utilities -> Setting and un-check "Downwards-Comp. Line Lngth(72)"

Check enclosed snap.

Thanks,

Ritesh

Read only

Former Member
0 Likes
1,626

Display Settings

Use

You can change the look of your code by specifying Display and Word Wrap settings.

Prerequisites

In the right-hand corner of the editor screen, choose the Options pushbutton (). In the Options dialog box, choose Display.