Autor Beitrag
lemming
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mo 05.04.04 12:15 
Das Programmieranfänger sich mit C schwer tun ist allgemein bekannt. C# soll ja noch schlimmer werden. Damit sie die Einführung leichter haben, gibt es jetzt bald G#, von Microsoft.


www.microsoft.com/ge...blio/germansharp.htm


ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
Benutzt System

Namensraum MeineApplikation
+
            Sei MeineKlasse eine öffentliche Klasse
+
            Sei Eintritt eine öffentliche, feste und ergebnislose Funktion und bekomme MeineParameter als Feld von Zeichenkette
            +
                        Sei MeineVariable eine Ganzzahl

                        Zähle MeineVariable von null bis einhundert
                        +
                                    SchreibeInLinie der Eingabezeile „MeineVariable ist jetzt" und MeineVariable

                        #
            #
#
#


Am geilsten finde ich die "for" Schleife. "Zähle MeineVariable von null bis einhundert". Wie oft läuft nun die Variable durch? Genau 101x oder einhunderteinmal um es wie Microsoft auszudrücken.
Raphael O.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1596


VS 2013
BeitragVerfasst: Mo 05.04.04 12:30 
das C# schlimmer wäre als C kann ich nicht bestätigen...
das ähnelt eher Delphi 8)
lemming Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mo 05.04.04 12:45 
Egal, allein schon die Zahlen ausgeschrieben darzustellen ist meiner meinung nach ein absoluter Fehlgriff. Wie es richtig geht zeigt AppleScript. Das verwendet ähnlichen Syntax ohne dabei zu technisch zu werden.

www.apple.com/applescript/

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
on opening folder theFolder
   tell application "Finder"
      set zoomed of window of theFolder to true
      set position of window of theFolder to {7, 43}
      --2 pixels to right of left edge of desktop, and 2 pixels below menu bar;
      --note that the bounds of a window describe its content space, which excludes
      --its drag area (21 pixels for the title bar and 5 pixels around the other three sides)
   end tell
end opening folder
Simon Joker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 236
Erhaltene Danke: 1



BeitragVerfasst: Mo 05.04.04 13:14 
Hi

Die ausgeschriebenen Zahlen kommen (wie im Artikel beschrieben) aus der KI-Programmierung. Naja, das ist vieleicht noch verständlich. Aber ich stelle mir gerade vor, wie ich die Zahl 124352.028 ausschreiben muß! :roll:
lemming Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Mo 05.04.04 13:17 
Und vorallem, was ist wenn du sie in 123456.029 umändern musst. *Horror*
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 05.04.04 13:28 
Was mich viel mehr irritiert als das Ausschreiben der Zahlen ist das Datum (ganz unten)...
Irgendwie hat sich der Admin da um zwei Tage verrechnet :roll:

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 05.04.04 13:29 
da bin ich doch mit dem mormalen C oder auch Delphi Syntax hundert (100) mal schneller als mit diesem quatsch.
ist das ein verspäteter aprilscherz oder was ?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 05.04.04 13:49 
matze hat folgendes geschrieben:
ist das ein verspäteter aprilscherz oder was ?
Nope, laut von mir angesprochenem Datum ein verfrühter.
Aber ich hoffe doch inständig, daß es ein Aprilscherz sein sollte... Man hört ja schon viel von verblödeten Marketingmaßnahmen, aber eine so bescheuerte Idee kann nichtmal einem Microsoftmitarbeiter nach einer durchzechten Nacht einfallen...

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
Alni
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 205

Win 2000, XP, SuSe, Debian
D5 Prof, D7 Prof, Kylix
BeitragVerfasst: Mo 05.04.04 17:10 
matze hat folgendes geschrieben:

ist das ein verspäteter aprilscherz oder was ?


Beim öffnen des Links deutlich zusehen.

_________________
MfG Alex
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mo 05.04.04 19:18 
Alni hat folgendes geschrieben:
Beim öffnen des Links deutlich zusehen.
Das war aber vorhin noch nicht da... :-/

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 05.04.04 20:41 
stimmt, das ist neu !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
lemming Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 470

Mac OS 10.3.1
Delphi 6 Pro, Kylix 3
BeitragVerfasst: Di 06.04.04 07:07 
Haben sie es tatsächlich gebacken bekommen nach 5 Tagen die Seite zu ändern.
Simon Joker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 236
Erhaltene Danke: 1



BeitragVerfasst: Di 06.04.04 07:14 
:D

Also doch der Schwachsinn, nach dem es sich angehört hat. Aber MS traue ich sowas jederzeit zu, denn Aprilscherze unterscheiden sich kam von ernstgemeinten Meldungen von M$.