Long from Extern
Monkey Forums/Monkey Programming/Long from Extern
| ||
i've following code:#define IDCMP_CLOSEWINDOW 0x00000200L i want this in my module: Extern Const CLOSEWINDOW:Int = "IDCMP_CLOSEWINDOW" why is CLOSEWINDOW = 0 ? |
| ||
You're setting an int to a string! |
| ||
change this: Const CLOSEWINDOW:Int = "IDCMP_CLOSEWINDOW" to this: Const CLOSEWINDOW:String = "IDCMP_CLOSEWINDOW" |
| ||
thanks guys, the problem was: Monkey does not import defines. ;) |