That entirely depends on the language Poromenos. With VBScript it is a tad easier, but with something more C like, such as the POVRay SDL, you can do it several dozen ways:
sphere{<0,0,0>,1 pigment{color rgbt <1,1,1,1>}}
sphere {<0,0,0>,1
pigment{
color rgbt <1,1,1,1>
}
}
sphere
{<0,0,0>,1
pigment
{
color rgbt <1,1,1,1>
}
}
And so on... I generally use two spaces and the second format, but others might use three spaces, tabs, or any number of different points of indention. However, if the SDL 'required' you to indent as part of the language, you wouldn't get 3D signitures or one line shortest code contests entries like:
background{rgb<.5.7,1>}global_settings{radiosity{error_bound.5count 99}ambient_light#local _=function{pattern{agate turbulence 1octaves 9}}0}isosurface{function{(y+.07-_(x+9,y,z)*.115)/20}accuracy 1e-5pigment{rgb 1}}light_source{5<8,4,2>}
You can see the result of this as the second one down at this site:
http://astronomy.swin.edu.au/~pbourke/povray/scc3/final/
Yeah, that is a bit of a silly reason to not use indention, but the point is, the option exists. ;) |