Small Basic – Changing Properties


Changing Properties

You can change many TextWindow properties, but not all properties can be changed. Some objects contain read-only properties, which you can use in your program but can’t change. For example, the Date property of the Clock object is a read-only property. (Wouldn’t it be nice if you could change the Date property to travel through time?)

On the other hand, you can both use and change properties that have read/write access. Small Basic’s Help Area tells you whether a property has read/write access or read-only access. Do you see the difference in the Figure?

Figure: The Help Area shows you whether a property has read/write or read-only access.

Read more about Small Basic (and download it): http://blogs.msdn.com/b/smallbasic/

 

Have a Small and Basic week!

   – Majed Marji & Ninja Ed

Comments (1)

  1. Computers Today (part 1 of 6)

    blogs.msdn.com/…/computers-today.aspx

    …..

    CS SPOTLIGHT: Girls in computer programming… why it matters!!!

    blogs.msdn.com/…/cs-spotlight-girls-in-computer-programming-why-it-matters.aspx

    Computational Thinking – Videos & Papers by Jeannette Wing

    blogs.msdn.com/…/computational-thinking-videos-amp-papers-by-jeannette-wing.aspx

Skip to main content