The program does not run for me
It doesn't run this code for me and gives me these errors.
`module Configuracion_ventanas_Consola_CF open System // Título de la ventana. Console.Title -> "Título de la ventana";
// Tamaño de la ventana, x, y o, ancho y alto.
const byte ancho = 80;
const byte alto = 20;
Console.SetWindowSize(ancho, alto);
// Color de fondo.
Console.BackgroundColor = ConsoleColor.Black;
// Color de las letras.
Console.ForegroundColor = ConsoleColor.Green;
// Limpiar pantalla y dejarlo todo en color de fondo.
Console.Clear();
// Visible el cursor. // No! Así lo haces invisible.
Console.CursorVisible = false;
// Posición del cursor.
int anchoX = 20;
int altoY = 8;
Console.SetCursorPosition(anchoX, altoY);
// Mostrar textos.
Console.WriteLine("Estás leyendo este texto en pantalla. C#");
// Pulse cualquier tecla para salir.
Console.ReadKey();`
Identifier was not expected. in definition. Incomplete Structured Construction expected at or before this point. or another token.
2 answers
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more