World: r3wp
[I'm new] Ask any question, and a helpful person will try to answer.
older newer | first last |
Maxim 17-May-2009 [2705x3] | there is also glayout, which works very out of the box and is built over VID. the api isn't document though. you can look at the glayout-demo app on rebol.org so have an idea of all it can do. it layout engine is very complete, and seems like the basis for how R3 was implemented... they use the same philosophy. glayout handles ALL resizing automatically, and it even includes real scrollpanes, which react to content, as it changes (scrollbars resize automatically, for example) |
there are just a few pointers to know if you want to create completely new styles, its not very complicated. | |
I am using it for my ssh-tool, which will be online within a few days (once I get my web server fully operational). | |
mhinson 17-May-2009 [2708] | how do I get to the r3 console please? I just get a dos type box with a >> prompt. |
Maxim 17-May-2009 [2709] | r3 lives within the OS console |
mhinson 17-May-2009 [2710x2] | so no interactive console any more? |
or at least not for any code that splits across 2 lines | |
Maxim 17-May-2009 [2712] | what do you mean by interactive? its the same but instead of being a separate windows app, the console is directly within the dos prompt. |
mhinson 17-May-2009 [2713] | but it works complety differently? |
Maxim 17-May-2009 [2714] | no its pretty much the same. |
Sunanda 17-May-2009 [2715] | Sadly: <The R3 alpha uses the default Windows console. This is a temporary situation until the new console has been created. > http://www.rebol.net/wiki/Notes_about_Windows_Console |
mhinson 17-May-2009 [2716] | >> print [ ** Syntax error: missing "]" at "end-of-script" ** Near: (line 1) print [ |
Maxim 17-May-2009 [2717] | I hadn't noticed the multi-line difficency ! |
mhinson 17-May-2009 [2718] | So I just have to paste unformatted code only? |
Maxim 17-May-2009 [2719x3] | sunanda... for my part, I'd rather it stay there. at least we have real stdio. |
working in a telnet/ssh session for example, I can (in theory at least) use rebol remotely. | |
for my part, I'd rather use a rebol session as a remote shell, than bash. | |
mhinson 17-May-2009 [2722] | I have to format the code in indented blocks to not lose track of what I am trying to do. Sorry to be so lame. |
BrianH 17-May-2009 [2723] | I do clipboard:// |
mhinson 17-May-2009 [2724] | Ah that sounds like a plan |
BrianH 17-May-2009 [2725] | You don't even need a REBOL header anymore (I changed that). |
mhinson 17-May-2009 [2726x2] | The R3 documentation shows this example for view view layout [ h2 "The time is currently:" h3 form now button "Close" [unview] ] But it does not work. Am I expecting too much from the documentation (sorry) Could someone give me a graphics example that works please to start me off. |
Sorry, I see the R3 docs are a work in progress. I better back out of R3 graphics for now I think or I will get classed as a troll. sorry. | |
Henrik 17-May-2009 [2728] | there are actually two sets of GUI documentation. The right one is located here: http://rebol.net/wiki/R3_GUI |
mhinson 17-May-2009 [2729] | Thanks Henrik, now I have some things that work to play with.. I also want to study Glayout... AND Maxim's SSH-tool project sounds very interesting... Off to bed now, back to parsing tommrow I think. |
mhinson 18-May-2009 [2730] | I have found an example for R3 here (about the only one I could spot so far) http://rebol.net/wiki/Script_Writing_With_The_Visual_Interface_Dialect It looks quite nice with rounded corners to the buttons too. The example crashes when you try to exit so I suppose there is lots to do before this is ready for general use. I know how long developmnet cycles can take so I won't be holding my breath :-) I suspect the R2 functions built in will do more than enough for what I want & that I just need stick with one thing till I can understand it enough to know what it will do & what its limitations are. I showed my parsing project ot a work coleague & he suggested some additional data that it should colect, he was very impressed when I implimented his suggestion & tested it all in under 3 minutes. |
Janko 19-May-2009 [2731] | I am reading about these mezzaines 3 times per day here and I still don't have any clue what they are... I googled but found nothing either.. .so what are mezzaines? |
Graham 19-May-2009 [2732] | mezzanines are functions written in Rebol as opposed to C |
Izkata 19-May-2009 [2733] | In the Rebol console, look at the help for, for example, Foreach and Forall. Under the description of Foreach, it says "FOREACH is a native value" - this means it is implemented directly in C in the interpreter. FORALL says "FORALL is a function value" - it is written using other Rebol commands, and you can see the source of it using "source forall". Mezzanine refers to this second type. |
Graham 19-May-2009 [2734] | mezzanines vs native functions |
Steeve 19-May-2009 [2735x2] | does that mean something in English ?, because in French it does |
hmm... same meaning | |
Janko 19-May-2009 [2737] | then all functions that I make when I program REBOL in REBOL are mezzanines? I thought there is something special about them |
Steeve 19-May-2009 [2738x4] | they just must have an abstract polymorphic usage |
and staying small enough, i think | |
well, the exact definition is, all functions in Rebol which are not natives are mezzanines :) | |
But it''s Carl who makes the choice. | |
Janko 19-May-2009 [2742] | aha :) so it's more analog thing |
Steeve 19-May-2009 [2743] | Final definition: All functions in Rebol that Carl don't want code as natives are called "mezzanines" |
Janko 19-May-2009 [2744] | :)) |
Steeve 19-May-2009 [2745] | Perhaps a new group "Bash Carl" should be more convenient |
Janko 19-May-2009 [2746] | O don't want to be in that group :) |
Maxim 19-May-2009 [2747] | all functions written in rebol, *shipped with rebol* are mezzanines. |
Henrik 20-May-2009 [2748] | Janko: http://hmkdesign.dk/rebol/files/385cc7420409fa08f768a537a52ce4d8-76.html |
Janko 20-May-2009 [2749] | thanks guys, very nice article Henrik! |
Oldes 20-May-2009 [2750] | very ugly link:] |
Henrik 20-May-2009 [2751] | That's RapidWeaver. :-) |
Geomol 20-May-2009 [2752] | Good short article, Henrik. The link to me is outdated. You can use http://john.niclasen.name/, if it's needed. |
BrianH 20-May-2009 [2753x2] | Nice article. The Google ads are funny too :) |
You missed op! functions, but that is probably OK. | |
older newer | first last |