Posted 09 April 2016 - 03:27 PM
G'day all, I'm a long time lurker, first time poster. For the most part, every question I've had has been answered already, but I've been unable to find any info on this:
Is it possible, to say, have two programs: test1 and test2,
test2 would look something like this:
a = 1
if a == 2 then
print("Yay, a success!!!")
and test1 would somehow be able to change the value of a inside of test2, and then run test2?
I've tried shell.run("edit") and whilst that could be useful, it requires user input, and I'd like to avoid that, as I want this for a basic banking system.
For anyone interested, my system will not be a backed system, so people will exchange virtual credits, not physical items, which seems to be how most banking systems work.
Any input is much appreciated, and thanks for the great community
Is it possible, to say, have two programs: test1 and test2,
test2 would look something like this:
a = 1
if a == 2 then
print("Yay, a success!!!")
and test1 would somehow be able to change the value of a inside of test2, and then run test2?
I've tried shell.run("edit") and whilst that could be useful, it requires user input, and I'd like to avoid that, as I want this for a basic banking system.
For anyone interested, my system will not be a backed system, so people will exchange virtual credits, not physical items, which seems to be how most banking systems work.
Any input is much appreciated, and thanks for the great community