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.

syntax for strings

Featured Replies

Hello,since I'm an absolut newbie with XML I think I need some help.I read the documentation from Arne Bartels already (really great, thanks a lot), but couldn't find the answer for my problem.What I try to do is simple: If the Temperature in Celsius is below 3 Degrees AND eng1 AND/OR eng2 anti ice is off, a warning should be visible.Thats my code for both engines with anti ice off:(A:Ambient temperature, celsius) 3 < (A:Eng1 anti ice, bool) ! (A:Eng2 anti ice, bool) ! && &&The code for engine1 or engine2 with anti ice off:(A:Ambient temperature, Celsius) 3 < (A:Eng1 anti ice, bool) ! (A:Eng2 anti ice, bool) ! || &&I hope I understand this so far, please correct me if I'm wrong.Since the warning should show up as text, I need the code in a string, right.That's what I did for the "OR" Situation:%((A:Ambient Temperature, celsius) 3 < )%((A:Eng1 anti ice, bool) ! )%((A:Eng2 anti ice, bool) ! ) || &&%{if}ICING%{else} %{end}But it doesn't work. I fiddle and fiddle, maybe I need to know more about the right syntax.A little help on this is appreciated.Safe landings

Hi,Try:%((A:Ambient Temperature, celsius) 3 < (A:Eng1 anti ice, bool) ! (A:Eng2 anti ice, bool) ! || &&)%{if}%ICING%Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Hi Jan,it works lika a charm and I understand a bit more about writing things in a strings. Now I will extend the string with more parameters.Thank you so much for your help.Gerhard

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.