Page 1 of 1

Doubt on the NUM parameter in the map creation.

PostPosted: Thu Apr 07, 2011 4:46 pm
by Viswanathchandru
Hi folks,
I have a doubt in the Map creation. I'm attaching the code here
PINNO     DFHMDF POS=(06,24),LENGTH=21,ATTRB=(UNPROT,FSET,NUM),LENGTH=4,
                COLOR=GREEN,INITIAL='_________'

so, as defined the pinno should be in numeric field rite? but i'm getting aplha numeric value for the input field. what should be done to make it numeric. hope m clear. Guide me on this. Apologies if 'm wrong.

Thanks,
viswa.

Re: Doubt on the NUM parameter in the map creation.

PostPosted: Thu Apr 07, 2011 6:16 pm
by mongan
Even though a field is defined as numeric does not mean that it will have a numeric value in it. Even when the keyboard goes into num lock it can be overriden, and your intial value is underscore, which is not numeric. So, your program will have to check to see if the value in the field is actually numeric.