General information
Category:
Coding, syntax & commands
Hi,
This code is works.
*-- MAIN
PUBLIC dDate_1
dDate_1 = DATE()
=MyFunc(dDate_1)
DO MyProc WITH (dDate_1)
RETURN
*-- End of main
*-- Function
FUNCTION MyFunc
LPARAMETERS dDate
*-- This works
? dDate_1,dDate
RETURN .T.
*-- End of Function
*-- Procedure
PROCEDURE MyProc
LPARAMETERS dDate
*-- This does'nt work. "Variable DDATE_1 is not found"
? dDate_1,dDate
RETURN
*-- End of Procedure
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only