The Daily Click ::. Forums ::. Klik Coding Help ::. [tgf] Text string with values from counters in'em ?
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
27th January, 2004 at 13:51:15 -

How's it done ? I tried doing something like:

+ bla
- change alterable string (of text object) to:

"The counter is now set to" + value("counter1")

...can't get it to work

 
n/a

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
27th January, 2004 at 13:57:44 -

You can't set a text string to a number, so convert it: The counter is now set to " + Str$( "Counter 1" )

 
gone fishin'

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
27th January, 2004 at 15:23:10 -

He means:
Str$() converts a number to a string so you can put it in a string.

So you'd need:
"The counter is now set to " + str$(value("Counter 1"))

 
- Tigerworks

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
27th January, 2004 at 17:08:18 -

ah...thanks...i knew it was something simple, but i just didn't know what

 
n/a

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
28th January, 2004 at 12:43:23 -

STOP MAKING ME LOOK STUPID

 
gone fishin'

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th January, 2004 at 13:27:43 -

how are you stupid for forgetting a small thing ? it can happen to the best of us.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click