Is there a way to make all the items of a list join together?
Offline
coolhogs wrote:
use this
when gf clicked join [items 1 of list][join items 2 of list]
But it's more than two items, and the about of items will be frequently changing.
Offline
WingsGames wrote:
coolhogs wrote:
use this
when gf clicked join [items 1 of list][join items 2 of list]But it's more than two items, and the about of items will be frequently changing.
well put more join blocks on them.
Offline
coolhogs wrote:
WingsGames wrote:
coolhogs wrote:
use this
when gf clicked join [items 1 of list][join items 2 of list]But it's more than two items, and the about of items will be frequently changing.
well put more join blocks on them.
But I don't know how many there will be. As I said, it'll be constantly changing. Also, there can't be any extra spaces.
Offline
WingsGames wrote:
coolhogs wrote:
WingsGames wrote:
But it's more than two items, and the about of items will be frequently changing.well put more join blocks on them.
But I don't know how many there will be. As I said, it'll be constantly changing. Also, there can't be any extra spaces.
there wont be any extra spaces. What do you mean by it constantly changing?
Offline
coolhogs wrote:
WingsGames wrote:
coolhogs wrote:
well put more join blocks on them.But I don't know how many there will be. As I said, it'll be constantly changing. Also, there can't be any extra spaces.
there wont be any extra spaces. What do you mean by it constantly changing?
It's a list that keeps track of the letters in a word processor, so every time a character is added, it goes on the list.
Offline
Just use the simple
(ListNameHere) block
Offline
Pecola1 wrote:
Just use the simple
(ListNameHere) block
^This. It leaves spaces in between the items, though. If you don't want those, you can either use a counter variable and iterate through the list, or you can use the (list) block and parse out the spaces.
Offline
Greenatic wrote:
Pecola1 wrote:
Just use the simple
(ListNameHere) block^This. It leaves spaces in between the items, though. If you don't want those, you can either use a counter variable and iterate through the list, or you can use the (list) block and parse out the spaces.
btw, the spaces only appear if you have a space in one of the items
Offline
set [i] to (0) set [string] to () repeat(length of [list]) change [i] by (1) set [string] to (join [string] [item (i) of [list]]) end
Last edited by MoreGamesNow (2012-03-05 16:33:35)
Offline