mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Erroneous comment
removed "define mySecondVar as a real" unnecessary and incorrect.
This commit is contained in:
parent
d2d98a3810
commit
2936ca4c69
@ -35,7 +35,7 @@ var mySecondVar = myVar;
|
|||||||
// var anError; // this would be a compile time error.
|
// var anError; // this would be a compile time error.
|
||||||
|
|
||||||
// We can (and should) explicitly type things
|
// We can (and should) explicitly type things
|
||||||
var myThirdVar: real; // define mySecondVar as a real
|
var myThirdVar: real;
|
||||||
var myFourthVar: real = -1.234;
|
var myFourthVar: real = -1.234;
|
||||||
myThirdVar = myFourthVar;
|
myThirdVar = myFourthVar;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user