Hello everyone,
We're happy to announce that our forum is back online! We needed to take some time off to discuss and decide on how to handle sensitive topics in our community.
The team has posted an in-depth comment regarding a recent incident and our stance on politics and sexuality in our forum. We also added a dedicated paragraph about this in the forum guidelines. This is part of our commitment to maintain a welcoming and inclusive environment for all our users. Your understanding and continued support in building a creative and respectful community are highly appreciated.
Thank you, the CX Dev-Team
IndexFormat = (
IDXFMT_16 = GL_UNSIGNED_SHORT,
IDXFMT_32 = GL_UNSIGNED_INT );
...
idxFmt: IndexFormat;
...
idxFmt := GL_BYTE; <= compilation error!!!
Class callback
method call()
end
...
class SomeClass
field func: callback
...
method someFunction(c:callback)...
class T3d <T>
field x: T
field y: T
field z: T
alias r = x
alias g = y
alias b = z
method New(aX:T,aY:T,aZ:T)
x = aX
y = aX
z = aX
end
...
end
alias int3d = T3d<int> ' integer vector
alias float3d = T3d<float> ' float vector
alias Trgb = T3d<byte> ' RGB color
vec: int3d = new(1,2,3)
...
Operator<some symbols>(some params)
...
end
Operator<+>( parameter1: int3d, parameter2: Int3d, result: int3d)
...
end
Operator<*>(parameter1: int3d, parameter2: Int3d, result: int3d) 'vector multiplication
...
end
Operator<^>(parameter1: int3d, parameter2: Int3d, result: int) 'dot product
...
end
tween(MyObject, { x: 100, y:100, alpha: 0.5, rotation: 45, duration: 5, ease:"elastic" });
Think that had something to do with that he wasn't making any money with this own business, had numerous complaints from the users of the software for various reasons and ended up getting a job with a software company, which I would assume would have it in their contract about not doing any kind of work that would conflict with their own business in any form or manor.I don’t know why Mark ruined everything.
I have 4GB and and an i5 but I will proablay start with Cinnamon and try them in descending order bc I really love Cinnamon.When it comes to Linux desktop environments. You should select which one to use based on the systems hardware and what you intend to to use it for. It's no good trying to use a memory hog desktop environment on a system with less than 8GB and shared video memory and expect it to compile something like the LLVM tool chain without issues.
Regarding removal of unused code. Use Reflection during the development. This has helped me big time during the development of my frameworks. This way I was able to detect errors like this. Same goes for using Strict.I remembered something else! We need reasonable support for multidimensional arrays!
I once had to initialize a dynamic array of dynamic arrays of objects, it was a syntax pain. That day my sense of beauty died.
Now Cerberus discards functions that are not used in the code, simply does not compile them, and accordingly does not find errors in them. When a new project is written and written sequentially, this is not a problem, but when I tried to port MojoX, I had a large base of ready-made but not working code, I planned to first do a “draft” translation and then write tests. Incorrect library code was simply discarded and I was faced with the fact that I had to cover every little detail, literally every method, with tests. Compilation mode without optimizations is also needed.
Property Offset:Vec2i()
Return _offset
Setter( offset:Vec2i )
If offset=_offset Return
_offset=offset
End
Method Offset:Vec2i() Property
Return _offset
End
Method offset:Void(param:Vec2i) Property
If offset=_offset Return
_offset = offset
End
Method Offset:Void(offset:Vec2i) Property
Strict
#REFLECTION_FILTER="view*"
Import reflection
...
local v: View = New View