[futurebasic] Re: newalias

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1998 : Group Archive : Group : All Groups

From: Chris <staz@...>
Date: Mon, 13 Apr 98 13:52:47 -0500
>NewAlias is not included in the text file of supported toolbox calls just
>posted, but it auto capitalizes in a program, so I assume it is actually 
>built
>in?
>
>When I try to use it I get the error about assigning a value to this variable
>doesn't make sense.
>
>err = FN NEWALIAS(relativeSpec,targetSpec,aliasHandle&)


I can't see your dimension statments, so I have no way of knowing which 
thing went wrong in your code, but I would suspect that your FSSpecs were 
dimensioned as records. You would therefore need to use...

err = FN NEWALIAS(relativeSpec.nil%,targetSpec.nil%,aliasHandle&)

Pizza, Pizza,

-STAZ   ~)~

--------------------------------------------------------------
STAZ Software * 4387 Leisure Time Dr * Diamondhead, MS 39525
--------------------------------------------------------------
Orders: 800-348-2623      EMail http: //www.stazsoftware.com
  Tech: 228-255-7085             FAX: 228-255-7086     
--------------------------------------------------------------