The MetaCard documentation (Concepts & techniques - 33) says that 'The size
of token chunks is defined by the MetaTalk language interpreter. In
general, each continuous string of numeric or alphanumeric characters is a
token, as is each punctuation mark.'
I've tryed to precise the 'fuzzy logic' of 'in general'.
The result is in the following table.


Character       Is a delimiter            is a token
,                      y                      y
/                      y                      y
=                      y                      y
+                      y                      y
-                      y                      y
*                      y                      y
(                      y                      y
)                      y                      y
[                      y                      y
]                      y                      y
<                      y                      y
>                      y                      y
{                      y                      y
}                      y                      y
;                      y                      n
space                  y                      n
tab                    y                      n
" (if 2 presents)      y(token=chars between) n
?                      n
.                      n
:                      n
@                      n
'                      n
_                      n
`                      n

Don't use # or \ in the string to parse.


I hope this can be of some interest for somebody else than me.


Herv� Chaudet


--------------------------------------------------------
 Herve Chaudet  &  Liliane Pellegrin-Chaudet
  e-mail : [EMAIL PROTECTED]
  mobile : 0 608 05 98 09
  Laboratoire de Biomathematiques, Informatique Medicale
  Unit� UPRES EA 2672
      Faculte de Medecine - 27, Bd Jean Moulin
      13385 Marseille cedex 5 - France
      Tel (33) 0 491 791 910 - Fax (33) 0 491 794 013
  Service de l'Information Medicale
      Hopital Nord - Chemin des Bourrelly
      13326 Marseille cedex 15 - France
      Tel (33) 0 491 968 020
--------------------------------------------------------



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to