sequence of lines

ASJ Botenga bv.wallewijn at planet.nl
Thu May 29 00:41:49 PDT 2008


Lectores (programmers) salutem

A few days ago there was a question of choosing e sequence of lines, built
in a macro.
I would do this by putting the sequence you want on the clipboard (don¹t
forget to make that numerous). If you do not want to discontinue the
procedure, give a choice in a YesNo window beforehand, followed by an if
else comparison, for example:

Noyes "do you want a sequence of lines now"if clipboard()="Yes"getscrapok
"typ 1rst line dot last line"
selectwithin seq()>val(clipboard()[1,"."][1,-2])-1 and
seq()<val(clipboard()[".",-1][2,-1])+1 endif

or shortening the last sentence, making use of changes text->values:

selectwithin seq()„val(clipboard()[1,"."])and
seq()¾100*val(clipboard()[".",-1])endif

I am curious, however, if Panorama has a single feature for that task or
perhaps an overall better way of performing this ?

Allard Botenga



More information about the Qna mailing list