Line extension character?

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
Gordon_h
Posts: 55
Joined: Fri Apr 06, 2007 8:55 pm
Location: Boulder, Colorado

Line extension character?

Post by Gordon_h » Wed Nov 26, 2008 12:10 am

I have searched the help and forum, but can't find any reference to a "line extension" character. In some Basics, the underscore is used to allow a long line to broken in two. Is there a way to do this in SFB?

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Nov 26, 2008 8:20 am

With the exception of the pre-processor, Swordfish does not use (or need) the line continuation character. For example,

Code: Select all

sub MySub(ValueA as byte,
                 ValueB as byte)

end sub
will compile fine.

Gordon_h
Posts: 55
Joined: Fri Apr 06, 2007 8:55 pm
Location: Boulder, Colorado

Post by Gordon_h » Wed Nov 26, 2008 9:52 pm

Got it. Should have been obvious :oops:

Post Reply