Why does it do this?

Blitz3D Forums/Blitz3D Beginners Area/Why does it do this?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It's a bit more work, but could right-to-left evaluation order not be made explicit:
Global A = 5

T1=B()
T2=B()
T3=B()
T4=B()
T5=B()

PP(T5,T4,T3,T2,T1)
WaitKey()
End

Function PP(C,D,E,F,G)
	Print C
	Print D
	Print E
	Print F
	Print G
End Function


Function B()
	a=a-1
	Return a
End Function
It could then be switched to left-to-right with "PP(T1,T2,T3,T4,T5)" or to whatever order is desired without worrying about the compiler's order.