Not enough memory to indent file
Author |
Message |
TipsyCzar
|
Posted: Fri Nov 25, 2016 1:40 pm Post subject: Not enough memory to indent file |
|
|
What is it you are trying to achieve?
I'm trying to use the auto indent (F2)
What is the problem you are having?
I keep getting the error 'Not enough memory to indent file'. I assume it's a RAM problem, but I have no idea what to do about it.
Please specify what version of Turing you are using
4.1.1 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Fri Nov 25, 2016 8:23 pm Post subject: RE:Not enough memory to indent file |
|
|
If you have a single really, really long line Turing won't be able to indent it. You'll have to manually break it down into smaller lines first. If that's not the case, then your file must be both quite large and very poorly indented to begin with. In this case the solution is to A) Manually indent your code while you write it and B) break up the program into multiple files. Turing doesn't like giant indent jobs.
Ideally you should be indenting as you go. There is no reason not to. |
|
|
|
|
|
|
|