Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Declaring Arrays in PB 12.5.1

$
0
0

Sorry if this is rudimentary, but I need to declare and load an array for X number of rows of data with various datatypes, sort it and then read the information in the sorted order.

 

The data I need to store in the array is:

 

integer row_number

 

//FROM


string s_country_code

string s_state_province

string s_city

string s_county

string s_postal_code

 

//TO

string s_country_code2

string s_state_province2

string s_city2

string s_county2

string s_postal_code2


decimal s_base_rate

decimal s_tolls

 

integer aleph_cartype

 

I want to create one array with all of the above variables and sort it by the FROM variables and then the TO varibles.

 

I think I know how to handle this if all of the variables are strings, but no so much if the array includes more than strings (e.g. integers and decimals as shown here).

 

Thank you!!

 

Paul


Viewing all articles
Browse latest Browse all 2881

Trending Articles