datum
var/a = 1
var/b
New(c)
b = c
..()
// elsewhere
var/datum/d = new(datum.a)
Problem description:
Basically I'm trying to access variable a from datum. I tried datum.a which gives an undefined error. I also tried /datum.a and /datum/a but they don't work either.
Or if you want to pass another datum's variable into this datum's constructor.