forked from upizpp/PhiScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Output
gene-2012 edited this page Jan 6, 2024
·
1 revision
First, import the io module. Then, use the io.print(<text or number>) to print a text or a number, similar to the print() function in Python.
import io;
io.print(<text or number>);
// This file is at examples/hello_world.phi
import io;
import os;
io.print("Hello, World!");
os.system("pause");