rebol

Drawing a star in Rebol VID like in JavaFX

What's the equivalent of this javaFx star code in Rebol VID (need AGG for same effect I guess) ? http://www.javafxgame.com/javafx-wish-tree/ /* * Star.fx */ package wishtree; import java.text.SimpleDateFormat; import java.util.Date; import javafx.scene.effect.DropShadow; import javafx.scene.paint.*; import javafx.scene.shape.Polyg...

Is this a bug in Rebol ?

When copying and pasting a source code with ask instruction in Rebol console, the ask instruction paused the program to let me enter the answer. This for former Rebol version. Now not anymore, the program continues ! Is this a bug ? ...

How to send the http get in Rebol to download an wordpress xml backup file ?

I would like to use rebol to download an xml backup of my blog from http://reboltutorial.com/wp-admin/export.php the form is <form action="" method="get"> <h3>Options</h3> <table class="form-table"> <tr> <th><label for="author">Restrict Author</label></th> <td> <select name="author" id="author"> <option value="all" selected="selected...

Rebol: How to use local variables with build-markup function ?

Is there a way to do so including creating an other build-markup function ? ...

rebol esmtp failure ?

I wanted to try esmtp with smtp.hotpop.com esend [email protected] "Test" using http://www.rebol.org/view-script.r?script=esmtp.r and http://www.rebol.org/view-script.r?script=esend.r but it fails. What's wrong ? Here is all the information you should need to help you set up your mail client: * Incoming/POP Server: pop.hotpop.com...

rebol script embedded in html: why does it return </body> ?

<html> <header> </header> <body> <div class='rebol'> <pre> Rebol [ Title: "rebol script embedded in html" Author-Url: <a href=http://reboltutorial.com/blog/protect-rebol-script-with-php/&gt;http://reboltutorial.com/blog/protect-rebol-script-with-php/&lt;/a&gt; Script-Url: <a href=http://reboltutorial.com/source/rebolscriptem...

Rebol function and unlimited arguments

The do function in rebol seems to accept unlimited arguments. Can I do that with my own function (without using a block of arguments) ? ...

Rebol simulating unlimited args any example from what is said here ?

http://www.rebol.org/ml-display-thread.r?m=rmlJNWS Graham wrote: Can a function have a variable number of arguments? No. But you can simulate it, by using 'any-type! function specifiers and passing unset! as arguments. Better is to use refinements. ...

rebol --do doesn't work ?

According to this http://www.rebol.com/docs/changes.html#section-1.7 --do should work again but when I tested on Rebview 1.3.2 / Core 2.6.3 rebol.exe helloworld.exe --do "verbose: true" with helloworld.r: probe verbose input This triggers an error ** Script Error: verbose has no value ** Near: probe verbose input So does it work ...

Rebol url? function doesn't really detect url ?

I want to read the clipboard, if it's an url do some stuff. Problem is url? doesn't do the job as: url? to-url "any string" will return true Is this normal ? How do I do the detection I want then ? ...

Better Rebol Syntax than head remove back tail (remove mold b) ?

I want to transform a block to strings like this >> b: [field "field1" tab field "field2"] == [field "field1" tab field "field2"] >> head remove back tail (remove mold b) == {field "field1" tab field "field2"} >> Is there a better syntax than this ? Thanks. ...

Rebol Parsing Rule: how to correct the rule to separate paragraphs

I want to parse orders-series below: orders-series: {Wordpress Profiles Blogger is a User Admin is a Blogger Author is a Blogger Subscriber is a User Blogger Role Blogger Manage Posts Admin Roles Admin Manage Site Manage Site Include Manage Users Manage Site Include Manage Themes Manage Site Include Manage Plu...

Rebol Script Error: Alias word is already in use: f whereas it isn't true

I have defined these alias in user.r alias 'powershell "pw" alias 'explorer "o" alias 'open-program-files "pf" alias 'cmd "dos" alias 'edituser "eu" alias 'run-firefox "fx" alias 'run-firefox "f" When launching rebol it shows ** Script Error: Alias word is already in use: f ** Near: alias 'run-firefox "f" This is not true, in fact ...

Rebol RebDB Relational Database: is there a better Syntax for inserting today's date

From User Guide http://www.dobeash.com/RebDB/db-guide.html I did this >> record: make block! [] == [] >> append record 'next == [next] >> append record now/date == [next 13-Sep-2009] >> append record "test insert date" == [next 13-Sep-2009 "test insert date"] >> db-insert my-table record == [4 13-Sep-2009 "test insert date"] >> Any s...

Rebol Request-Download doesn't support Big File: how to correct ?

download-dir: request-dir Print ["downloading " "VStudio2008Express.iso" "..." ] url: http://go.microsoft.com/fwlink/?LinkId=104679 file-save: to-rebol-file rejoin [download-dir "VStudio2008Express.iso"] request-download/to url file-save In the end whereas the progress bar has shown the download has finished: ** Script Error: Not eno...

Rebol to-string strange behavior: how can I correct ?

>> to-string pick [abc/def] 1 == "abcdef" >> How can I get "abc/def" instead ? ...

Rebol: Found a way to auto-generate and execute code dynamically, is there a better way ?

I have experimented with this: >> code-block: copy [] == [] >> append code-block [func[][print "a"] ] == [func [] [print "a"]] >> do do code-block a >> Is there a way to avoid to do "do" twice :) ...

Which version of Rebol 2 do I use on CentOS?

Can somebody please tell me which version of Rebol 2 to use on CentOS? There are a couple of Linux versions on this page: http://www.rebol.com/platforms.html I'm going to have a go at this tutorial: Quick and Easy CGI - A Beginner's Tutorial and Guide By Carl Sassenrath. Thanks ...

rebol: How to create rule to parse braces ?

I really don't master Parse rule yet :) How do I parse this ? to-parse: [entity Person { String name String lastName Address home Address business }] This doesn't work: entity-rule: ['entity word! #"{" to end] >> parse to-parse entity-rule == false >> ...

How can I parse [a / b] ? syntax error in Rebol?

I am having a problem with: >> parse [a / b] ['a '/ 'b] ** Syntax Error: Invalid word-lit -- ' ** Near: (line 1) parse [a / b] ['a '/ 'b] >> ...