Difference between revisions of "True"

From MiniScript Wiki
Jump to navigation Jump to search
m (Fixed assignment; formatting)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
[[Category:Keywords]]
 
[[Category:Keywords]]
  
== example ==  
+
== Example ==  
 
<ms>greet = true
 
<ms>greet = true
 +
 
if greet then
 
if greet then
print "hello user"
+
  print "hello user"
 
end if</ms>
 
end if</ms>

Latest revision as of 12:52, 21 February 2022

true is a keyword value equivalent to 1.

Example

greet = true

if greet then
  print "hello user"
end if