Microsoft Small Basic

Program Listing:
Embed this in your website
' Write a program to input a user's name and address, '
'then display it in a fancy way in the TextWindow using the TextWindow methods, '
'BackgroundColor, ForegroundColor, CursorLeft and CursorTop.'

TextWindow.ForegroundColor= "green"
TextWindow.WriteLine("What is your name?")
name=TextWindow.Read()
TextWindow.Pause()
TextWindow.Clear()

TextWindow.ForegroundColor= "black"
TextWindow.BackgroundColor= "white"
TextWindow.WriteLine("What is your address?")
address=textwindow.Read()
TextWindow.Pause()
TextWindow.Clear()

TextWindow.ForegroundColor= "green"
TextWindow.BackgroundColor= "white"
TextWindow.WriteLine("Name: " + name)
TextWindow.WriteLine("Adress: " + address)
Copyright (c) Microsoft Corporation. All rights reserved.