Smalltalk

Beispiel 1 (Aussagesatz)

Mit folgender Eingabe:
 A ist langweilig !=> lies doch ein Buch

Datenbankeintrag:
ist <> a <> nothing <> langweilig <> f=> <> lies <> doch ein buch <> <> <> <> 50
... wird folgendes möglich:
 You: Mir ist langweilig
FreeHAL: Lies doch ein Buch.
Beispiel 2 (Fragesatz)

Mit folgender Eingabe:
 Dir ist auch langweilig !=> Das ist ganz normal

Datenbankeintrag:
ist <> mir <> nothing <> auch langweilig <> f=> ist <> das <> <> ganz normal <> <> <> 50
... wird folgendes möglich:
 You: Ist dir auch langweilig?
FreeHAL: Das ist ganz normal.
Erläuterungen

Das Symbol "!=>", das wie eine Konjunktion gehandhabt wird, steht vor einer vom User geforderten Antwort, die ein Aussagesatz sein soll. "?=>" steht vor einem Fragesatz, ".=>" gibt es nicht.

Die Buchstaben A bis H dienen Als Platzhalter (Variablen).
Zurück zur Dokumentation
  

Comments

Fünf Sterne Hotels in Türkei - Angebote
Aktuelle Buchmessen-Termine
Buchmessen
About   Supporters   Social Networks
Copyright © 2006 - 2011
Tobias Schulz and Contributors

The FreeHAL Software is distributed under the GNU GPL v3 license.

The FreeHAL Website (freehal.org and freehal.net) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
  Members from SETI.Germany and Planet 3DNow! are sponsoring one of our servers.

 
Elton Chung from ReactOS donates a BOINC download mirror.


I don't want to see social networks at freehal.org! Buchmessen
More information: our partners | funds | expenses and donors