Liberty BASIC Community Forum
« Bug: DO/LOOP not formatted by auto-format »

Welcome Guest. Please Login or Register.
Sep 19th, 2017, 1:56pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Bug: DO/LOOP not formatted by auto-format  (Read 460 times)
Chris Iverson
Administrator
ImageImageImageImageImage


member is offline

Avatar

20% Cooler


Homepage PM

Gender: Male
Posts: 2278
xx Bug: DO/LOOP not formatted by auto-format
« Thread started on: Jan 25th, 2014, 01:58am »

When you have something like this:

Code:
[start]
do while a < 10
print a
a = a + 1
loop 



It's expected that it's treated like other loop constructs by the source formatter, and adjusted like this:

Code:
[start]
    do while a < 10
        print a
        a = a + 1
    loop 


Instead, it gets adjusted like this:

Code:
[start]
    do while a < 10
    print a
    a = a + 1
    loop 
User IP Logged

"Do you believe in destiny?" - Pyrrha Nikos, RWBY
"With what wish will your Soul Gem shine?" - Kyubey, Puella Magi Madoka Magica
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls