> I created myself some future problems by writing `include objects`
FTFY
> I solved the problem by writing include objects
Sure, you can do that, but it is not very smart. Why do you ask here when you
are not willing to learn something?
I solved the problem by writing
objects
Run
Have you considered reading the fine tutorial?
[https://nim-lang.org/docs/tut1.html](https://nim-lang.org/docs/tut1.html)
As you learn, in Nim like in other languages like Modula or Oberon public
symbols in modules have to be marked with asteriks, so try something like
type
wrote, now this error objects.nim(3, 15) Error: invalid indentation
` type object3d*=object `
Run
hello, i have 2 files - main.nim and objects.nim main.nim:
import libs/csfml/csfml
import libs/opengl/opengl
import objects
var window = newRenderWindow(videoMode(500, 500), "OpenGL")
window.verticalSyncEnabled = true
opengl.loadExtensions()