Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
DarkMere
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location:
Posted: 26th Jun 2004 16:53
Hi,

Can anyone tell me how the auto indent function works in DarkEdit? I have it enabled in the options but it still does not auto indent the code.

Thanks in advance
DarkMere
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 26th Jun 2004 17:06 Edited at: 26th Jun 2004 17:07
Auto indent in DarkEdit (and several other IDEs) means:
Indent a line (using 3 space characters for example) type something and hit return
Now in the next line the caret won't be at the 1st column of the mew line but at the 3rd.



Play Nice! Play Basic!
DarkMere
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location:
Posted: 26th Jun 2004 18:14 Edited at: 26th Jun 2004 18:16
Thank you Empty for your quick reply. Its clear to me how this works now. The problem was, I was expecting it to be more sophisticated than it is. I used to program in GFA Basic on the Atari ST. If you wrote something like...

for n=1 to 10
...for m = 1 to 20
......print m;" ";n
...next m
next n

You never had to use the back space to remove the indent, nor did you have to use tab to place it, it did it all for you. I was expecting the same

Thanks again
DarkMere
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 26th Jun 2004 18:20
Quote: "I used to program in GFA Basic on the Atari ST"

Ah memories.
Yeah, the GFA Basic Editor was very cool. Syntax check while typing, case correction, keyword sensitive indents etc.

Play Nice! Play Basic!

Login to post a reply

Server time is: 2025-05-24 19:44:00
Your offset time is: 2025-05-24 19:44:00