Code: Select all
int.TryParse(relin, out num)
Wie müßte der Code für X# lauten?
Moderator: wriedmann
Code: Select all
int.TryParse(relin, out num)
Code: Select all
local nVal as int
nVal := 0
if int32.TryParse( cVal, ref nVal
....
Code: Select all
Int32.TryParse( relin, OUT num)
Code: Select all
LOCAL readerNames AS STRING[]
readerNames := STRING[]{ 0 }
sc := reader:Status(OUT readerNames, OUT state, OUT proto, OUT atr)
Code: Select all
warning XS0219: The variable 'readerNames' is assigned but its value is never used
Code: Select all
function Hallo() as void
local c1 as string
local c2 as string
c2 := "Franz"
return
Code: Select all
warning XS0168: The variable 'c1' is declared but never used
warning XS0219: The variable 'c2' is assigned but its value is never used