r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

Pekr
28-Jan-2009
[10247x2]
One question to R3 chat. Was there any change, that enter now does 
not list new messages one each time?
If such functionality was removed, how do I simulate it? L does list 
of msg heading, lm lists msgs even with body. But all of them at 
once, not one in each press ?
Claude
28-Jan-2009
[10249x2]
hi,  i am very to play with R3 but  i don't find a way to do a round 
of a amount or decimal with a scale example i would like to 1/3 in 
a interest amount with 8 decimal . how a can do this with R3  ?  
the simplest way or the better way ?  thank of you all
i find this way => round/to (1 / 3/)   0.00000001
sqlab
28-Jan-2009
[10251]
round/to 1 / 3   0.00000001
Henrik
28-Jan-2009
[10252x2]
It's a known bug
sorry, I misread. (I read too fast these days) There is indeed a 
bug which causes certain roundings to be incorrect with the ROUND 
function, but it should not occur with the above example.
sqlab
28-Jan-2009
[10254]
Is there a reason why help displays infos about ports not in the 
same way as for objects ?
There seems just two minor changes needed
 
in dump-obj
>>    obj [object! port!]
instead of     
 <<   obj [object!]

and in help

>>        print either any [object? value  port? value] [print "" 
dump-obj value] [mold :value]
instead of 

<<       print either object? value [print "" dump-obj value] [mold 
:value]
Gregg
28-Jan-2009
[10255]
Like Oldes, I have a do-clip func in %user.r, along with a cc func 
to copy, vv to paste, and cdr to "change-dir to-rebol-file". Handy 
stuff.
TimW
28-Jan-2009
[10256]
Okay, so there's no GUI in this alpha(stated above)?  Also, why aren't 
the actions of buttons in blocks anymore?  That seems ridiculous.
Steeve
29-Jan-2009
[10257]
uh ? what do you mean ? 
>>load-gui
then
>> view [button "test" do [print "test"]]
TimW
29-Jan-2009
[10258]
Ah...I didn't know you could load the gui.  Thanks.  And the button 
action isn't in a block because you're executing the block with 'do. 
 I guess it's not that big of a deal, but it's annoying to me that 
view[button "test" print "test"] is also valid
Steeve
29-Jan-2009
[10259]
'do and 'print are valid actions usable in the dialect.

check the content of the guie/actions object to know all the authorized 
actions.
>> first guie/actions

== [self do browse run launch view alert close halt quit set of attach 
submit reset clear focus scroll print dump moved signal]
Henrik
29-Jan-2009
[10260]
oh, the GUI is there. I retract my previous statement. :-)
DideC
29-Jan-2009
[10261]
It's not really there, but it's not far away ;-)
Demo
 simply load it from the website.
Henrik
29-Jan-2009
[10262]
well, then that means we can start working on simple GUI demos for 
Carl.
Graham
29-Jan-2009
[10263]
Is there some documentation for the gui?
PeterWood
29-Jan-2009
[10264]
Have you tried http://www.rebol.net/wiki/R3_GUI?
Henrik
29-Jan-2009
[10265]
I'm uploading some sources to my site at:

http://rebol.hmkdesign.dk/files/r3/gui/
Pekr
29-Jan-2009
[10266]
text-view part of demo crashes ...
Henrik
29-Jan-2009
[10267]
elaborate
Pekr
29-Jan-2009
[10268]
eh? you launch demo, go few items down in text-list, select text-view, 
and it crashes to console with:

Cannot parse the GUI dialect at: 'set ts read-string %main.r
Henrik
29-Jan-2009
[10269x2]
Well, that's not my fault. :-)
the demos will of course have to be made correctly. gui-demo.r is 
only a launcher.
DideC
29-Jan-2009
[10271]
It simply try to read %main.r that is not available in the current 
dir. So it give an error.
Henrik
29-Jan-2009
[10272]
Actually it should not crash on that.
Kaj
29-Jan-2009
[10273x2]
Oh cool, shiny pictures! :-)
¨demo¨ is currently awfully slow, though - admittedly running on 
WINE
kcollins
29-Jan-2009
[10275]
Another crash in the demo program: on the "Read HTTP" screen, "Run 
script from net" fails with a "File not found" error.
Josh
29-Jan-2009
[10276x2]
Maybe I am not in the loop on something, but the times I've tried 
to run the view alpha, it seems to be missing the view components
i.e. "layout is not defined"
Sunanda
29-Jan-2009
[10278]
you need to 
   load-gui
first.
Then, don't use layout, that' sso R2. Just:
  view [button "press" do [print "pressed"]]
BrianH
29-Jan-2009
[10279]
The LAYOUT function is not in R3 anymore :)
Graham
29-Jan-2009
[10280]
layout: func [ b [block!] [ b ] for R3
Kaj
29-Jan-2009
[10281x2]
I wrote some pointers on the Syllable site:
http://development.syllable.org/pages/index.html
Josh
30-Jan-2009
[10283]
Thanks Sunanda! :-)   I had been trying both with and without 'layout 
with the same result.  Looks like I skipped a line in the documentation 
somewhere.  I will go try it now!
Luis
30-Jan-2009
[10284]
Running drop demo http://www.rebol.net/r3blogs/0098.html
 I get an:

 Script error: cannot access locals in path system/view/event-port/locals/handlers
DideC
30-Jan-2009
[10285]
Pekr: about 'demo error on '"Text view", there is also the 'read-string 
function that is missing.
Rebolek
30-Jan-2009
[10286x2]
Luis, I would not expect year and half demo to work, it's still alpha 
and some things are changing
...year and half OLD...
Graham
30-Jan-2009
[10288]
Is there  a list of all the widgets available for R3 ?
kcollins
31-Jan-2009
[10289]
Graham, I think you can get a list from within the R3 alpha as discussed 
here: http://www.rebol.net/wiki/GUI_Example_-_View_all_styles
Henrik
31-Jan-2009
[10290]
That list will be larger when the real skin comes in.
Graham
31-Jan-2009
[10291]
So only a very few styles so far then
Henrik
31-Jan-2009
[10292x3]
yes
In fact the list may be so large, we have to group them. Carl and 
I have discussed a tagging system, that lets you know which styles 
are meant to be used for you (end-users) or which ones are meant 
to be used for skinners to create new styles.
http://rebol.hmkdesign.dk/files/r3/docs/style-list.html
http://rebol.hmkdesign.dk/files/r3/docs/style-tree.html


Not a complete list. Some will disappear again, but it's what I have 
here.
Henrik
1-Feb-2009
[10295]
Anyone able to send messages to rebdev? They do not appear in my 
chat and I have duplicates of headings and messages in some places.
Pekr
1-Feb-2009
[10296]
ouch, maybe something is broken? will try :-)