How to Format GAUSS Code

Is there an easy way in GAUSS to format my code? For example, I would like to change this:

for i(1, nobs, 1);
x = varinit[.,i];
if x < 0;
continue;
endif;
endfor;

to:

for i(1, nobs, 1);
   x = varinit[.,i];
   if x < 0;
      continue;
   endif;
endfor;

1 Answer



0



You can auto-indent GAUSS code by either right-clicking and selecting 'Format text', or by using the CTRL+i hotkey.

If you select some text, then only the highlighted lines will be indented. If nothing is highlighted, GAUSS will indent the entire file for you.

aptech

1,773

Your Answer

1 Answer

0

You can auto-indent GAUSS code by either right-clicking and selecting 'Format text', or by using the CTRL+i hotkey.

If you select some text, then only the highlighted lines will be indented. If nothing is highlighted, GAUSS will indent the entire file for you.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.