Skip to content

l-cdc/snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

snippets

Random snippets

VB/UnsignedAdd

Allows to add a (signed) increment to a LongPtr, treating the latter as unsigned. Useful for pointer arithmetic. Should work for both 32 and 64 bit Office.

Known issues

  • overflow for UnsignedAdd(CLngPtr("-9,223,372,036,854,775,808"),CLngPtr("-9,223,372,036,854,775,808"))

About

Random snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published