1. jay rajan
  2. PowerBuilder
  3. Tuesday, 30 April 2019

Hii ,

PLEASE help me ...

I have a code

int li_pkey 

long ll_pkey 

ads_data.Object.pkey[ll_row] = '429456'

 

li_pkey = ads_data.Object.pkey[ll_row]

 

THEN li_pkey  RETURN GARBAGE VALUE 

BUT WHEN I USE THIS LINE 

ll_pkey = ads_data.Object.pkey[ll_row]

 

then ll_pkey  return correct value.

 

why this hapen 

'429456' is the integer type value 

Olan Knight Accepted Answer Pending Moderation
0
Votes
Undo

Mmike S is correct.
Any datatype will return garbage if you try to store more than it's maximum size.

Olan

 

Comment
There are no comments made yet.
  1. Tuesday, 30 April 2019
  2. PowerBuilder
  3. # 1
jay rajan Accepted Answer Pending Moderation
0
Votes
Undo

i Checked.

thanks

 

Comment
There are no comments made yet.
  1. Tuesday, 30 April 2019
  2. PowerBuilder
  3. # 2
mike S Accepted Answer Pending Moderation
1
Votes
Undo

integer has max size of 32768 

 

Comment
There are no comments made yet.
  1. Tuesday, 30 April 2019
  2. PowerBuilder
  3. # 3
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.