(Added a word in the thumbnail description.)
Line 9: Line 9:
  
 
==Common Uses==
 
==Common Uses==
[[File:Hello (answer).gif|thumb|432px|Example script using the Join ()() Block]]
+
[[File:Hello (answer).gif|thumb|432px|An example script using the Join ()() Block]]
 
This [[Block|block]] is commonly used to:
 
This [[Block|block]] is commonly used to:
 
*Use the value of a [[variable]] in a block of text
 
*Use the value of a [[variable]] in a block of text
Line 15: Line 15:
 
*Joining any two values together in a [[list]] or block of text
 
*Joining any two values together in a [[list]] or block of text
 
[[Category:Operators Blocks]]
 
[[Category:Operators Blocks]]
 +
 
==Offline Decimal Trick==
 
==Offline Decimal Trick==
 
Offline, numbers in variables and speech bubbles usually round to only two decimal places. In some projects, it is necessary to have more. Using the '''join ()()''' block is one way to get many more decimal places. Simply join the operations used to get the number to nothing. Example:
 
Offline, numbers in variables and speech bubbles usually round to only two decimal places. In some projects, it is necessary to have more. Using the '''join ()()''' block is one way to get many more decimal places. Simply join the operations used to get the number to nothing. Example:

Revision as of 05:36, 8 July 2010

Join () ()
File:Join () ().gif
Category Operators Block
Type Reporter Block

The Join ()() block puts two strings together, but doesn't necessarily combine them to make a new value. It is a reporter block that can have other reporter/boolean blocks inside it.

Common Uses

File:Hello (answer).gif
An example script using the Join ()() Block

This block is commonly used to:

  • Use the value of a variable in a block of text
  • Use the value of the answer block in a block of text
  • Joining any two values together in a list or block of text

Offline Decimal Trick

Offline, numbers in variables and speech bubbles usually round to only two decimal places. In some projects, it is necessary to have more. Using the join ()() block is one way to get many more decimal places. Simply join the operations used to get the number to nothing. Example:

The original script:

File:No join.gif

Script with more decimals:

File:Join Trick.gif

To set the number of decimal places, use a script like this: 550px

Cookies help us deliver our services. By using our services, you agree to our use of cookies.