Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: [TYPE] weird return value

From: maximo:meteorstudios at: 21-Apr-2004 15:19

> It is happening that your are writing a line of code like this: > > type? /home /http /run /cohen /birds > > the "/" starts a refinement! word that ends at the next "/" > where starts > another refinement! word. > the last refinement (/birds) is returned at the end of the evaluation: > > A confirm: > > length? [/home/http/run/cohen/birds] ;== 5 > > while a path like this gives: > > length? [home/http/run/cohen/birds] ;== 1 > > A path cannot start with "/".
But it should return invalid data or refinement! -MAx