Yoko
http://forum.yoko.com.ua/

var coords="1234,567" to var x="1234" and var y="567"
http://forum.yoko.com.ua/viewtopic.php?f=3&t=16020
Page 1 of 1

Author:  Shokarta [ 2010-12-15 19:31:04 ]
Post subject:  var coords="1234,567" to var x="1234" and var y="567"

hey guys... two things... learning with yoko now...

i havea var coords="1234,567" and need to split it into two vars x and y.... how do i do that?

another thing... im using goto(x,y)

so ive tried to do goto(coords[i]) (as i have many coords variables) which returrnt that it needs two arguments...

ive even tried var x="1234" and var y="567" and then goto(x[i],y[i]) which does nothing... i just cant put two variables into a function()... so i guess its syntax error... could u guys correct me?

anyway i this link the guy did split the coordinate variable onto two variables, i just dont get how...
http://www.injection.netfirms.com/lumberminoc.htm

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/