I wonder why Celestia's catalog files are written with all that space when I can write it without the space and it will work just as fine. Here is what I mean.
The normal script:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
Or I can write it like this without the long spaces and it can still work:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
why are files written with spaces?
-
Topic authorPolchei
Re: why are files written with spaces?
No, that's not how I the message is suppose to look, I didn't post it like that. These message boards aren't very flexible. I wish I could edit my message and do it over. Let me say it again...
I wonder why Celestia's catalog files are written with all that space when I can write it without the space and it will work just as fine. Here is what I mean.
The normal script:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
Or I can write it like this without the long spaces and it can still work:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
I wonder why Celestia's catalog files are written with all that space when I can write it without the space and it will work just as fine. Here is what I mean.
The normal script:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
Or I can write it like this without the long spaces and it can still work:
"c" "HD 75732"
{
Texture "jupiterlike.jpg"
Mass 70
Radius 56000
EllipticalOrbit {
Period 0.1212
SemiMajorAxis 0.241
Eccentricity 0.339
ArgOfPericenter 279
MeanAnomaly 67
}
RotationPeriod 10
}
-
Topic authorPolchei
Re: why are files written with spaces?
Noooo! It did it again, the message is not suppose to look like that. How can I explain what I'm saying if the messege won't post as it's suppose to????
-
- Posts: 1034
- Joined: 16.12.2002
- With us: 22 years
- Location: People's Republic Of Cork, Ireland
Register as a user so you can edit your posts.
Then use the box to print text with lots of spaces etc.
Then use the
Code: Select all
Code
-
- Posts: 1034
- Joined: 16.12.2002
- With us: 22 years
- Location: People's Republic Of Cork, Ireland
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 1 month