func math() // Run function "math"
{
ques: sys.input("What is 1+1?") // Request user input
if ques == "2"
{
sys.log("Correct!") // Like console.log()
}
else
{
sys.log("Incorrect!")
}
end // End the if statement
}
sys.start()
start.name("My Program") // Initialize Program
{
sys.log(sys.name.add("\n")) // "My Program" // sys.name is the name of the program
sys.load(func.math())
sys.stop() // halt the program
}
-
Notifications
You must be signed in to change notification settings - Fork 0
The Language That Beats All Others!
License
Arkadyax/REPLANG
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The Language That Beats All Others!
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published