Doug > 1. In universe how can I tell what type of pick file I am looking > at (type 2,3,4,5,6, etc ....)
PROGRAM FILEINFO Get(Arg.) FileName Else Crt 'File : ':; Input FileName If FileName = '' Then STOP End Open FileName To FL Else Crt 'Cannot open ':FileName STOP End Status FStat From FL Else Crt 'Cannot stat ':FileName STOP End FileType = FStat<21> FileMod = FStat<22> FileSep = FStat<23> FileSize = FStat<6> Crt FileName, 'Type = ':FileType, 'Mod = ':FileMod, 'Sep = ':FileSep,'Size = ':FileSize STOP > 3. does anyone have a suggestion on RANDOMLY (or as random as > possible) a way to SELECT a file? I am trying to get @ 500 Are all the keys sequential? If so, a simple program to do a Randomize then assemble a list of random numbers between the min and max values of the key would be easiest. Just write that list to &SAVEDLISTS& and then GET.LIST it. Otherwise you can use SAMPLE or SAMPLED but that's not really randomized as such.. Brian ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
