fn: parse
[contents]
f++ :
n++ :
Contents
Syntax
The syntax for
parse(int, string)
@parse(int, string)
Description
The
f++ example
Example of
- function(funcA)
- {
- console($[params[0]]);
- }
- function(funcB)
- {
- write{!p}(ofile, "funcA('hello\, world')")
- }
- parse(2, "funcB()")
n++ example
Examples of
- @function(funcA)
- {
- @console($[params[0]]);
- }
- @function(funcB)
- {
- @write{!p}(ofile, "@funcA('hello\, world')")
- }
- @parse(2, "@funcB()")
- @:=(string, s1="hello", s2="$[s1]", s3="$[s2]")
- @console("@parse(3, $[s3])")
Note that the above is slightly different to the following:
- @:=(string, s1="hello", s2="s1", s3="s2")
- @console("$[$[$[s3]]]")