Integer Subset Generator Snippets

22 November, 2015   

To print out all possible subsets in lexicographic order

26 August, 2015   

A program which gives a lexigraphic permutation generator.

04 December, 2011   

Example of If Statement in python

01 March, 2011   

Function that generates random passwords.

13 February, 2014   

Just got inspired last night and decided to start a class to get the screen in "blocks" and check which one has changed to update only those.

11 January, 2012   

You can create like following code by Visual MAXScript Editor

Example for using thousand separator (,) for decimal integer numbers

Example for using thousand separator (,) for decimal integer numbers

This allows you to do String.random_alphanumeric(num) to get a random string that is num characters long. Useful for generating random identifier keys.

06 February, 2013   

Delphi code for Hexadecimal to Integer

C++ source code for standard ASCII table generator

11 January, 2012   

An example MAXScript opening and closing Rollout

28 April, 2011   

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

03 December, 2013   

Delphi code to return type of drive that contains the given (full) path.

20 March, 2018   

Converts the given hexadecimal string to an integer.

17 October, 2011   

Just create a new module called modEnumWindows in your project and copy this code into it. The function getWindowList does the trick.

10 November, 2012   

It will return a string of words to represent the integer part of this value.

12 March, 2013   

Delphi code example to draw a gradient line

11 May, 2017   

The following code uses bitwise operators to determine if an unsigned integer, x, is a power of two.

Source code to convert an integer into binary representation