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...
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 ?
...
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...
Is there a way to do so including creating an other build-markup function ?
...
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...
<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/>http://reboltutorial.com/blog/protect-rebol-script-with-php/</a>
Script-Url: <a href=http://reboltutorial.com/source/rebolscriptem...
The do function in rebol seems to accept unlimited arguments. Can I do that with my own function (without using a block of arguments) ?
...
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.
...
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 ...
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 ?
...
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.
...
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...
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 ...
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...
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...
>> to-string pick [abc/def] 1
== "abcdef"
>>
How can I get "abc/def" instead ?
...
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 :)
...
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
...
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
>>
...
I am having a problem with:
>> parse [a / b] ['a '/ 'b]
** Syntax Error: Invalid word-lit -- '
** Near: (line 1) parse [a / b] ['a '/ 'b]
>>
...