other versions
| GOLF(2gg) | Development | GOLF(2gg) |
NAME¶
pf-url - (output)
PURPOSE¶
Outputs a URL-encoded formatted string.
SYNTAX¶
pf-url <format> , <variable> [ , <variable> ]... \
[ to-error ] \
[ to <string> ]
DESCRIPTION¶
pf-url is the same as pf-out, except that the output is URL-encoded. This means such output is suited for use in URL parameters.
EXAMPLES¶
Create a URL based on arbitrary strings used as URL parameters - for instance space would be encoded as "%20" in the final output:
@<a href='<<p-path>>/update?val=<<pf-url "Purchased %s for %ld dollars", piece_desc, price>>'>Log transaction</a>
See pf-out for more examples.
SEE ALSO¶
Output
finish-output flush-output output-statement pf-out pf-url pf-web p-num p-out p-path p-source-file p-source-line p-url p-web See all documentation
| $VERSION | $DATE |