home *** CD-ROM | disk | FTP | other *** search
- *******************
-
- PROCEDURE Location
-
- PARAMETERS _p1, _l1, _v1
-
- IF TYPE("scrleft_1") = "U"
- scrleft_1 = "Steve Straley's ToolkiT"
- scrleft_2 = "Version 2.0"
- ENDIF
-
- PRIVATE _newl, _oldcolor
-
- _newl = LTRIM(TRIM(TRANSFORM(_l1, "99999999999999")))
-
- IF ISCOLOR() .AND. !(IF(TYPE("scrmono")="U", .T., scrmono))
- WINDOWPUSH(15,10,24,70,"WHITE","BLUE")
- ELSE
- WINDOWPUSH(15,10,24,70)
- ENDIF
-
- WSAYGET(1,1, scrleft_1)
- WSAYGET(1,RIGHT_JUST(scrleft_2, 60), scrleft_2)
- WSAYGET(3,5, "Master File name is " + PROCFILE())
- WSAYGET(4,5, "The name of the Program Module you left was &_p1.")
- IF EMPTY(_l1)
- WSAYGET(5,5, "You compiled without line numbers")
- ELSE
- WSAYGET(5,5, "The line number was &_newl.")
- ENDIF
- IF EMPTY(_v1)
- WSAYGET(6, 5, "No Variable is available")
- ELSE
- WSAYGET(6,5, "The variable name was &_v1.")
- ENDIF
- INKEY(0)
- WINDOWPOP()
-
- * End of File
-
-