Forgive my lack of looking, but I can't seem to find the ElseIf clause.
Do I have to do that long hand for the time being?
Because there isn't one ;)
Ok, final question on that, what about string continuation using the _ at the end of a line
STRING test="this is the first" _
"part of a very long" _
"string"
STRING test="this is the first" +_
"part of a very long" +_
"string"
Each 'part' of a string is limited to 1024 characters.
Thanks, forgot about the limitation.
What about subs?
Sub mytest (def myval as int, _
def myval1 as int, _
def myval2 as int), int
subs and their parameters have to be on one line. The preparser can't handle the _ symbol.
Declare's can use the _ though.
Paul.
Yikes.. ok, thanks..
What about conditional statements?
If m_Level(X, Y, Z).sFloorType = SquareType.sFloor _
And sType <> SquareType.Door _
And sType <> SquareType.StairsDn _
And sType <> SquareType.StairsUp _
Then
return
End If
You tell me. I have done that before and it has worked, but if you are having problems it is better to state so then to try and make me guess ::)
Then THEN is really not necessay and I would probably code it as:
If (m_Level(X, Y, Z).sFloorType = SquareType.sFloor) _
And (sType <> SquareType.Door) _
And (sType <> SquareType.StairsDn) _
And (sType <> SquareType.StairsUp)
return
End If
Thanks again for your patience with me Paul.
I'll work on this some more tomorrow, over 2500 lines as it is, just had those small sticking points.