ID:266978
 
I have the following code.
pick(walk(b,SE,sp),walk(b,SW,sp),walk(b,S,sp))
The errors are bellow
main.dm:92:error::missing expression
main.dm:92:error::missing expression
main.dm:92:error::missing expression
main.dm:92:pick :warning: statement has no effect

I have no clue what this means so could you please help me. And why in the reffrence are the probs mixed with the pick() I thought the pick just picked does it really effect the prob?
Green Lime wrote:
I have the following code.
pick(walk(b,SE,sp),walk(b,SW,sp),walk(b,S,sp))
The errors are bellow
main.dm:92:error::missing expression
main.dm:92:error::missing expression
main.dm:92:error::missing expression
main.dm:92:pick :warning: statement has no effect

I have no clue what this means so could you please help me. And why in the reffrence are the probs mixed with the pick() I thought the pick just picked does it really effect the prob?

You are supplying pick() with other procs as your items, which is not supported. Actually, it may be if the proc is known to return a value, but I don't believe walk() does so. Try this instead:

walk(b, pick(SE, SW, S), sp)
In response to Skysaw
Very smart thinking Skysaw thanks :) Gosh Im just so stupid I didnt see that.