M
Mr. Derpinthoughton
Guest
I've been trying to create a simple function that would accumulate some strings and then I would call it an it would return it, but for some reason I'm getting:
Could not understand line 1 (198)
Which is too vague, I've been looking in forums for examples to compare mine to, but it seems all right, May someone provide me an explanation of what I might be doing wrong?
Code:
put unformatted fcustomer(). /*line one*/
function fcustomer returns char():
define variable vgatherer as character.
define variable i as integer no-undo.
do i = 1 to 10:
assign vgatherer = vgatherer + "thing(s)".
end.
return vbuffer.
end function.
Continue reading...
Could not understand line 1 (198)
Which is too vague, I've been looking in forums for examples to compare mine to, but it seems all right, May someone provide me an explanation of what I might be doing wrong?
Code:
put unformatted fcustomer(). /*line one*/
function fcustomer returns char():
define variable vgatherer as character.
define variable i as integer no-undo.
do i = 1 to 10:
assign vgatherer = vgatherer + "thing(s)".
end.
return vbuffer.
end function.
Continue reading...