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

World: r3wp

[Rebol School] Rebol School

Oldes
18-Feb-2009
[2277x3]
>> do in c to-word "f"
1
>> c/('f)
1
>> s: "f" c/(to-word s)
1
Pekr
18-Feb-2009
[2280]
LLVM - isn't it just virtual machine?
kib2
18-Feb-2009
[2281x2]
Oldes: sorry, it was diner time for me: thank you !
Oldes: can you explain the last one ? It's sort of voodoo to me.
Pekr
18-Feb-2009
[2283]
The smallest LLVM binaries download is 14MB? Ouch :-)
Oldes
18-Feb-2009
[2284x2]
use "action" instead of 's.. the function name is word so you have 
to use word to access it.
I'm not sure what you want to do.. maybe there is some better method 
then using objects.
kib2
18-Feb-2009
[2286]
Oldes: ok, that's very clear and it works fine for me. (and no, I 
really need to use thoses objects).
Oldes
18-Feb-2009
[2287x2]
You can also use shortcut for the method of the object:
>> c: context [v: 1 f: func[i] [print v: v + i]]
>> ff: get in c 'f
>> ff 2
3
>> ff 2
5
(I never used such a code before:)
kib2
18-Feb-2009
[2289]
Nice, really: so many ways to do this!
Henrik
18-Feb-2009
[2290]
IN is a nice way to tell whether a specific word exists in an object:

if in word 'foo ['bar]
kib2
18-Feb-2009
[2291x2]
Henrik: yes, in seems really helpful.
I just managed to get my new LaTeX backend working for my markup 
engine.
Here's the HTML output: http://kib2.free.fr/REBOL/index.html
And the PDF (from LaTeX): http://kib2.free.fr/REBOL/index.pdf
Now, I have to work on lists full time :)
Vladimir
18-Feb-2009
[2293]
@Anton: I work on Linux and win... :)

So if you have something usefull I would be glad to test it with 
tunnel script ...
Currently making c64 version of tunnel mapper :)
Anton
19-Feb-2009
[2294]
Can't upload to my website at the moment for some reason, so I'll 
just post it to Vladimir privately for the moment, and try again 
later.
Claude
19-Feb-2009
[2295x8]
hi i would like to give you a example i am trying to do of a CRUD 
application
here it is http://users.skynet.be/fc078613/client/client.rip
you mus just de-rip the file with rebol
do client.rip
that create a folder and you must  execute the script with rebol 
START.R
i use rebGui 118 and rebDB203 to do it
i would like to improve my how to !-)
give me some advice
Graham
19-Feb-2009
[2303]
first thing ... add tool-tips for the english translation!
Vladimir
19-Feb-2009
[2304]
Looks interesting, but I don't speak french :)
And what is it suppossed to do ?
Graham
19-Feb-2009
[2305x2]
Create Retrieve Update and Destroy records = CRUD
delete ...
Claude
19-Feb-2009
[2307x5]
it is just a simple example of a create refresh update delete of 
a pretty db rebdb with rebgui
i would like to optimize this with rebdb and rebgui
like we can have example with java
with entity and "percistence"  i would like to have a java EE5  but 
in rebol or better in R3
I would like to see proposals from the community to improve this 
point in R2 and rebdb, rebgui at first.
and later in R3!
kib2
23-Feb-2009
[2312]
Hi. Is there a build-in function do do something like this : given 
the number 5 and the string "abc"  construct the string "abcabcabcabcabc" 
(equal 5 times "abc")?
Henrik
23-Feb-2009
[2313x2]
I think the closest is to-string reduce array/initial 5 "abc"
to-string reduce
 is faster than rejoin
kib2
23-Feb-2009
[2315]
Henrik: thanks you!
Henrik
23-Feb-2009
[2316]
I see that reduce is not even necessary.
Geomol
23-Feb-2009
[2317]
And if you're really concerned about speed, this is a little faster:

to string! array/initial 5 "abc"
kib2
23-Feb-2009
[2318]
Ok, but I found it strange that there's no build-in function to do 
that.
Geomol
23-Feb-2009
[2319x3]
Well, array just give a block. Maybe you didn't want a string but 
an issue:
>> to issue! array/initial 5 "abc"
== #abcabcabcabcabc

or something else. Strings are just one form of series.
So we use to-<some datatype> to get, what we want.
This looks funny:
>> to email! array/initial 5 "abc"
== [abc-:-abc-:-abc-:-abc-:-abc]
kib2
23-Feb-2009
[2322x2]
oh : really cool !
Geomol: have you finished your work on LaTeX backend ?
Geomol
23-Feb-2009
[2324]
Almost. Some other work came in the way. I believe, I'll get something 
released this week.
kib2
23-Feb-2009
[2325]
Have you got a look at the XeLaTeX output ?
Geomol
23-Feb-2009
[2326]
Yes, and it looks nice. I have someting to think about. On one side 
keep it as simple as possible, on the other side, it should look 
nice.