# What is wrong with this code?

**URL:** <https://forum.kirupa.com/t/what-is-wrong-with-this-code/209095>\
**Category:** Uncategorized\
**Created:** [December 5, 2006, 9:53pm UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-code/209095 "2006-12-05T21:53:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [December 5, 2006, 9:53pm UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-code/209095/1 "2006-12-05T21:53:19Z")

</div>

Hello!  
I am trying, this time, to create a scroll area text. Where after pressing a button, a text will be added to the textarea below the previous text.  
Although, dont know why, its not working.

i am using this code to add the text to the textarea and then trying to scroll down and add more text bellow the previous one.  
where m\_text is the name of my text area.

I have also attached the file.

Thanks alot.  
Cheers.  
leo.

```auto

 
on(release)
{
 m_text.scroll = m_text.scroll +1;
 m_text.text ="hello ";
}
 

```
