Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test =
- {
- num = 5,
- name = "wat",
- };
- function Test_Incr(){ this.num++; }
- function Test_Name( x ){ this.name = x; }
- test!Test_Incr();
- test!Test_Name( "dat" );
- printvar( test );
- ///// output /////
- object (00486AB8) [4] dict (2)
- {
- num = int (6)
- name = string [3] "dat"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement