davecamp

Results 15 comments of davecamp

Maybe a better way to put it would be... "A global within a scoped block, and its assigned/updated value, will exist for the lifetime of the application, but it is...

It looks like I can get around this by using For Local i:Int = 0 Until 5 Local temp:Test Ptr = Varptr data[i] temp.set(i, i, i) Next But the debugger...

Looks like the debugger is stepping through the array by 'size of Float' as opposed to 'size of Struct Test'?

> I'm not sure I would consider this a bug. It is more of a direct consequence of the nature of Structs being value types, which means that they're copied...

I hear what you're saying, however with our personal opinions aside, we should go by the tradition (and documentation) of BlitzMax syntax. Ignoring custom type operator[] access for the moment,...

This code could be useful to classify a string literal integer to initially classify if it can fit within an Int, UInt, Long or ULong. There are some prerequisites and...

@HurryStarfish Your example also works as expected for me too. What do you get if you try this one? ``` SuperStrict Type Foo Field Bar:Float EndType Local Test:Foo = New...

I know this is a late reply... but it's still open so I'll drop a cent,,, If you use a constant name mangling scheme then you can use c macros...

oh ! I think totally misunderstood what you want to do here? The title says about accessing BMax variables from native code... but then go on to include native code...

What advantages can be gained from in-lining c code (other than losing the possible overhead of setting up a stack frame, which may not happen when the c code is...