Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Borland C++ error reports

Featured Replies

I

from your code above://(float)autoland = 1 ; } else { rwert = 0 ; everything after the // is a commentif the // is not intentional, then remove it. If it is, then put on the next line what has to be compiled://(float)autoland = 1 ;} else { rwert = 0 ; Hope this helps!

Thanks for your help JeanLuc, though the // was a typo; my apologies. It should read: if (*land == 1 && app == 1 && key_loc == 1 && *ap1_master == 1 && *ap2_master == 1 ) { rwert = 1 ; (float)autoland = 1 ; } else { rwert = 0 ; (float)autoland = 0 ; } return rwert;}It refuses to compile and claims that an Lvalue is required. What I don't understand is that *ap1_master, *ap2_master and *land are the Lvars (correct?) and these have been used in various callbacks without any problems.

I've resolved the issue with the rc file. Though this code in the C file still baffles me. Commenting out the function results in no errors and a working gauge file. :-hmmmAppreciate any suggestions. [/font size]

(float)autoland = 1casting goes to the other side of the = sign maybe in your case?

That's done it :)Thanks for your help JeanLuc, appreciate it!Best Regards,Andy

Create an account or sign in to comment

Account

Navigation

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.