>Yes
>
>I should be better if there was: set device to memVar :)
Yes you can, and it's called textmerge :).
Since Set Device is for @say commands, this means you want your set of @say commands to produce a string, not a textfile.
Well, take your textfile into the clipboard, paste it between a TEXT TO lcString TEXTMERGE NOSHOW and TEXTEND, replace anything that was coming from a variable with an appropriate expression in terms of fields etc, and there you are. You may need several levels of textmerge, taking chunks from your text into procedures which will return merged text in variables which you would then merge... but the principle is the same.
Imagine this above is your text. Now watch this code:
lcTxt="text"
lcDefArticle="the"
lnWidth=20
text to lcStr textmerge noshow
replace anything that was coming from a variable with an appropriate expression in terms of fields etc, and <<lcDefArticle>>re
you are. You may need several levels of <<lcTxt>>merge, taking chunks from your <<lcTxt>> into procedures which will return
merged <<lcTxt>> in variables which you would <<lcDefArticle>>n merge... but <<lcDefArticle>> principle is <<lcDefArticle>> same.
Today <<padr(date(), lnWidth)>> in a <<lnWidth>> character field
Yesterday <<padr(date()-1, lnWidth)>> in a <<lnWidth>> character field
endtext
?lcstr
See? No file.