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.

Coding question on <Select><case>

Featured Replies

I've got a coding question regarding the statement.In my eraly programming days with Turbo and Borland Pascal you could expand the statement with a range, i.e. .Is this possible in XML? I've tried it, but it seems not to work.Here is a code snippet (A:TURB ENG1 N2, rpm) etc. further code here I would like to do away with the redundancy by not repeating code. My idea is a follows: (A:TURB ENG1 N2, rpm) etc. further code hereIs this possible. It did not work for me. I'll appreciate some help on this idea.Eberhard------------------------------------Eberhard Haberkornhttp://www.focusthink.com/~weather-maker/betatester.jpghttp://www.focusthink.com/~weather-maker/proudsupporter.jpg

Regards
Eberhard Haberkorn

Beta tester ~ TongassX • FTX Beta team • Aerosoft

Hi,This is the only way you can use :(example from my panel)(L:teflaps,bool) (L:leflaps,bool) and if{ (A:FLAPS HANDLE INDEX,enum) } els{ 7 }Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

This may work ONLY if each LED has a range of 0.3 rpmIt will reduce the case statements by a factor of 4.(A:TURB ENG1 N2, rpm) s1 d 13.2 < l1 20 > || if{ 0 } els { l1 13.2 - 0.3 / near 1 min }etc.... through case 23Not sure how you want it to display, so this value may work too. (A:TURB ENG1 N2, rpm) s1 d 13.2 < if{ 0 } els { l1 13.2 - 0.3 / near 1 min 23 max} Regards,Roman

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Hi,Using a range of values within a as you intend is not possible. However, this is a optimized code that should work: (A:TURB ENG1 N2, rpm) 13.5 > Tom

  • Author

Thanks for your answers. I'll check them out, whether this will work for my instrument.Eberhard------------------------------------Eberhard Haberkornhttp://www.focusthink.com/~weather-maker/betatester.jpghttp://www.focusthink.com/~weather-maker/proudsupporter.jpg

Regards
Eberhard Haberkorn

Beta tester ~ TongassX • FTX Beta team • Aerosoft

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.