Falcon (programming Language) - "Hello World" Example

"Hello World" Example

Although there are various forms of basic I/O, an example Hello world program using fast print:

> "Hello World!"

Supporting Unicode, below is an internationalized example of introductions:

// International class; name and street class 国際( なまえ, Straße ) // set class name and street address नाम = なまえ شَارِع = Straße // Say who am I! function 言え >@"I am $(self.नाम) from ",self.شَارِع end end // all the people of the world! 民族 = [ 国際( "高田 Friederich", "台湾" ), 国際( "Smith Σωκράτης", "Cantù" ), 国際( "Stanisław Lec", "południow" ) ] for garçon in 民族: garçon.言え

which, when evaluated, displays

I am 高田 Friederich from 台湾 I am Smith Σωκράτης from Cantù I am Stanisław Lec from południow

Read more about this topic:  Falcon (programming Language)

Famous quotes containing the word world:

    If America does not wish to end her days in the same nursing home as Britannia she had best end this geo-babble about new world orders. Our war, the Cold War, is over. It is time for America to come home.
    Patrick Buchanan (b. 1938)