Ronny Otto
Ronny Otto
As the title says, the compiler has various _FLAGS_ (on off settings) A code file could contain `?debug`, it can be a console build, a gui build, it can be...
Made this an extra Pull Request as I am not sure if there is more stuff to pay attention to - in my tests it at least worked.
``` SuperStrict Framework BRL.StandardIO Global test:int = 10 print (.test) ``` ``` Compile Error: Expression of type 'Int' cannot be invoked. ``` this is based on the SCT test: tests/framework/types/global_03.bmx
test "framework/mod/brl/freetypefont/ft_01.bmx" contains outdated code: ``` SuperStrict Framework BRL.StandardIO Import BRL.FreeTypeFont Local font:TFreeTypeFont = TFreeTypeFont.Load("DroidSansMono.ttf", 12, SMOOTHFONT) If font Then Print "Family = " + String.FromCString(font._face.fname) Print "Style = "...
language/framework/fp_arrays_01.bmx: ```Blitzmax ' ' Test function pointer arrays ' SuperStrict Framework brl.standardio Local t:TType = New TType t.funcArray = [func1, func2, Null] Print t.funcArray[0]("1", 1, 1.0) Print t.funcArray[1]("2", 2, 2.0)...
``` Function MyCustomCompareFunction:Int(o1:Object, o2:Object) Return TMy(o1).longValue - TMy(o2).longValue End Function ``` If you are not aware of "longValue" being of type `long` (eg by refactoring from `int` to `long`) this...
Some functions are only working in newer compiler versions (eg operator overloading for index based access is not working in 0.129). So maybe this could be an option to make...
this works as (designed) in "legacy" but no longer in NG: ```BlitzMax SuperStrict Framework Brl.StandardIO Type Test Field s:String End Type Global testA:Test = New Test testA.s = "Hello" Function...
When compiling shared libraries (DLL files) in the "stdcall" version - so like this: ``` Function MyFunc:Int() export "Win32" End Function ``` The generated .def file only contains ``` LIBRARY...
Might be related to #532 ```BlitzMax SuperStrict Framework Brl.StandardIO Local k:TKeyWrapper = New TKeyWrapper Type TKeyWrapper Field keyHoldInformation:SKeyHoldInformation[5] Field key100:SKeyHoldInformation Method New() For Local i:Int = 0 To 4 Print...