This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-02 17:51:26

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Variables + Text

I want something to say 'Hey, [variable], how are you doing?'

But you can only put EITHER text or a variable in an ask or a say block. I need BOTH. Any solutions?

Offline

 

#2 2012-07-02 17:52:26

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Variables + Text

Hey there! You need the join block!  big_smile  The greatest of all blocks  wink

 join 
Its in the green area. You may need to use a few of them for what you want though.
So it would become:

Join [ Join (Hey,)(Variable) ][ , how you doing?]

Last edited by Prestige (2012-07-02 17:54:56)


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#3 2012-07-02 17:55:23

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: Variables + Text

Thanks. I'm new to this.

Offline

 

#4 2012-07-02 17:57:15

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: Variables + Text

Everyone starts somewhere  smile


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

#5 2012-07-02 18:10:39

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Variables + Text

Prestige wrote:

Hey there! You need the join block!  big_smile  The greatest of all blocks  wink

 (join [] [])
Its in the green area. You may need to use a few of them for what you want though.
So it would become:

(join ( Join [Hey,](Variable)) [, how you doing?])

Fixed (your) [scripts]


http://i47.tinypic.com/2iaa73k.png

Offline

 

Board footer