mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-13 21:44:33 +08:00
29 lines
407 B
Plaintext
29 lines
407 B
Plaintext
import("lib.nas");
|
|
var condition_true=1;
|
|
var condition_false=0;
|
|
if(condition_true)
|
|
{
|
|
var a=1;
|
|
}
|
|
else if(!condition_false)
|
|
{
|
|
var b=1;
|
|
}
|
|
elsif(!condition_true and condition_false)
|
|
{
|
|
print("impossible");
|
|
}
|
|
else
|
|
{
|
|
var c=1;
|
|
var d=1;
|
|
}
|
|
|
|
if(condition_true)
|
|
var a=1;
|
|
else if(!condition_false)
|
|
var b=1;
|
|
elsif(!condition_true and condition_false)
|
|
print("impossible");
|
|
else
|
|
var c=1; |