General information
Category:
Coding, syntax & commands
Title:
Custom function call no longer works(FPW2.6 to VFP5.0)
I have a function that I added the param "ln_incrcost" to in FPW 2.6 and the function compiled and ran fine. The system that called that function has now been converted to VFP5.0 and when I add the "ln_incrcost" param and compile, I get a "Syntax error" on the line that calls the function. The call compiles fine if I remove the add'l param. I have checked and doublechecked the # of parameters the function expects and what is being sent as well as the order the params are sent in. Is there something else I should be checking for? Is there a parameter limit in VFP? Any ideas? Below are the two function calls:
FPW 2.6
ll_cont = i_updtrn(lc_ttype, lc_item, lc_loctid, ;
ln_trnqty, ln_cnvrate, ;
ld_trandat, la_tier[4], lc_lotno, lc_orgno, ;
lc_orgtyp, lc_tranno, lc_docno, ln_lineno, ;
lc_store, lc_bin, lc_ref, lc_umeas, la_tier[1], ;
lc_serial, ll_addqty, ln_price, ln_disc, ;
ln_taxrate, ln_incrcost)
VFP 5.0
ll_cont = i_updtrn(lc_ttype, lc_item, lc_loctid, ;
ln_trnqty, ln_cnvrate, ;
ld_trandat, la_tier[4], lc_lotno, lc_orgno, ;
lc_orgtyp, lc_tranno, lc_docno, ln_lineno, ;
lc_store, lc_bin, lc_ref, lc_umeas, la_tier[1], ;
lc_serial, ll_addqty, ln_price, ln_disc, ;
ln_taxrate, lc_currid, ln_incrcost, ln_exchrat, ln_fprice, ;
g_extnd(5, la_tier[4], ln_exchrat, 0))
Thanks in advance for the help everyone.
Next
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