[1/6] from: lp:legoff:free at: 20-Apr-2005 9:38
Hello, rebolers, Objects don't have usually a "type", except faces. Faces are objects, but with an attribute "type" : face/type: 'face What makes this word ? Is is just a flag to the show function ? thanks for help, ===Philippe
[2/6] from: antonr::lexicon::net at: 20-Apr-2005 22:54
Hi Philippe, I don't know the reason, but if you make your own face, without the TYPE attribute, then viewing it gives you this error:
>> view my-face
** User Error: bad face in screen pane! ** Near: show scr-face if new [do-events] Anton.
[3/6] from: gabriele::colellachiara::com at: 20-Apr-2005 15:45
Hi Anton, On Wednesday, April 20, 2005, 2:54:25 PM, you wrote: AR> I don't know the reason, but if you make your AR> own face, without the TYPE attribute, then viewing AR> it gives you this error: Faces only work if they are derived by the FACE object. If you make your own, it needs to have exactly the same words and in the exact same order. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
[4/6] from: lp::legoff::free::fr at: 20-Apr-2005 23:15
Hello Gabriele, and Anton, Thanks for your help. Hooo about help...If I set the system/options/help to true, what's happen ? Is it for debugging ? ===Philippe Selon Gabriele Santilli <[gabriele--colellachiara--com]>:
[5/6] from: antonr::lexicon::net at: 23-Apr-2005 0:09
Philippe, I've never seen it used in anything. I think it's unused but "reserved" for the future. Anton.
[6/6] from: rebolforces:gmai:l at: 30-May-2005 8:55
On 4/23/05, Anton Rolls <[antonr--lexicon--net]> wrote:
> Philippe, > > I've never seen it used in anything. > I think it's unused but "reserved" for > the future. > > Anton.
It will probably come back to bite me, but in my old card game engine, I actually re-use 'type in the face object for my own purposes. Since the origins of that script is really, really, old I suspect I was doing something inline with how CID was using 'type to store the the style name. Cheers, Allen