Skip to content

zago code

Weizhong Yang a.k.a zonble edited this page Aug 7, 2026 · 3 revisions

Editor LOGO

Hello World

TO HELLO :name
    (word "Hello, " :name "!")
END

HELLO "zago

Leap Year

TO LEAP :year
  ifelse
    :year % 4 == 0 AND 
    NOT (:year % 100 == 0 AND :year % 400 != 0) 
    [ "is a leap year" ]
    [ "is not a leap year" ]
END

LEAP 2028

Clone this wiki locally