karuta
karuta copied to clipboard
Unable to access imported variables
#10 So in an attempt to solve the problem of a ticker process affecting other processes, I tried to move it out of the file. However, I am unable to access imported variables inside processes E.g. slowclk.karuta:
shared slowclk #0 = 0
import.karuta:
import "slowclk.karuta" as sc
process main() {
print(sc.slowclk)
}
Running karuta run --duration 10 import.karuta
, I get the following error.
U:Failed to find object: sc
U:Failed in compilation of method: main
U:member not found: sc