Oxygen Basic
Programming => Bugs & Feature Requests => Topic started by: bugmagnet on April 20, 2013, 06:33:12 AM
-
Is there a pretty printer / re-indenter / formatter tool for OB anywhere? Or do I have to write it?
There's a lot of semi-readable code in here.
Kind regards,
Bugmagnet
-
There's a lot of semi-readable code in here.
semi-readable ???
you probably mean - code which you don't understand properly ...
or something like that ?
-
semi-readable ???
you probably mean - code which you don't understand properly ...
or something like that ?
Indentation makes it easier for me to understand the intent of the code. It's a weakness I have.
Bugmagnet
-
Is there a pretty printer / re-indenter / formatter tool for OB anywhere? Or do I have to write it?
I have since then found the indenter.o2bas file in OxygenBasic\tools\CodeMan
Apologies,
bugmagnet
-
Hi Bruce,
That code, if I remember rightly, needs a thorough rework. Indented code blocks is very good but often gets out of control on long blocks. Haven't found the ideal solution yet,
Charles