on universe, it looks like only fileinfo(var,0) will let you test. 
fileinfo(var,1) etc will abort complaining that var isn't a file variable

On Aug 1, 2013, at 9:52 AM, "Martin Phillips" <martinphill...@ladybridge.com> 
wrote:

>> on universe (not sure of unidata), you can use FILEINFO() to see if 
>> something is a file variable:
>> 
>> x=""
>> crt fileinfo(x,0)
>> 
>> returns 0. Would return 1 for an open file.
> 
> This originated in Prime Information and is available on UniVerse, UniData, 
> PI/open, QM, and probably a few others.
> 
> 
> Martin Phillips
> Ladybridge Systems Ltd
> 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
> +44 (0)1604-709200
> 
> 
> 
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to