diff --git a/examples/custom_type.mers b/examples/custom_type.mers old mode 100755 new mode 100644 diff --git a/examples/gui.mers b/examples/gui.mers old mode 100755 new mode 100644 diff --git a/examples/iterators.mers b/examples/iterators.mers old mode 100755 new mode 100644 diff --git a/examples/macro.mers b/examples/macro.mers old mode 100755 new mode 100644 diff --git a/examples/mersrandr.mers b/examples/mersrandr.mers old mode 100755 new mode 100644 diff --git a/examples/modify_variable.mers b/examples/modify_variable.mers new file mode 100644 index 0000000..823d008 --- /dev/null +++ b/examples/modify_variable.mers @@ -0,0 +1,9 @@ +// NOTE: Might change, but this is the current state of things +x = 10 +t = thread(() { + sleep(0.25) + println(x.to_string()) +}) +// if this was x = 20 instead, the thread would still be using the old x = 10 value. +&x = 20 +t.await() diff --git a/examples/musicdb_remote.mers b/examples/musicdb_remote.mers old mode 100755 new mode 100644 diff --git a/examples/my_macro.mers b/examples/my_macro.mers old mode 100755 new mode 100644 diff --git a/examples/thread.mers b/examples/thread.mers old mode 100755 new mode 100644