Count Snippets


13 July, 2011   

This example uses count to count the number of times 0 appears among v1-v3 (putting it in z1) and likewise for v4-v6 (putting the count in z2). Then, if z1 is 3, then 9999 is placed in v1-v3 using a do repeat loop. The same is done for v4-v6.

MySQL code to find all duplicates in a database column(s)n.

Portable code to count the number of bits

18 January, 2012   

You can combine with SQL JOIN clause to show department name with count.

05 February, 2014   

We created a slide show that allowed the user to move through an array of images.

Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

03 August, 2011   

By the below template we can make for-loop using xslt.

This MATLAB code snippet reads in a file stored in the current directory and stores specified lines from the file in a new cell array for manipulation in MATLAB.

16 June, 2012   

You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites with full page ads, or to redirect visitors to the site's new domain name. You can add also a timer to the script that will allow the page to redirect and the visitors will not need to click a link or type in the new URL.

12 January, 2012   

Here shown a php code example how to associative Array by Column Name

19 April, 2015   

Merges two strings in a way that a pattern like ABABAB will be the result.

Append Non-Breaking Space Between Last Two Words

Examples of using of maxscript to reduce repetitive or difficult tasks.

Take array and create multiple columns, define divisible by value ($divis) from total results then use modulus within the loop. This example shows multiple columns for unordered list items.

18 January, 2012   

SQL GROUP BY Clause returns group of rows. An example code for SQL GROUP BY clause

14 February, 2012   

Use this to size an array for your values

03 March, 2011   

Count Script Execution Time

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.

26 April, 2015   

Recursively determines the size of a directory

If you want to interact with the popular social messaging site, you’ll enjoy this function for sure, which will allow you to truncate your message to 140 characters.