I don't want to bastardize the simplicity that is the Rev scripting language, but I often find myself extracting the same data repeatedly in the same ways. For example:
Code: Select all
get someFuncThatReturnsFourLines()
put line 1 of it into tLine1
put line 2 of it into tLine2
put line 3 of it into tLine3
put line 4 of it into tLine4
Instead, I think it would be far more efficient (and just as readable) to do the following:
Code: Select all
put the lines of someFunc() into tLine1, tLine2, tLine3, tLine4
Or something similar.. perhaps a new command ("extract" comes to mind, but I'm sure there's plenty of good ideas out there). If there's already a way to do something similar (using chunks and not regex) then I await to be amazed by someone.
Jeff M.