bcc icon indicating copy to clipboard operation
bcc copied to clipboard

[SCT] Varptr x:int = Varptr y:int fails

Open GWRon opened this issue 4 years ago • 0 comments

SCT Test "tests/framework/language/var_01.bmx" failed:

Function vars3(i1:Int Var, i2:Int Var, i3:Int Var)
	i1 = i2
	If Varptr i1 = Varptr i2 Then '---- fails here
		Print "i1 = i2"
	End If
	
	vars4(Varptr i3)
End Function
  Compile Error: Subexpression for 'Varptr' must be a variable or an element of an array, pointer or string
  [/home/ronny/Tools/SimpleCodeTester/tests/framework/language/var_01.bmx;64;0]
  Build Error: failed to compile (65280) /home/ronny/Tools/SimpleCodeTester/tests/framework/language/var_01.bmx

GWRon avatar Aug 28 '20 10:08 GWRon