Visibility of a var outside a cycle
|
03-09-2015, 01:39 PM
Post: #2
|
|||
|
|||
RE: Visibility of a var outside a cycle
(03-09-2015 11:59 AM)salvomic Wrote: now, tn is actually 1024 (i.e.), outside the FOR cycle "Return tn" give 1024, but "return tn^2) give 1449616 and not the right value (1048576); "return tn*2" give correctly 2048, "return tn*tn" give also 1449616... Code food for thought: Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Visibility of a var outside a cycle - salvomic - 03-09-2015, 11:59 AM
RE: Visibility of a var outside a cycle - DrD - 03-09-2015 01:39 PM
RE: Visibility of a var outside a cycle - salvomic - 03-09-2015, 01:51 PM
RE: Visibility of a var outside a cycle - DrD - 03-09-2015, 02:27 PM
RE: Visibility of a var outside a cycle - salvomic - 03-09-2015, 02:40 PM
|
User(s) browsing this thread: 4 Guest(s)