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,323

Your Answer


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.

Try GAUSS for 30 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy | Sitemap