Integer Arrays Snippets


15 November, 2012   

If one of the input values is zero, then the program will end with an error code of "1" in the job control card listing following the execution of the program. Normal output will be one line printed with A, B, C, and AREA. No specific units are stated.

21 July, 2012   

VB.NET Code for Auto Scrolling Controls

The following code snippet shows you how to create a circle shaped window, by using a few Win32 API calls. You can also drag the window on the screen by using the mouse.

08 May, 2013   

Shred attribute values out of an XML Variable in SQL 2008

15 November, 2012   

This program has two input checks: one for a blank card to indicate end-of-data, and the other for a zero value within the input data. Either condition causes a message to be printed.

21 September, 2013   

Returns the hexadecimal representation of the given long (4 byte) word value.

This function is used to reverse an integer array. For example, if the array is {1,2,3,4,5}, these functions will return an array like {5,4,3,2,1}. The user needs to pass in a pointer to the array and the size of the array, and the function will return a pointer to an array in the reverse order.

13 November, 2012   

Creating and maintaining an effective JavaScript toolbox can greatly reduce development time. This script will show you how to include specific snippet modules on individual pages.

02 April, 2012   

Delphi code example for Grayscaling A Bitmap

16 April, 2011   

There are times when you need to split a large file into several smaller ones (for whatever the purpose is). The following two methods use Delphi TStream objects to break a file into several files with predefined size; and to merge those files back to the original.

Must have a field named Weight. The more Weight the more often the record is selected. Weight should be an integer between 1 and 10.

31 October, 2011   

It is a class file which can export to excel. simply call the function and give sql Query and sql connection.

19 February, 2012   

Throwtest an application that demonstrates how to define, throw, and handle exceptions. This application doesn't do anything other than print out some text, but if you might want to study it and play around with it to learn more about how exceptions work in Java. See the usage instructions in the source code.

21 July, 2012   

VB.NET Code for Julian Day of The Year

13 May, 2013   

You can also run this an anonymous SQL Block

13 March, 2011   

This code convert String to Hexadecimal

06 February, 2013   

Delphi code for String to Hexadecimal

16 January, 2013   

Example for adding items into combo by using Win32 API. Written by Nir Sofer

The following code snippet shows how to draw a rotated text on a form.

13 March, 2014   

Delphi code example for [UNIT] ROT1 Encrypt Strings