Announcement

Collapse
No announcement yet.

Cosmos Problem

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cosmos Problem

    Hallo
    Code:
    using System;
    using Cosmos.Compiler.Builder;
    
    namespace CosmosBoot1
    {
        class Program
        {
            #region Cosmos Builder logic
            // Most users wont touch this. This will call the Cosmos Build tool
            [STAThread]
            static void Main(string[] args)
            {
                BuildUI.Run();
            }
            #endregion
    
            // Main entry point of the kernel
            public static void Init()
            {
                var xBoot = new Cosmos.Sys.Boot();
                xBoot.Execute();
                int eingabe;
                Console.WriteLine("@@@@@@@");
                Console.WriteLine("@");
                Console.WriteLine("@");
                Console.WriteLine("@@@@");
                Console.WriteLine("@");
                Console.WriteLine("@");
                Console.WriteLine("@@@@@@@ NCARNIUM BSD");
                Console.WriteLine("");
                Console.WriteLine("(c)2010 Jonas aka ZockeR");
                Console.WriteLine("Bitte geben sie ein Befehl ein. Für die Hilfe einfach <help> eingeben");
                if (Console.ReadLine == 'help')
                {
    
                }
                while (true)
                    ;
            }
        }
    }
    So dies geht nicht er sagt "Zu viele zeichen in der Literale Zeile 33"
    Zeile 33: if (Console.ReadLine == 'help')+

    Gruß
    coolerj

  • #2
    Hallo coolerj,

    lies dir erstmal die Forenregeln durch. Was ist überhaupt deine Frage? Warum kein passender Titel, und und und.

    Dieses Kompilerfehlermeldung sagt eh alles aus was falsch ist. Lesen kansst du schon, oder?

    => Geschlossen.


    mfG Gü
    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand". - Martin Fowler

    Comment

    Working...
    X