you are over thinking it.

just put something like

C_LONGINT($0)

$path:=Get file from pasteboard(1)

If ($path="@.4dd") | ($path="@.data")
OPEN DATA FILE($path)
$0:=-1
End if

> 2017/06/30 16:02、Steve Slanec via 4D_Tech <[email protected]> のメール:
>
> When I add $0:=-1 to the end of my On Drop method, the compiler gags.  It 
> says the parameter $0 has not been explicitly declared in the typing methods, 
> and I can’t add a parameter declaration in COMPILER_ALL_METHODS for On Drop 
> (I can’t find anything in the documentation that says I should return a value 
> from this method anyway).




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to