subscripciones
New Member
Hello, I looking for a way to .p or .w file return another .p file code.
example:
file1.p code:
define variable a as character no-undo.
for each <table>:
assign a = a + <value> + ','.
end.
assign a = trim(a,',').
i need file2.p receive '/home/test/file1.p' parameter and returns a string with the code from file1.
p. file: file2.p
input parameter: '/home/test/file1.p'
string result:
"define variable a as character no-undo.
for each <table>:
assign a = a + <value> + ','.
end.
assign a = trim(a,',')."
thanks
example:
file1.p code:
define variable a as character no-undo.
for each <table>:
assign a = a + <value> + ','.
end.
assign a = trim(a,',').
i need file2.p receive '/home/test/file1.p' parameter and returns a string with the code from file1.
p. file: file2.p
input parameter: '/home/test/file1.p'
string result:
"define variable a as character no-undo.
for each <table>:
assign a = a + <value> + ','.
end.
assign a = trim(a,',')."
thanks