Author Topic: Why am I getting this result? [question about wrong calculations]  (Read 5239 times)

0 Members and 1 Guest are viewing this topic.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Why am I getting this result? [question about wrong calculations]
« Reply #15 on: August 25, 2021, 11:38:41 am »
BTW I picked up on the typo because BaseHeight% was not capitalized here:
Code: QB64: [Select]
  1. If Point(1, 1) = 2 Then Cls: DrawTerrain (basehieght%)
  2.  
It sure wasn't from spell checking :)

Tha'ts why I case my variables the way I do. Course after looking at code for a while everything looks the same, capitalized or not.

Still can't remember why I added that '-1'. I must have been tweaking or playing with an idea and scrapped it forgetting to take that off.(or forgetting I even added it in the first place!)

Anyway, Thanks again for the second set of eyes and catching that.
Granted after becoming radioactive I only have a half-life!