Dear pierrew;
Reference of last post from Gregory, he mentioned that use value alphanumeric for Latitude variable. If we use alphanumeric then syntax is:
PROC GLOBAL
Numeric decimalPlace, Nlength;
PROC LATITUDE
decimalPlace = poschar(".",$);
if decimalPlace<>3 then
errmsg ("Latitude is not correct. Reenter");
reenter;
else
Nlength=length(strip($));
if Nlength<>8 then
errmsg ("Latitude length is not correctd");
$="";
reenter;
else
endif;
endif;
Regards.
How do we know the Length of numeric field with decimal plac
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
-
- Posts: 571
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan