Author Topic: dostring / tostring,.....  (Read 1421 times)

0 Members and 1 Guest are viewing this topic.

Offline Guibs

  • Double Ace
  • *
  • Posts: 142
  • Karma: +3/-0
dostring / tostring,.....
« on: 02 December, 2003, 21:19:42 »
Hi there,,

So,.. a question, about those functions,...

If 'arg' is a string and 'arg2' a number, while using:
------
dostring(tostring(arg).."="..arg2)
------
It works like a charm,.... :)

But if 'arg2' is also a string, it doesn't seems to work properly,... :(

I would like:
For arg = "mysetting", & arg2 = "my value for my setting", then, it will give:
------
mysetting = "my value for my setting"
------
Any idea, about ? :)

Many thks in advance,,

l8tr,, ;)
-- Please,... don\'t ask help in Pm,...Forums are made for that, to help everyone & my Inbox pm will be safe,... Thks,,  :))  --
CB forum     /     CB Home page

PtokaX forum

dostring / tostring,.....
« on: 02 December, 2003, 21:19:42 »

Offline Guibs

  • Double Ace
  • *
  • Posts: 142
  • Karma: +3/-0
(No subject)
« Reply #1 on: 02 December, 2003, 21:38:53 »
lol

I think i've just found it :))

Try:
----
arg2 = format("%q",arg2)
dostring(arg.."="..arg2)
----
Good scripts,, :o)

l8tr,, ;)
-- Please,... don\'t ask help in Pm,...Forums are made for that, to help everyone & my Inbox pm will be safe,... Thks,,  :))  --
CB forum     /     CB Home page

PtokaX forum

(No subject)
« Reply #1 on: 02 December, 2003, 21:38:53 »