View Single Post
Old 26 February 2015, 22:06   #20
Cylon
Registered User
 
Join Date: Oct 2014
Location: Europe
Posts: 470
Quote:
Originally Posted by saimon69 View Post
so now here i am with a Illegal Procedure Call concerning DrawBlk:

following the above syntax i modified it as DrawBlk{params} because with round braces was having syntax error...
"Illegal Procedure Call" happens, when you try to call a Function as a Statement or vice versa.

Example:
Code:
If NOT DropPiece{}
indicates it is a Function, because it returns a value, so we can check it with
If NOT (return from)DropPiece{}.

EDIT: (return from) indicates a spark in your mind, as a NOT expects an argument that is kindly delivered as a return value from a Function{}

Last edited by Cylon; 18 April 2015 at 01:52. Reason: Try to teach something and avoid further misunderstandings
Cylon is offline  
 
Page generated in 0.04450 seconds with 11 queries