mirror of
https://github.com/Dummi26/mers.git
synced 2025-12-15 03:36:16 +01:00
changed VData system again, renamed src/script to src/lang and added src/c.mers, which is an example something that currently does not work properly due to the VData implementation (and serves as a reminder to fix the issue)
This commit is contained in:
@@ -6,5 +6,10 @@ list = [1 2 3 4 5 6 7 8 9 ...]
|
||||
// second.debug()
|
||||
|
||||
&list.get_ref(2).assume1() = 24
|
||||
should_not_be_changeable = &list.get(3).assume1()
|
||||
should_not_be_changeable = 24
|
||||
|
||||
if list.get(2) != [24] println("[!!] list.get(2) != 24 (was {0})".format(list.get(2).to_string()))
|
||||
if list.get(3) == [24] println("[!!] list.get(3) == 24")
|
||||
|
||||
list.debug()
|
||||
|
||||
Reference in New Issue
Block a user