Welcome
Welcome to <strong>Sybase Philippines</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

how about bubble sort in PowerBuilder

Updated with the latest technology, this powerful, industry-leading rapid application development tool offers tight integration between design, modeling, development and management. PowerBuilder enables developers to build anything from two-tier and Web applications to applications for a distributed architecture.

how about bubble sort in PowerBuilder

Postby glitchy on Wed Oct 29, 2008 12:49 am

Hi to all PB programmers.

say I have this arrays of string needed to sort in ascending order, what must be the correct algorithm for this? thanks. :?:
glitchy
 
Posts: 3
Joined: Sun Oct 12, 2008 12:31 pm

Re: how about bubble sort in PowerBuilder

Postby glitchy on Wed Oct 29, 2008 12:52 am

glitchy wrote:Hi to all PB programmers.

say I have this arrays of string needed to sort in ascending order, what must be the correct algorithm for this? thanks. :?:


given arrays are the ff:
s_sample[1] = 1215
s_sample[2] = 1201
s_sample[3] = 1211
s_sample[4] = 1213
s_sample[5] = 1206

these must be the output:
s_sample[2] = 1201
s_sample[5] = 1206
s_sample[3] = 1211
s_sample[4] = 1213
s_sample[1] = 1215

any form of reply will be appreciated. thanks.
glitchy
 
Posts: 3
Joined: Sun Oct 12, 2008 12:31 pm


Return to PowerBuilder

Who is online

Users browsing this forum: No registered users and 0 guests

cron