Author Topic: If within if  (Read 6933 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: If within if
« Reply #45 on: January 09, 2012, 07:37:59 PM »
That's not what I'm asking it to do, the memshna is used the same but in diferent conditions.  Here are the questions that the command line asks and the answers I put.

So you see the line of code is just the answers to the above question, and I don't need 'p'

The variable p in shapename is p2, just a LOCAL form of it.

I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

caddman6425

  • Guest
Re: If within if
« Reply #46 on: January 09, 2012, 07:56:07 PM »
But you don't need it, why define that point twice, just use p2, it's only used in that one spot

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: If within if
« Reply #47 on: January 09, 2012, 11:13:42 PM »
Because it's proper form to keep variables LOCALized.
It works both ways. SO do as you see fit.  8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

caddman6425

  • Guest
Re: If within if
« Reply #48 on: January 10, 2012, 12:50:05 AM »
I'm sorry, I just don't understand.  Again, I'm sorry.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

caddman6425

  • Guest
Re: If within if
« Reply #50 on: January 10, 2012, 11:50:57 AM »
Thank You,I will study