Files
BlitzLLVM/tests/001.bb
T
Michael Fabian 'Xaymar' Dirks 22c7614e7c Fix CRLF and submodules with auto-generated copyright headers
We no longer add another character to the file every time it is committed, and instead now properly handle CRLF. Additionally submodules are no longer updated when they shouldn't be, without requiring a manual config edit.
2024-07-05 15:19:18 +02:00

36 lines
578 B
BlitzBasic

; AUTOGENERATED COPYRIGHT HEADER START
; Copyright (C) 2017 Michael Fabian 'Xaymar' Dirks <info@xaymar.com>
; AUTOGENERATED COPYRIGHT HEADER END
; Ein simpler Lexer Test
Local Variable = 1.0
Local Variable2$ = "Hallo Welt"
For I = 0 To 8
Variable = Variable + I
Next
While Variable
Variable = Variable - 1
Wend
Repeat
Variable = Variable + 1
Until Variable
Repeat
Exit
Forever
If Variable = 0 Then
Variable = 1
EndIf
Function DoVar(Var)
Return Var * Var
End Function
DoVar Variable
DoVar(Variable)
Global Variable3# = 7.2
Variable3 = Variable3 / 4 * 5 - 2 + 8 ^ 22