The Daily Click ::. Forums ::. Klik Coding Help ::. arrgh those damn stupid values and strings )
 

Post Reply  Post Oekaki 
 

Posted By Message

rocker (juraj5)



Registered
  02/01/2003
Points
  194
18th June, 2003 at 09:25:49 -

well listen up. i use date object to get current date. i get it and i wanna use it in a action(set editbox to "today is" + date from date object). but that !#$%*?& tgf tells me that i mixed up strings and values. so is there any way to use that date in editbox? i used expression in special conditions "convert value to string" but it can't recover the value from counter, just a fixed value i enter. help, it's important

 
never surrender, except when you need to

Zap{Zapdude Productions}



Registered
  27/10/2002
Points
  1134
18th June, 2003 at 10:47:19 -

can somebody help this guY? he obviously aint a newb

 
Just Posted a game?
Need a review?
Than message me with a link! Any game you want reviewed just message me

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
18th June, 2003 at 10:56:50 -

Tried this?

set editbox to "Today is " + str$(date from date object)

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
18th June, 2003 at 11:19:10 -

? i used expression in special conditions "convert value to string" but it can't recover the value from counter, just a fixed value i enter

You can just feed it 0, then replace the 0 with the date.

 
gone fishin'

rocker (juraj5)



Registered
  02/01/2003
Points
  194
18th June, 2003 at 11:41:16 -

how? this is an expression for, examle, year:
year of( "Clock" )
now where to put string$ ? i'm using that clock object.
anyway, ini is good for mixing strings and values so if save in ini item day=[current day], item month=[month] and same for year, and then i recover it using get string but there's problem: it works fine in win 98 BUT IT DOESN'T WORK IN WIN XP???? i'm using ini+ object. heelp

 
never surrender, except when you need to

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
18th June, 2003 at 11:49:48 -

Try Str$( year of( "Clock" ) )

And using INIs is a pretty bad way of converting them. Just use Str$() and Val().

 
gone fishin'

rocker (juraj5)



Registered
  02/01/2003
Points
  194
19th June, 2003 at 05:17:32 -

thx, it works. oh btw zap don't think somebody(i don't think on myself) is newbie if in it's data says it's newbie

 
never surrender, except when you need to

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
19th June, 2003 at 05:46:14 -

Never judge a book by it's cover. Some people have been clickinf for over 2 years when they join. They just have the rating n00b, and others are super n00bs who post 2 much to get points. So you have to decide for yourself.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click