• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Audio Panel XML problem

Using a special character to denote spaces is fine but how do you explain the if{ els{ where a space is not allowed before the bracket?

As for obscure programming languages FORTH has to be high on the list as well. I was a member of a group that met with Glen Hayden, Forth guru in Mountain View, CA weekly to learn to program using Forth. I will say that if you want to learn a interpretive stack based language Forth is it. I.E. the statement 1 2 + . returns 3. XML is much like Forth in that respect. In fact as I remember you build code segments in Forth called words that you can then use in mode code segments etc. A complete program is then built from a dictionary of the words you have created. Forth is quite powerful, I recall that the Kitt Peak observatory used Forth in their equipment to position the mirrors in their solar telescope. Of course that was in the late 70's.

David
 
BTW, here is a cab file of the finished Narco CP136 Audio Panel for anyone who is interested.
 

Attachments

Last edited:
Yes, it is a "language" in the sense that it is part of the formal name.

But it is a true language regardless XML's "a method of human communication, either spoken or written, consisting of the use of words in a structured and conventional way". Latin is a language even though no one programs in it.

XML is a good language to describe FS scenery in a structured way.

In the days when programs were written long hand before being transferred to punched tape or cards we wrote the symbol ˽ for a space.

Also if Microsoft had prepared a formal specification the syntax of if would be defined, possibly as a sequential operator
 
In fact as I remember you build code segments in Forth called words that you can then use in mode code segments etc. A complete program is then built from a dictionary of the words you have created.

The XML equivalent of FORTH's "words" would probably be the @Macro structure. An @Macro is a literal string replacement for a (possibily) complex XML statement.

Check the Wiki for some neat examples of how to declare @Macros and use them.

That is also one of the strengths of LISP in that one may construct a pseudo-high level language using LISP's recursive properties.
 
Back
Top