mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 20:10:49 +02:00
Erroneous comment
removed "define mySecondVar as a real" unnecessary and incorrect.
This commit is contained in:
@@ -35,7 +35,7 @@ var mySecondVar = myVar;
|
||||
// var anError; // this would be a compile time error.
|
||||
|
||||
// We can (and should) explicitly type things
|
||||
var myThirdVar: real; // define mySecondVar as a real
|
||||
var myThirdVar: real;
|
||||
var myFourthVar: real = -1.234;
|
||||
myThirdVar = myFourthVar;
|
||||
|
||||
|
Reference in New Issue
Block a user