1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-19 23:44:46 +00:00
QB64-PE/tests/format_tests/lbound_ubound/layout.out
Luke Ceddia 6abe235c41
Avoid eating 0-argument functions used after L/UBOUND
This commit reverts 38e0ec37 9f81ba1e and 55c36576 which attempted
to fix the capitalisation of array names used with L/UBOUND, and
introduced the code-eating bug. It is replaced with an alternative
solution to the capitalisation issue.
2024-06-27 19:22:54 +10:00

7 lines
198 B
Text

Dim Foo(1 To 3)
Print LBound(Foo) - _PixelSize - 125
Print UBound(Foo, LBound(Foo)) - 1
Dim BAR As Long
Dim Bar(1 To 3)
Print LBound(Bar) - _PixelSize - 125
Print UBound(Bar, LBound(Bar)) - 1 + BAR