September 24, 2021, 09:13:19

Author Topic: splitting a line over 2 lines in the standard editor?  (Read 589 times)

Offline JBR

  • Full Member
  • ***
  • Posts: 142
splitting a line over 2 lines in the standard editor?
« on: March 14, 2021, 18:48:07 »
Hi,

I know this can be done with BMax.

I have a rather long if statement and would like to make it take 2 shorter lines?

Jim

Offline Zeotrope

  • Jr. Member
  • **
  • Posts: 27
Re: splitting a line over 2 lines in the standard editor?
« Reply #1 on: March 16, 2021, 22:10:41 »
Are you using...

Code: [Select]
if x = 1

  Code Stuff

endif

??

Offline Henri

  • Sr. Member
  • ****
  • Posts: 353
Re: splitting a line over 2 lines in the standard editor?
« Reply #2 on: March 17, 2021, 10:21:20 »
Hi,

you can split lines in Blitzmax like:
Code: BlitzMax
  1. Local i:Int = 5
  2.  
  3. If i = 5 ..
  4. And i > 0 ..
  5. And i < 10 ..
  6. Then Print "Condition is true" ..
  7. Else Print "Condition is false"
  8.  

-Henri
- Got 01100011 problems, but the bit ain't 00000001

Offline Derron

  • Hero Member
  • *****
  • Posts: 3651
Re: splitting a line over 2 lines in the standard editor?
« Reply #3 on: March 17, 2021, 10:58:12 »
Hi,

you can split lines in Blitzmax [...]

They asked in the Blitz2D, BlitzPlus, Blitz3D section - so I assume wants to know if it is possible there too (like in BlitzMax).


bye
Ron

Offline Henri

  • Sr. Member
  • ****
  • Posts: 353
Re: splitting a line over 2 lines in the standard editor?
« Reply #4 on: March 17, 2021, 12:08:50 »
I just read the question :-)

-Henri
- Got 01100011 problems, but the bit ain't 00000001

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal