VARLOCAL('byebye') VARPRIVATE('byebye') VARPUBLIC('byebye')Hovewer, a local variable are known for definition into a static programming code,
PUBLIC byebye byebye = 'PUBLIC' CLEAR innerproc1() ? m.byebye innerproc2() ? m.byebye PROCEDURE innerproc1 PRIVATE byebye byebye = 'private' innerproc2() PROCEDURE innerproc2 * now i want know if byebye exists IF VARTYPE(m.byebye)=="U" ? "byebye nor exist" ELSE ? "byebye exist" ENDIF * and it is public or private TRY PUBLIC byebye && if byebye is public VFP ignore the command ? "byebye is Public" CATCH ? "byebye is Private" ENDTRYIf it is PRIVATE and you want known the number of PRIVATE levels,