The Daily Click ::. Forums ::. Non-Klik Coding Help ::. A very, very, very newbish question.
 

Post Reply  Post Oekaki 
 

Posted By Message

mr.red.face



Registered
  18/01/2003
Points
  134
4th February, 2007 at 09:25:35 -

Anyone know the String command to make a new line in MMF2?

Tried and failed:
\n ex: "test"+"\n"+"Test" and "test\nTest"

"new" + Chr(10) + Chr(13) + "line"

no luck...

HELP please



 
n/a

LIJI

Flava's Smarter Twin

Registered
  29/08/2006
Points
  2032

I like penguins
4th February, 2007 at 09:31:03 -

do Ctrl+Enter in a string ("")

 
Service Unavailable

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
4th February, 2007 at 09:32:21 -

There be TWO ways, young master!

The FIRST WAY (Arr! etc) be to press Ctrl+Enter in ye olde Expression Editor, which shall forcibly make ye a new line without closing ye editor!

And the SECOND, MORE FEAR-INSPIRING WAY be to type "Newline$", which shall verily act like \n!


Now, where be my pills, scalliwag!? <hic!>


EDIT: Darn, ye beat me to it, LIJI. Darn ye goggly eyes!

Image Edited by the Author.

 
191 / 9999 * 7 + 191 * 7

mr.red.face



Registered
  18/01/2003
Points
  134
4th February, 2007 at 09:33:42 -

Success, thank you both

 
n/a

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
4th February, 2007 at 15:45:46 -

Those are methods YES! But THIS method is the most DOOMFUL and IMPRACTICAL OF ALL!


Make a string object, and edit it's initial string to just have a linebreak. THEN name it "linebreak".

THEN you just need to insert text("linebreak")


0_o

_


Nah, use the ctrl+enter method.

 
n/a

Hempuli

Crazy?

Registered
  09/01/2005
Points
  7968

Game of the Week WinnerGOTM JULY - 2009 - 2ND PLACE!GOTM AUGUST- 2009 - 2ND PLACE!GOTM OCTOBER 2009 - WINNERI am an April FoolGame of the Week Winner - MARCH 2010!-
9th February, 2007 at 18:37:45 -

Lol, bibby.

 
No sig for you.

JFrudy



Registered
  30/11/2006
Points
  103
22nd February, 2007 at 00:10:29 -

haha bibin, sounds like something i'd do

 
n/a

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
24th February, 2007 at 00:33:16 -

Prize get!

Newline$ = Brand new lines for cash!

 
n/a

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
9th April, 2007 at 19:18:02 -

I remember the days when newline$ wasn't a member in my society of braincells.. Those were the days.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
10th April, 2007 at 06:30:38 -

Nice nickname, Argh.

 
Old member (~2004-2007).

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14450

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
10th April, 2007 at 20:51:08 -

wow, i was asking people only the other day about this, I worked out CTRL+enter eventually but newline$ didn't seem to work for me.

i was using the text blitter, i'm not sure if that is different in any way.

 
.

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
11th April, 2007 at 18:01:37 -

I've had problems with newline$ in the past aswell.. First time I tried it with MMF2 it worked perfectly however.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
15th April, 2007 at 20:53:57 -

Lol, I tend to do things about as doomful as bibin's method. I think my code is full of stuff like that, by the time I get about 20 of events stuffed with those things, I close the project and never open it again .


Anyway, sounds like something I should add to my Click FAQ, not that anyone reads it.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
15th April, 2007 at 20:54:01 -

Lol, I tend to do things about as doomful as bibin's method. I think my code is full of stuff like that, by the time I get about 20 of events stuffed with those things, I close the project and never open it again .


Anyway, sounds like something I should add to my Click FAQ, not that anyone reads it.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image
   

Post Reply



 



Advertisement

Worth A Click