What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-11-09 01:08:19
excel vba convert 2 Short integers to a Long integer
'If n is a 4-byte Long Integer, the Low (Left) Word is: If n And &H8000& Then LoWord = n Or &HFFFF0000 Else LoWord = n And &HFFFF& End If 'If n is a 4-byte Long Integer, the High (Right) Word is: HiWord = (n And &HFFFF0000)... Add solution -
Python 2021-11-07 17:21:13
long int in python
/******************************************************************************************** As a side note, in Python 3, there is only one type “int” for all type of integers. In Python 2.7. there are two separate types “int” (wh... Add solution -
VBA 2021-10-29 23:14:08
excelvba check if specific bits are set in int32
'Fast VBA function to test if specific bits are set 'within a 32-bit Long integer. If ALL specified bits are set then 'this function returns True. If ANY of the specified bits are 'not set then this function returns False. 'Bits are numbered from 0 to ... Add solution -
Other 2021-10-29 10:48:15
set countdown timer to play audio file android studio
public class MainActivity extends AppCompatActivity { private CountdownTimer timer = null; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_ma... Add solution -
C 2021-10-28 13:22:06
to upper in c
For those of you who want to uppercase a string and store it in a variable (that was what I was looking for when I read these answers). #include <stdio.h> //<-- You need this to use printf. #include <string.h> //<-- You need this to u... Add solution -
VBA 2021-10-27 02:38:15
excel vba left word from Long Integer
'If n is a 4-byte Long Integer, the Low (Left) Word is: If n And &H8000& Then LoWord = n Or &HFFFF0000 Else LoWord = n And &HFFFF& End If 'If n is a 4-byte Long Integer, the High (Right) Word is: HiWord = (n And &HFFFF0000)... Add solution