argpost

Read(44) Label: post, parameter invocation,

Description:

Set a POST parameter to be passed to the to-be-called dfx file.

Note:

The function sets a POST parameter string argpost to be passed to the dfx file.

Example:

  argtest.dfx

Define a cellset parameter:

 

A

 

1

return argpost

 

Access argtest.dfx through the URL to pass in the POST parameter. Below is the content of test.html:

<form method=post action="http://127.0.0.1:8503/argtest.dfx">

<input type=text name="aa" value="aa111">

<input type=text name="bb" value="bb222">

<input type=submit value=submit>

</form>

Start HTTP service to access test.html:

Click submit button to get the following result:

arguments()

Description:

Return a list of the current dfx file’s argument names.

Syntax:

arguments()

Note:

The function returns a list of the current dfx file’s argument names.

Return value:

A sequence

Example:

 

A

 

1

=arg1+" world!"

 

2

=arg2+88

 

3

=arguments()

Return a list of the current dfx file’s argument names