Stephen Barncard wrote:
Thanks, Mark for those insights on the engine - the more we know how it works, the more we can get out of rev!

sqb

 > >   repeat while(x+1) < 10

 >   put word(x+1) of "This is a test"
 >
>Although this is consistent, it still *looks* wrong to me... it looks like >"while" and "word" are functions in the example above. Is it just me, or is

 > >this a bug that has been in the engine for a long time?

Mark.

An interesting exercise that can also have practical application is to play with the token chunk type, e.g.:

  get "put MyFunc(tSomeArray[tKey]) into fld 2"
  repeat for each token tToken in it
     put tToken &cr after tList
  end repeat
  put tList


Yields:

put
MyFunc
(
tSomeArray
[
tKey
]
)
into
fld
2


--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to