abundances
2012-05-12 19:54:48
im new to coding in simba whats wrong with this code
Function Walk(bank: Boolean): Boolean;
begin
if bank = True Then
begin
ObjDTM_WalkPath(['61:150:3:1:7:112:26:1:7:99:19:1:7:96:49',
'28:128:3:1:7:113:109:1:7:74:113:1:7:53:131',
'14:111:3:1:7:53:96:1:7:125:66:1:7:104:83',
'40:72:3:1:7:121:62:1:7:32:84:1:7:15:76',
'34:79:3:1:7:57:83:1:7:74:92:10:7:90:95'], 0, 100, 5, True, True);
end;
else
begin
ObjDTM_WalkPath(['154:76:3:10:7:137:97:10:7:137:67:10:7:43:120',
'152:68:3:1:7:32:93:1:7:49:101:1:7:139:78',
'139:36:3:1:7:70:96:1:7:121:83:1:7:142:65',
'112:11:3:1:7:66:131:1:7:88:114:1:7:126:108'], 0, 100, 5, True, True);
end;
end;