- Home /
Double semi-colons
Is there any usage for ;; at all?
I have just come across the following line of code, without getting any warnings or error messages...
temp = GUILayout.SelectionGrid( temp, cameraOptions, 2, displayStyle1 );;
Comment
Best Answer
Answer by Scribe · Jan 30, 2015 at 11:37 AM
it won't cause errors but neither does it change how the code executes at all, it is just an erroneous type by the coder. it basically says to the compiler:
temp = GUILayout.SelectionGrid( temp, cameraOptions, 2, displayStyle1 );
/* Do absolutely nothing */ ;