Skip to content
View in the app

A better way to browse. Learn more.

Learn more

initialization of variables

Featured Replies

Hi all,I'm trying to initialize some variables when my .gau file is loaded. I thought the ModuleInit() would be a good spot to do so but it doesn't seem to work. I simply can't declare a global variable like FLOAT64 tick = GetTickCount(); either because GetTickCount() is not a constant. So where do I initialize these global variables?Thanks,Thomas

  • Moderator

Most commonly, variable init is handled in the case PANEL_SERVICE_POST_INSTALL...

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thanks Bill, that seems to work just fine.Thomas

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.