rebol

Why Rebol Copy Big File fails with really big files whereas windows explorer doesn't ?

I tried carl function http://www.rebol.com/article/0281.html with 155 Mo it works. Then I tested with 7 Go it fails without saying the limit. Why is there a limit I can't see anything in code that puts a limit. There's no error message >> copy-file to-rebol-file "D:\@mirror_ftp\cpmove.tar" to-rebol-file "D:\@mirror_ftp\testcopy.tar...

Is it possible to intercept rebol's console error ?

All in the title :) Let's say I type a stupid command in Rebol Console like >> AWordThatMeansNothing ** Script Error: AWordThatMeansNothing has no value ** Near: AWordThatMeansNothing >> I want to intercept the above error to display another message or do anything I need to when I get an error in Console. ...

Why do I get this error when reading this url with rebol

http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=759 >> read http://www.informit.com/guides/content.aspx?g=dotnet&s eqNum=759 connecting to: www.informit.com ** User Error: HTTP forwarding error: Scheme https for URL htt ps://memberservices.informit.com/checkLogin.ashx?partner=53&r= http%3a%2f%... ** Near: read http:/...

Strange rebol bug: error needs a value

When executing do-file: func[file][ if error? error: try [ if (find [%.r %.cgi] (suffix? file)) [ do file ] ][ disarm error print ["error executing " file] input ] ] foreach-file: func [ "Perform function on each file in selected directory recursively" dir [file! url!] "Directory to look in" ...

What new Widgets in Rebol 3 Vid ?

Rebol 2 VID was hugely missing Dropdownlist and Treeview, I have made a search on Rebol 3 on Google but couldn't find anything except a discussion. So what will Rebol 3 VID really include as new widgets ? ...

Is there any system variable which contain rebol user.r directory ?

Since user.r has changed directory depending on version, it is annoying for automatic script distribution which would depend on user.r not to know where it is. So is there any system variable which would tell it ? ...

How to create a Popup Window in Rebol ?

I tried to implement a save-as-ftp button in Rebol embedded editor. Implementation of the save-as-button is this: save-as-ftp: has [file-content][ file-content: t1/text prefs-file: rejoin [_self-path %ftp.preferences.txt] either exists? prefs-file [ prefs-ftp: construct load prefs-file; see article application con...

What's the proper syntax in Rebol to execute an in-memory block of code including the header

This syntax doesn't work: >> do load/header {rebol [Title: "Hello World"] Print System/Header/Script/Title } ** Script Error: Invalid path value: Header ** Near: Print System/Header/Script/Title I want to get the meta-data in header. My goal is mostly to be able to execute a whole rebol source including header to the clipboard and ex...

Any way to correct Rebol build-markup function using bind or whatever ?

This code below doesn't work because I call build-markup two times one inside each other and using the same Global Template variable. Any way to correct build-markup so that I can pass local Template variable ? Template: {<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional....

Rebol: How do I know where the error comes from when executing multiple files (like libraries)

Rebol tells the error and the line but it doesn't say in what source file, is there a way to get this info from a system variable or else (not only the starting script) ? ...

In Rebol How to get the Object Path Name (String) ?

Let's say I have list: [system/history system/prompt] I want to convert to list-string: ["system/history" "system/prompt"] This may be an obvious answer but I can't see any :) Thanks. ...

In Rebol how to get the Parent in an Object Path ?

Is there a function to get the parent of an object for example parent-of system/console/history would give system/console ...

How do I create a graphics banner with multiple lines in Rebol (can only create one line)?

This works: view layout [ box white 728x90 effect reduce [ 'gradient 0x1 sky] font [align: 'center size: 40 color: red] "Your banner text" ] But how do I add other lines ? Thank you. ...

Why do I have Text Shadow on My Graphics Banner in Rebol while I use shadow 0x0 ?

I use this code: view layout [ box sky 200x100 font [ shadow 0x0 align: 'center size: 16 color: blue colors: [255.255.255 255.255.255] ] "Test Shadow" ] But still get shadow. Is it possible to get rid off it ? Thanks. ...

How to compose a Rebol block of code to be used with Set (Programmatically) ?

I want to do this: >> SET [a b] reduce [(ask "a: ") (ask "b: ")] a: 1 b: 2 == ["1" "2"] >> Programmatically: args: [a b] block: copy [] foreach arg args [ append block to-word "(" append block 'ask append block rejoin [arg ": "] append block to-word ")" ] set args reduce block But I get this error: >> foreach arg args ...

get in Object 'Func with Refinement in Rebol

Let's say I have o: context [ f: func[message /refine message2][ print [message] if refine [print message 2] ] ] I can call it like this do get in o 'f "hello" But how can I do for the refinement ? something like this that would work >> do get in o 'f/refine "hello" "world" ** Script Error: in expected word argument...

Rebol and /local Object

The new function below doesn't work if Obj is local. If I remove it from /local it works. So what to do to make it work with a local Obj thanks ? Sure not hard for you. Person: make object! [ Person: func[FirstName LastName][ Self/FirstName: FirstName Self/LastName: LastName Print Self/FirstName Print Self/LastName ...

Set Difference Operation between an Object Body and a Block definition in Rebol

I want to be able to modify Object dynamically by adding / removing properties or methods on the fly. For Adding no problem, for Removing I thought about using Set Difference Math Operator but it behaves weirdly as far as I can see when removing a method from the object. For example if I have O: make object! [ a: 1 f: ...

Rebol Email Pop Server error

I have tested pop successufully with some POP servers with Rebol but it doesn't work with my hosting server dreamhost (which works with Outlook I have tested http://wiki.dreamhost.com/Outlook%5FExpress ): >> read pop://[email protected]:[email protected] ** User Error: Server error: tcp -ERR AVG POP3 Proxy Server: Cannot c...

Shared function in Rebol (implementation inheritance)

Someone said you can have (implementation inheritance) with Rebol using get. So I tried: shape: context [ x: 0 y: 0 draw: func['object][ probe get object ] ] circle: make shape [ radius: 10 draw: get in shape 'draw ] rectangle: make shape [ draw: get in shape 'draw ] I want to pass the object by reference not by va...