I was trying to reformat
Code: Select all
If (Right(Directory$, 1) = "\") : Directory$ = Left(Directory$, Len(Directory$)-1) : EndIf
Code: Select all
If (Right(Directory$, 1) = "\")
Directory$ = Left(Directory$, Len(Directory$)-1)
EndIf
Steps to reproduce (5.10 Beta4 (x86)):
1. select for example the spaces and the colon in the first code section (should work with any other piece of code).
2. press the <Enter> or <Return> key
3. the result depends whether there are spaces at the beginning of the line or not (just my observation)
Results from my point of view ...
1. with spaces at the beginning of the line -> not working properly:
2. without spaces -> working correctly
I think it's not a big problem if it remains inside but I'm curious how you see these things.
TIA for some feedback.
Regards Andreas