Samples‎ > ‎

HelloWorld


1 - Create an empty file (for example on your desktop) and name it helloworld.ynot

2 - Open helloworld.ynot with your favorite text editor (gedit, notepad++, fraise, ultraEdit...).

3 - Copy/paste this code. Save the file and close the editor.


echo("Hi, I'm Ynot.What's your name ?")
$name
 
:
readLine
()
echo
("Nice to meet you ${name}!")
sleep
(3000)


4 - Right click on helloworld.ynot file and choose "Open with", browse into the ynot directory.
* If you are under window choose the ynot.bat file. 
* If you are under linux choose the ynot.sh file.
* if you are under macOS choose the ynot.app file.

Enjoy :)

You can improve your script checking the ynot syntax.