Search the archive:
Simviation Main Site
|
Site Search
|
Upload Images
Simviation Forum
›
Design Forums
›
Scenery & Panel Design
› Values in XML
(Moderators: Mitch., Fly2e, ozzy72, beaky, Clipper, JBaymore, Bob70, BigTruck)
Previous Topic
|
Next Topic
Pages: 1
Values in XML (Read 217 times)
Jul 24
th
, 2006 at 1:08am
gr31
Offline
Colonel
Posts: 95
Just wondering if a value (variable) in XML can be declared an "absolute value". The intent is to convert any negative number returned to a positive. Any ideas?
Ken
Snakedriver 70/71
Back to top
IP Logged
Reply #1 -
Jul 24
th
, 2006 at 10:48am
garymbuska
Offline
Colonel
I would rather be flying
Jacksonville, Florida
Gender:
Posts: 2850
In theroy it sounds good but I am not sure if it will work.
You can try to google the word XML and it should give you some sites to check out, you should be able to find your answers in one of the sites listed. Or maybe someone here will know for sure I have never tried that but like I said it sounds like it might but the syntax is the key. 8)
Back to top
IP Logged
Reply #2 -
Jul 24
th
, 2006 at 11:44am
dsdawson
Offline
Colonel
I love YaBB 1G - SP1!
Posts: 26
I think it should be as simple as
(L:some_variable, number) abs (>L:some_variable, number)
Doug
Back to top
IP Logged
Reply #3 -
Jul 24
th
, 2006 at 8:06pm
Travis
Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX
Gender:
Posts: 4515
I recommend a check at the
FFDS
forums. They have an entire section in there devoted to XML creation. Should be easy to get an answer; in fact, there probably already is one.
Back to top
IP Logged
Reply #4 -
Jul 25
th
, 2006 at 10:51am
gr31
Offline
Colonel
Posts: 95
Thanks guys! Doug, the "abs" does work. You can use " (A:Some_Variable, number) abs " to return the absolute values of any of the variables.
«
Last Edit: Jul 27
th
, 2006 at 9:25pm by gr31
»
Snakedriver 70/71
Back to top
IP Logged
Pages: 1
Previous Topic
|
Next Topic
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Current Flight Simulator Series
- Flight Simulator X
- FS 2004 - A Century of Flight
- Adding Aircraft Traffic (AI) & Gates
- Flight School
- Flightgear
- MS Flight
Graphic Gallery
- Simviation Screenshots Showcase
- Screenshot Contest
- Edited Screenshots
- Photos & Cameras
- Payware Screenshot Showcase
- Studio V Screenshot Workshop
- Video
- The Cage
Design Forums
- Aircraft & 3D Design
- Scenery & Panel Design ««
- Aircraft Repainting
- Designer Feedback
General
- General Discussion
- Humour
- Music, Arts & Entertainment
- Sport
Computer Hardware & Software Forum
- Hardware
- Tweaking & Overclocking
- Computer Games & Software
- HomeBuild Cockpits
Addons Most Wanted
- Aircraft Wanted
- Other Add-ons Wanted
Real World
- Real Aviation
- Specific Aircraft Types
- Autos
- History
On-line Interactive Flying
- Virtual Airlines Events & Messages
- Multiplayer
Simviation Site
- Simviation News & Info
- Suggestions for these forums
- Site Questions & Feedback
- Site Problems & Broken Links
Combat Flight Simulators
- Combat Flight Simulator 3
- Combat Flight Simulator 2
- Combat Flight Simulator
- CFS Development
- IL-2 Sturmovik
Other Websites
- Your Site
- Other Sites
Payware
- Payware
Old Flight Simulator Series
- FS 2002
- FS 2000
- Flight Simulator 98
Simviation Forum
» Powered by
YaBB 2.5 AE
!
YaBB Forum Software
© 2000-2010. All Rights Reserved.