The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by chouglez]

Been new 2 PFC and UR book, have some queries
1. Why do we need 2 deactivate the DEBUG service during compilation time

2. Why only use gnv_app and not abc_xyz.
import-bot (20211) [Avatar] Offline
#2
Re: Some Queries
[Originally posted by nbodnar]

> Been new 2 PFC and UR book, have some queries
> 1. Why do we need 2 deactivate the DEBUG service during compilation time
>
> 2. Why only use gnv_app and not abc_xyz.

gnv_app is the one true GLOBAL variable used by the PFC. It's the one
persistent, extendable object that lives thru the life of a PB/PFC
application.

Hence, a global is acceptable in this case and it's referenced EVERYWHERE.
You can't use any other name.