1. jay rajan
  2. PowerBuilder
  3. Tuesday, 30 April 2019 10:55 AM UTC

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
  1. Tuesday, 30 April 2019 21:59 PM UTC
  2. PowerBuilder
  3. # 1

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.
jay rajan Accepted Answer Pending Moderation
  1. Tuesday, 30 April 2019 13:22 PM UTC
  2. PowerBuilder
  3. # 2

i Checked.

thanks

 

Comment
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Tuesday, 30 April 2019 11:35 AM UTC
  2. PowerBuilder
  3. # 3

integer has max size of 32768 

 

Comment
There are no comments made yet.
  • Page :
  • 1


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