Loops/Infinite: Difference between revisions

Content added Content deleted
(add RPL)
(GDScript)
Line 1,036: Line 1,036:
<syntaxhighlight lang="gb basic">10 print "SPAM"
<syntaxhighlight lang="gb basic">10 print "SPAM"
20 goto10</syntaxhighlight>
20 goto10</syntaxhighlight>

=={{header|GDScript}}==
{{works with|Godot|4.0.1}}

<syntaxhighlight lang="gdscript">
extends MainLoop


func _process(_delta: float) -> bool:
print("SPAM")
return false # _process loops until true is returned

</syntaxhighlight>


=={{header|GlovePIE}}==
=={{header|GlovePIE}}==