On 06/08/2012 21:57, Martin wrote:

I am still trying to understand what exactly you try to archive.

Ok, I read one of the other posts: Do you need to ensure to handle each snippet only once?


Are *ALL* snippets constants?
either
  const t1 = 'abc';
or
  foo('text')

and NEVER result of
- a function snip := copy('aaa',1,2) or snip := foo();
- any operation, such as concatenation: snip := s1+s2;


If the are: use the address of the first char in the snippet
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to