I have a student that would like to add an integer variable as an item in a list. When she adds that code she gets an error message.
She initialized a global variable. The variable contains a random integer.
She is trying to join text strings and the integer like this "Your random number" variable "is a nice number"
She gets an error message when she adds the variable to the join string. It works otherwise.
Does anyone know how to accomplish this?
--
Can you please post a screenshot of her blocks so we can take a look at them?
--
Here is a screen shot of what she is trying to do. She can't add a global variable to a list.
--
well, "This block can't be in a definition"... use it in Screen.Initialize instead
--
댓글 없음:
댓글 쓰기