NEW
Font size
WorksheetsSmallBasic
Total questions: 20
Worksheet time: 10mins
SmallBasic es:
Software para dibujo
Lenguaje de programación
Hoja de cálculo
Sistema operativo
Comando para mostrar un texto:
TextWindow.Write ()
TextWindow.Read ()
TextWindow.WriteLine ()
TextWindow.ForegroundColor
Comando para mostrar un texto y saltar una linea:
TextWindow.Write ()
TextWindow.Read ()
TextWindow.WriteLine ()
TextWindow.ForegroundColor
Comando para indicar el color de fondo de pantalla:
TextWindow.BackgroundColor
TextWindow.Read ()
TextWindow.WriteLine ()
TextWindow.ForegroundColor
Comando para indicar el color del texto:
TextWindow.BackgroundColor
TextWindow.Read ()
TextWindow.WriteLine ()
TextWindow.ForegroundColor
Comando para leer un dato de texto y almacenarlo en una variable:
TextWindow.BackgroundColor
TextWindow.Read ()
TextWindow ReadNumber ()
TextWindow.ForegroundColor
Comando para leer un dato numérico y almacenarlo en una variable:
TextWindow.BackgroundColor
TextWindow.Read ()
TextWindow ReadNumber ()
TextWindow.ForegroundColor
Indica el color de fondo en una pantalla grafica:
GraphicsWindow.Title
GraphicsWindow.Width
GraphicsWindow.Height
GraphicsWindow.BackgroundColor
Indica el ANCHO en pixeles en una pantalla grafica:
GraphicsWindow.Title
GraphicsWindow.Width
GraphicsWindow.Height
GraphicsWindow.BackgroundColor
Indica el ALTO en pixeles en una pantalla gráfica:
GraphicsWindow.Title
GraphicsWindow.Width
GraphicsWindow.Height
GraphicsWindow.BackgroundColor
Indica el TÍTULO de la pantalla gráfica:
GraphicsWindow.Title
GraphicsWindow.Width
GraphicsWindow.Height
GraphicsWindow.BackgroundColor
Este comando ATRASA la ejecución de un programa en una cantidad de milisegundos:
GraphicsWindow.PenColor
GraphicsWindow.DrawLine
Program.Delay ()
Clock.Hour
Este comando dibuja una LINEA recta en las coordenadas especificadas:
GraphicsWindow.PenColor
GraphicsWindow.DrawLine
Program.Delay ()
Clock.Hour
Este comando indica el COLOR DE LA LINEA con el que serán visualizados las figuras:
GraphicsWindow.PenColor
GraphicsWindow.DrawLine
Program.Delay ()
Clock.Hour
Este comando devuelve el valor de la HORA del sistema y puede almacenarse en una variable:
GraphicsWindow.PenColor
GraphicsWindow.DrawLine
Program.Delay ()
Clock.Hour
Se utiliza para hacer ciclos repetitivos una cantidad de veces determinada:
If - Then - Else - EnIf
While - EndWhile
For to - EndFor
Sub - Ensub
Se utiliza para hacer ciclos condicionados a una respuesta falsa o verdadera:
If - Then - Else - EnIf
While - EndWhile
For to - EndFor
Sub - Ensub
Se utiliza para ejecutar un ciclo siempre y cuando se cumpla la condición:
If - Then - Else - EnIf
While - EndWhile
For to - EndFor
Sub - Ensub
Se utiliza para crear subrutinas:
If - Then - Else - EnIf
While - EndWhile
For to - EndFor
Sub - Ensub
Se utiliza para borrar la pantalla gráfica de contenido visualizado previamente:
TextWindow.Clear()
GoTo
GraphicsWindow.KeyDown
GraphicsWindow.Clear()
