mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 15:43:58 +00:00
typo in Haxe documentation
This commit is contained in:
parent
1c52c5ea12
commit
228cc6ec5a
@ -484,7 +484,7 @@ class LearnHaxe3{
|
|||||||
// we can read this variable
|
// we can read this variable
|
||||||
trace(foo_instance.public_read + " is the value for foo_instance.public_read");
|
trace(foo_instance.public_read + " is the value for foo_instance.public_read");
|
||||||
// but not write it
|
// but not write it
|
||||||
// foo_instance.public_write = 4; // this will throw an error if uncommented:
|
// foo_instance.public_read = 4; // this will throw an error if uncommented:
|
||||||
// trace(foo_instance.public_write); // as will this.
|
// trace(foo_instance.public_write); // as will this.
|
||||||
|
|
||||||
trace(foo_instance + " is the value for foo_instance"); // calls the toString method
|
trace(foo_instance + " is the value for foo_instance"); // calls the toString method
|
||||||
|
Loading…
Reference in New Issue
Block a user