The Daily Click ::. Forums ::. Klik Coding Help ::. Text Display question (probably an easy one)
 

Post Reply  Post Oekaki 
 

Posted By Message

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
18th November, 2006 at 07:23:35 -

Hey I have a most likely easy question for you guys. What object would you use when you want text messages to display one letter at a time at a certain speed? Y'know, like how the messages in Dragon Quest and a ton of others work.

Thank you

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
18th November, 2006 at 07:37:12 -

The Left$() function.

* Always
- String: Set alterable string to Left$("string to display", value("Counter"))
- Add 1 to Counter

Image Edited by the Author.

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
18th November, 2006 at 21:02:44 -

Oh snap! I've been using Left$, Right$, and Mid$ forever and I never thought of that. Thanks buddy!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
19th November, 2006 at 21:35:51 -

now this is gonna sound really dumb but was if left$() etc do?

 
n/a

Deleted User
19th November, 2006 at 21:58:15 -

left$() gets the given number of characters from the left of a string!

 

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
21st November, 2006 at 21:55:55 -

Yeah, you put it Left$, then the string you'll use, and then the number of spaces to use. For example:

Left$("NOVEMBER",3) = "NOV"

Right is the same, only from the end going backwards. Mid$ is the really good one though, you put the string, how many spaces to the right, and then how big the section of the string is you want to compare / get / etc:

Mid$("NOVEMBER",4,2) = "EM"

Although now that I think of it, I think MMF1.5 counts "zero" as being first and not 1. Oh well, it's still useful in places.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

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!
22nd November, 2006 at 03:24:50 -

Actually, almost any programming language is zero-based. So you'd better get used to it.

 
Old member (~2004-2007).

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
22nd November, 2006 at 21:27:13 -

Yes, I know but when I'm talking about letters in a word I say the first letter, not the zeroth

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
24th November, 2006 at 21:49:12 -

thx del

 
n/a

Windybeard Games



Registered
  14/04/2005
Points
  219

You've Been Circy'd!VIP MemberCandy Cane
24th November, 2006 at 21:49:13 -

thx del

 
n/a
   

Post Reply



 



Advertisement

Worth A Click