Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Dir.GetLong
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mackie




PostPosted: Tue Mar 11, 2008 2:02 am   Post subject: Dir.GetLong

How are attributes read from the Dir.GetLong function? All I get is convoluted output.
Sponsor
Sponsor
Sponsor
sponsor
zylum




PostPosted: Tue Mar 11, 2008 3:35 am   Post subject: RE:Dir.GetLong

Well the attribute variable is a bit mask where each bit is a flag representing whether each attribute is true or false. You need to use bitwise operations to extract the bit for each attribute. This is all explained in the help file.. Also, there's a tutorial on bitwise operators in the tutorials forum.
Mackie




PostPosted: Tue Mar 11, 2008 12:59 pm   Post subject: RE:Dir.GetLong

Thanks I'm reading your tutorial right now.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: