ID:157637
 
Are parameter lists important? Will I ever need to use them? What is the point of them and how can they be used?

world.params

params2list

list2params
"The parameter format" is used to pass multiple values (which could be named) through a text string. It's useful for situations where you can only pass data somewhere through a text string, such as in a hyperlink (which calls Topic()), data passed to a world on startup or on communication, etc. It's used outside of BYOND in websites in URLs and HTML forms (if you look at your browser's address bar right now, you should spot it there).
It's not imperative to use this particular format, as there are many ways to format multiple values in a text string. It is, however, easier and convenient to use as some places in BYOND use it and it has built-in instructions for quick converting of it.
Darkjohn66 wrote:
Are parameter lists important? Will I ever need to use them? What is the point of them and how can they be used?

world.params

You will probably never need world.params unless you do hosting on Linux or have another server start up your server (like in a distributed MMO).

params2list

list2params

These are highly useful when parsing URLs in Topic(), and also when sending out skin changes via winset() or receiving responses in winget(). They're also mighty handy if you want to send some data to an external webserver with a special URL.

Lummox JR