*If they already exist, and i missed it, please correct me*
1) Most important i think.... We need variable arrays for byond. EX.
mob/var/arrayOne(1,200) = "" //String array
mob/var/arrayTwo(1,200) = 0 //Number array
2) We need an Int() proc, to chop off all decimal values without rounding.
3) Another thing would be boolean variables *FLAGS* to be set to true or false, instead of replacing numerical valuse as 0 or 1.
4) Predefined loops would be nice, example.
mob/verb/pick()
loop until(value)
if(usr.items >= 1)
value = 1 //or a true if it is implemented
else
value = 0 //or false
do
Any loop setup would be nice, but this is one of my favorites from other languages
Strings aren't treated as arrays. Since strings are pretty core to any programming language, I imagine that won't change. Also, since languages that do treat strings as arrays tend to end up with zillions of string-based bugs, it might be good to avoid.
What does the number array provide that lists don't?
Check out the abs() function, or read up on round() -- one of them does this.
Create your own.
What does this do? What can't you do with current loops?