home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8426 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  768 b 

  1. Path: sparky!uunet!mcsun!news.funet.fi!uta!vehka.cs.uta.fi!csfraw
  2. From: csfraw@vehka.cs.uta.fi (Francis Akoto)
  3. Newsgroups: comp.lang.pascal
  4. Subject: What is "shr" and "shl" ???
  5. Message-ID: <8266@kielo.uta.fi>
  6. Date: 22 Jan 93 10:35:21 GMT
  7. Sender: news@uta.fi
  8. Reply-To: csfraw@vehka.cs.uta.fi (Francis Akoto)
  9. Distribution: world
  10. Organization: University of Tampere, Finland
  11. Lines: 15
  12. Nntp-Posting-Host: vehka
  13.  
  14. Going through a pascal source code i came across these: shl and shr
  15.  
  16. shl is used like this : 
  17.                      pt = 1 shl (j-1);........ pt and j are integers.
  18.  
  19. what do these two "functions or whatever they are do
  20.  
  21.  
  22. email me the answer..... hanks
  23.  
  24. --
  25. gallows
  26.      Opinions are like assholes;
  27.      Everybody has one but nobody wants to look at the others.
  28.  
  29.