Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array Differentiation
#1
Is there anyway to differentiate between different array type?
Let's say I have 4 arrays with 4 different types:

Macro Macro132
Code:
Copy      Help
ARRAY(int) aInt.create(3)
aInt[0]=1
aInt[1]=2
aInt[2]=3

ARRAY(double) aDouble.create(3)
aDouble[0]=1.0
aDouble[1]=2.0
aDouble[2]=3.0

ARRAY(str) aStr="abc[]def[]ghi"

ARRAY(lpstr) aLpstr.create(3)
aLpstr[0]="abc"
aLpstr[1]="def"
aLpstr[2]="ghi"
How to differentiate between aInt, aDouble, aStr and aLpstr in coding not just by simply looking at their names?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)