Author Topic: Scoped Variable Additional Benefits?  (Read 2908 times)

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Scoped Variable Additional Benefits?
« on: February 16, 2017, 11:56:41 AM »
Up until now I've been using global variables for all my profiles. Now that scoped variables are available I'm wondering if I would gain any benefits in terms of voice recognition or command processing efficiency if I replace appropriate global variables (i.e., don't have to be global) with scoped variables.

Has anyone seen any additional benefits from de-globalizing variables? Maybe Gary could comment further about this?

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2827
Re: Scoped Variable Additional Benefits?
« Reply #1 on: February 16, 2017, 12:33:31 PM »
There is no benefit speed-wise by using one over the other... they're all part of the same routine ;)

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Scoped Variable Additional Benefits?
« Reply #2 on: February 17, 2017, 10:20:33 AM »
Thanks for the input Gary!