Some beginner help needed with "or" vs "|" and use in nimraylib_now ...

2023-01-08 Thread suncore
Oh, I see. Thanks! Nim is deep and wide :-)

Some beginner help needed with "or" vs "|" and use in nimraylib_now ...

2023-01-08 Thread suncore
Thanks for your input. What is the "|" operator supposed to do? The error message was obtuse until I understood that "|" was not a built-in :-) Sorry about that.

Some beginner help needed with "or" vs "|" and use in nimraylib_now ...

2023-01-08 Thread suncore
Well, finally I found the documentation for "or" in the system library. I thought "or" was a built-in so I did not look in the libraries... Sure enough "or" works for both bools and ints of various sorts so using that was correct. Still wondering where "|" comes from though :-)

Some beginner help needed with "or" vs "|" and use in nimraylib_now ...

2023-01-08 Thread suncore
Hi! I'm using nimraylib_now to interface the raylib C library. There is a function called setConfigFlags that should be called with a bitmask or-ed set of flags (c-style). I tried calling it the C-way: setConfigFlags MSAA_4X_HINT | WINDOW_RESIZABLE Run but then the