Ok, I also tried replacing this line:
var imgTable: Table[string, Image]
Run
by this one:
var imgTable: Table[string, Image.Image]
Run
And it still gives the same error.
Anyway I will change the module names
Hello,
I am doing a simple test with tables and have problems using import.
I have a file Image.nim:
type
Image* = ref object of RootObj
filepath*: string
Run
And a main file:
import tables
import Image
var imgTable:
Yes it works that way, thanks!
But it is strange the type can be created but cannot be recognized in as the
Table value type, isn't it ?
Thank you very much!
Hello,
I am quite new to nim language and started to develop a graphic app in web
(using canvas / webgl).
I know nim is not OOP based but I still tried to achieve OOP using 'method'.
But when I use two arguments using 'method' it does not work..
Am I wrong ? Or would there be better ways to