You cannot use nested statements in JAL. Below is the correct script  Dim VolumeType, String  FTPDir( Server, id, pwd, "FilePathName", Volume )  Left( volume, 1, VolumeType)  IsEqual( VolumeType, ...  : I am receiving a syntax error when trying to set a vaiable to a subset of  : another variable. Basically, I have this: Dim Volume, String  : Dim VolumeType, String  : FTPDir (Server, id, pwd, "FilePathName",Volume)  : Set VolumeType, (Left(volume,1))  : IsEqual...  : It works if I use a static string but not with the variable. The value will  : always be a string.  : Thanks in advance.   
   |