Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterproblem in Case of SET POINT TO , (comma) and calling thor_proc_getfieldnames.prg | Must specify additional parameters #6

Closed
ToniKoehler opened this issue Oct 12, 2018 · 1 comment

Comments

@ToniKoehler
Copy link

The following classes, crashes into error-message "Must specify additional parameters" if the VFP-Environment is set to:

SET POINT TO "," (comma)
SET DECIMALS TO 1 (or higher) [In my example is set to 4]
SET FIXED ON

  • Class othor of Classlib thor.vcx
    Method "ExecuteThorProc"
    Error comes in line 21 because lcParams have more then 4 parameters
    In line 16 the transform works wrong with comma as SET("POINT").

  • Class thor_run of Classlib thor_run.vcx,
    Method "AssignThorDispatcher -> Procedure ExecuteThorProc
    Error comes in line 219 because lcParams have more then 4 parameters
    In line 214 the transform works wrong with comma as SET("POINT").

Here is the problem:
TRANSFORM(1) *displays 1,000

So lcParams becomes additional parameters like "with lxP1, lxP2,000, lxP3,000, lxP4,000"
The thor_proc_getfieldnames.prg but have only 4 parameters. In this case the PCOUNT() = 7 !!!

It's very easy to fix.
---> Switch the TRANSFORM() to ALLTRIM(STRING())

DougHennig added a commit that referenced this issue Oct 12, 2018
Removed ERR and FXP files from repository
@DougHennig
Copy link
Member

Fixed in the latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants