Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP - Matrix1Utils - Parsing Array Pointers (UDT) to functions - simple example1 on how to flag duplicate records and delete from array]

Bored of the Rings
Years of Service
Recently Online
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 12th Jul 2018 00:01 Edited at: 16th Jul 2018 19:08
More fun with Array Pointers and Parsing them to functions, this is very, excuse the pun, basic. Very crude code at the moment as I knocked it up really quickly. Tons I could do with this code to improve. Will post final version later date.
[update: added new functions 'ShowArrayStatus' to display the contents of array and 'DeleteDups' which removes duplicate entries post sort using LINK ARRAY to the parsed array pointer. replaced embedded IF....THEN....ELSE with SELECT... CASE... ENDCASE... ENDSELECT. ]. Still small updates here to do...... will post as and when...

Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others

Login to post a reply

Server time is: 2018-07-17 14:54:11
Your offset time is: 2018-07-17 14:54:11