Skip to content

Latest commit

 

History

History
executable file
·
37 lines (26 loc) · 1004 Bytes

hello-world.md

File metadata and controls

executable file
·
37 lines (26 loc) · 1004 Bytes

sort: 3

🌱 Hello World!

After you have learnt how to use the vedic cli tool, go to the directory where you want to make your first program

we recommend to use Vedic Syntax Highlighter extension in VS Code.

Now create a file hello.ved (it can be a different name) then add the following code there

वद("नमस्ते विश्व!");

Here वद is an native function that will display out any value put into it, here it will output नमस्ते विश्व!.

Run it using the following commend

vedic hello.ved

or if your file is named anything else then use this

vedic [file name]

The output will be:


नमस्ते विश्व!

Congratulations, you have written and executed your first Vedic program.

Now you can check out the Chapters List for more advanced programs.