[REBOL] Re: [port/skip]
Hi Carl, indeed I experience exactly the same phenomenon! CPU goes to 100% and I have to kill REBOL because it's stuck somewhere. I'm running Win2k with all service packs / updates applied and REBOL/View 1.2.46.3.1. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Carl Read [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 29, 2004 1:13 PM Subject: [REBOL] Re: [port/skip] Hmm - I was badly wrong about skipping files after an open working okay - REBOL totally locks up when I attempt this kind of thing... (Taken from the Users' Guide: http://www.rebol.com/docs/core23/rebolcore-14.html#section-8.4)... fp: open/direct/binary %file.dat fp: skip fp 10 My example... write %test.txt abcdefghijkl fp: open/direct/binary %test.txt fp: skip fp 4 At that point it totally locks up. Esc's no use - have to use Ctrl/Alt/Delete to shut REBOL down. Using Win98SE. Is it the same for other Windows users? -- Carl Read Are there any known problems with the use of skip with ports? As on files it doesn't seem to work for me... write %test.txt abcdefghijkl port: open/direct/binary %test.txt copy/part port 4 == #{61626364} close port port: open/direct/binary/skip %test.txt 4 copy/part port 4 == #{61626364} close port but does with URLs... port: open/direct/binary http://www.rebol.com/ connecting to: www.rebol.com copy/part port 4 == #{3C48544D} close port port: open/direct/binary/skip http://www.rebol.com/ 4 connecting to: www.rebol.com copy/part port 4 == #{4C3E0A3C} close port And if I use skip on an already opened port, ie... port: skip port 4 it'll work if it's a file, but if an URL it'll just hang with nothing returned. Easy enough to work around this behaviour with files, but does skip with URLs only work when opening the port? Or am I doing something wrong? -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [VID] Strange problem
Hi all, currently I am developing a small application that displays flags from all over the world off a website. There is also a search option, in order to search for (a part of) a countryname. The REBOL/View version I use is 1.2.46.3.1. I have built in some print statements for debugging purposes and to show the problem exactly. Example session: 1. start the app 2. fill out the search field named country-find with the text ur 3. click the Find (next) button 4. change the contents of the search field named country-find to the text ne When you look at the displayed lines, you see (among others): Right after push Find (next) button: global/findstr=(ne) country-find/text=(ne) Apparently global/findstr has changed somewhere between the last hit and the press of the Find (next) button. However, there is only one place where global/findstr is being changed AFAIK! It was my intention that global/findstr would contain the PREVIOUS searchstring. Please see the attached app Any ideas? TIA With kind regards, Arie van Wingerden -- Binary/unsupported file stripped by Ecartis -- -- Type: text/x-rebol -- File: flags.r -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [VID] Strange problem
Hi Carl and others, below the asterisks line follows the script * rebol [ Title:Flag Viewer Author:Arie van Wingerden ] {write/lines %log mold country-flag} global: make object! [ ;** ; The URL of the webpage holding the names of the different countries ; for which a flag is present. ;** allflags: http://www.cia.gov/cia/publications/factbook/docs/flagsoftheworld.html ;** ; The URL of the webpage holding an enlarged flag of a certain country. ; Each country has a specific prefix code, like xx. ; The image of the flag is URL/xx-lgflag.gif. ; The flad description can be found in URL/xx-flag.html ;** flagpage: http://www.cia.gov/cia/publications/factbook/flags/ ;** ; This field will contain (after get-flags has been called) : ; - the countryname ; - the 2 character countrycode ;** flags: copy ;** ; This field will be used as a pointer to the current flag ; and will be initialized to 1 ;** curflag: 1 ;** ; This field remembers the last find string in order to be able to ; carry on searching with the same string ;** findstr: copy ;** ; This field remembers the pointer to the country last found ;** findptr: 1 ] get-flags: func [ {Fetch countrynames and codes of all flags needed} /local countrycode countryname flaglist flags found ][ flags: copy [] parse read global/allflags [ thru option selectedSelect a Country/option copy flaglist to /select to end ] forever [ found: parse flaglist [ thru geos/ copy countrycode to . thru copy countryname to copy flaglist to end ] if not found [ break ] either find [ ay gz oo pf pg we xo xq xx zh zn ] countrycode [ {Due to error on website this code points to nowhere so we ignore this entry for the time being} ][ append flags reduce [ countryname countrycode ] ] ] ;** ; Sort the list by countryname ;** sort/skip flags 2 ;** ; Return the list of countrycodes and names implicitly ;** flags ] show-flags: func [ {Main program: show and search for flags} ][ view layout [ country-name: label current-country/name 600 black bold font-name font-sans-serif font-size 14 country-flag: image fetch-url across country-find: field 400 find-button: button Find (next) [ print print Right after push Find (next) button: print rejoin [global/findstr=( global/findstr ) ] print rejoin [country-find/text=( country-find/text ) ] either find-country country-find/text [ country-name/text: current-country/name country-flag/image: load fetch-url show country-name show country-flag msg-info/text: copy ][ msg-info/text: Country could not be found! ] show msg-info show country-find ] next-button: button Next Country [ next-country country-name/text: current-country/name country-flag/image: load fetch-url country-find/text: copy msg-info/text: copy show country-name show country-flag show country-find show msg-info ] return msg-info: info copy 600 yellow ] ] fetch-url: func [ {Construct the URL of the image} ][ return rejoin
[REBOL] Re: [VID] Strange problem
Hi all, trying to solve my problem I found an error in the argument block of the find-country func. Currently it says: search-text /count /ptr /tmpflags but it should be: search-text /local count ptr tmpflags But the problem I posted for in the first place is not solved by this patch. Thanks, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [VID] Strange problem
Hi Anton, that was the old friend copy again, sigh :-[ But still I am very glad that you've made me aware of the problem :-) Many thanks for your help! Kind regards, Arie van Wingerden Anton Rolls wrote: It is a lack of copy. global/findstr: copy search-text or find-country copy country-find/text Anton. Hi all, currently I am developing a small application that displays flags from all over the world off a website. There is also a search option, in order to search for (a part of) a countryname. The REBOL/View version I use is 1.2.46.3.1. I have built in someprint statements for debugging purposes and to show the problem exactly. Example session: 1. start the app 2. fill out the search field named country-find with the text ur 3. click the Find (next) button 4. changethe contents of the search field named country-find to the text ne When you look at the displayed lines, you see (among others): Right after push Find (next) button: global/findstr=(ne) country-find/text=(ne) Apparently global/findstr has changed somewhere between the last hit and the press of the Find (next) button. However, there is only one place where global/findstr is being changed AFAIK! It was my intention that global/findstr would contain the PREVIOUS searchstring. Please see the attached app Any ideas? TIA With kind regards, Arie van Wingerden -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [VID//menu]
Hi all, in the first place many thanks to Carl, Anton, Gregg and Cyphre for the appropriate comments! Cyphre I am indeed impressed by the jpg picture. As Gregg says it's importantthat people help each other. Given my (small) project and the fact that I am quite new to VID as well, I am still willing to test / try out somecode as far (just as far as my capacities go, of course!) So, please do send me the code in private and please let me know what I need to know for a start ;-) Thanks again! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/[1] Cyphre wrote: Hi, I did bar menu and context menu style http://www.rebol.cz/~cyphre/menu.jpg[2] (the screnshot is from a bit older older version) If you are interested let me know privately so I'll send you the latest version. Regards, Cyphre - Original Message - From: Arie van Wingerden [EMAIL PROTECTED][3] To: [EMAIL PROTECTED][4] Sent: Friday, May 21, 2004 2:03 PM Subject: [REBOL] [VID//menu] Hi all, since I am creating a REBOL program with a GUI, I needed to implement a menu structure. I've read REBOL/View Developer's Guide and A Beginner's Guide to REBOL Visual Interfaces, but neither of them has the required info. Any hints where to look? TIA. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/[5] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. --- Links --- 1 http://home.zonnet.nl/rebolution/ 2 http://www.rebol.cz/~cyphre/menu.jpg 3 mailto:[EMAIL PROTECTED] 4 mailto:[EMAIL PROTECTED] 5 http://home.zonnet.nl/rebolution/ 6 mailto:[EMAIL PROTECTED] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Different folder/directory setup for Rebol/View...
Hello John, Welcome to the list ! (since I think you're new here ;-) The default is C:\REBOL\VIEW for Win2k. Since I do not have Win XP running I really don't know the situation there. But I guess it should be the same there! Can anyone in the list having Win XP comment on this? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: John Dutcher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 2:14 PM Subject: [REBOL] Different folder/directory setup for Rebol/View... Can anyone comment on why when I run the 'install' executable for Rebol/View at my workstation (Win XP Pro) the directory structure is simply c:\Rebol when I copy the install executable to floppy and install at home on Win 2000 Pro the directory structure established is c:\Rebol\View and does it really matter at any point ? (Core = ver 2.5, View = ver 1.155.0) - Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: demo of a tree interface
Hi Alain, have you thought about adding import / export for KeyNote http://www.tranglos.com/free/index.html ? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Alain Goyé [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 15, 2004 10:05 AM Subject: [REBOL] Re: demo of a tree interface Jaime, I tried to follow your advice and replace the insert key with Ctrl + i A strange bug happens (is it REBOL or my machine?): The Ctrl + i combination returns the tab key code ( #^- ) : So the new version (http://alain.goye.free.fr/rebol/NoteReb.r) still uses the same keys but it's easy to change. New features: resize, search, import/export from/to TreePad ( thanks Aleksander ! ) ...and new bugs. Alain. Very Nice! Only problem I see is that it uses some keys that are not available in other platforms or keyboards; ie. insert. Maybe a different key combination will be more portable. Cheers, Jaime -- The best way to predict the future is to invent it -- Alan Kay On May 4, 2004, at 3:59 AM, Alain Goyé wrote: Thank you! Actually there are still bugs, and I am working to improve it. Alain. very neat ! -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Alain Goyé [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:27 PM To: [EMAIL PROTECTED] Subject: [REBOL] demo of a tree interface Hi all, I made this little demo of a tree interface similar to TreePad (TM) - in case it interests someone: http://alain.goye.free.fr/rebol/NoteReb.r Please send me any comments you may have. Alain G. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Brian and Gregg, if you need volunteers for the REBOL/View install project I'm happy to join. If you're gonna script, I think you should keep a few things in mind: 1. RT delivers stable releases with installer (or can you persuade RT to not ship with an installer???) 2. RT delivers beta releases without installer 3. is the installing userid a user with or without admin rights? 4. should an installation concern all users on a given system or not? So, in case 1 one has to install at first the RT way. Only after installing your script comes round the corner and has to: - clean up the mess created by RT installer - do a proper (re)install In case 2 the script could be used right away BTW Brian, AFAIK the default directory where REBOL installs is C:\REBOL\VIEW and not C:\Program Files ;-) Thanks so much for the effort you are willing to put in this project! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Brian Hawley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 5:16 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Sure! Give me an idea of what you have in mind (script, tutorial, essay) and I'll do what I can. I've been writing installer scripts of various forms since the Win 3.1 days and I'd be interested in an excuse to see what changes the last couple of years have brought. Brian Hawley At 03:05 PM 5/7/04 -0600, Gregg wrote: Hi Brian, Thanks very much! It would be really terrific if you could do your review and coordinate a couple other volunteers (anyone willing?) then give us a ping when you think it's ready. I'll also take any input you have as I'm working on an installer project, and I do have the SDK. Thanks again! -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Brian, thanks for your impressive answer! At the moment I can live again with my REBOL installation (as I wrote earlier) but surely I will save your e-mail in order to be able to use it when any such problem comes up again. Luckily enough I use an account with administrator rights and I don't use REBOL from any other accounts currently. That makes the case a lot less complicated for me then. Your suggestion to create a full-proof install-script sounds like a great idea. Perhaps it would be even better to also have the script clean-up any old REBOL installs before it does a new install? (In fact RT should also improve the install part or, perhaps even better, remove installation as it is done now.) All in all a very good idea Brian! I think it could help a lot of people. Thanks again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Brian Hawley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 07, 2004 6:58 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Ari! You've run into a problem that tripped me up for a while: REBOL doesn't put its data in the proper places on Windows 2000 and above - in other words, it is not logo-compliant. REBOL's default install puts its program file and data files in a directory under Program Files. Since Windows security settings prevent a standard user from writing to these program directories, only a Power User or administrator has sufficient permissions to use REBOL/View by default. Fortunately you can hack a REBOL/View install manually to make it mostly logo-compliant, and thus allow it to be used by ordinary users without being a security risk. Here's a quick overview, assuming a standard install of Windows 2000 or above and REBOL/View 1.2.1 to 1.2.8 (please bear with me if you know some of this, I'm trying to make it useful to others that have the same problem): First, let REBOL/View install itself into some central place such as C:\Program Files\REBOL\View. This will set up most of the global settings in the registry and some of the local ones. Close REBOL. REBOL may have downloaded some files to this directory for the desktop - if this is a new install, you can delete everything but the program files. Next you need to create the local user settings. These are stored in the user profile directory, sort of like a user's home directory on Unix. Windows 2000 and above store their profiles in directories under C:\Documents and Settings, earlier versions of NT under C:\WINNT\Profiles. If you have trouble finding your profile an environment variable named USERPROFILE points to it automatically - this is like the Unix variable HOME, which is not defined by default on Windows. The Gimp uses USERPROFILE on Windows by default. Now, you'll need to repeat this for each user that already has a user profile created. Find the Application Data folder in the profile directory. It will be hidden. If you aren't sure where it is, there is an environment variable APPDATA that points to it. Create a REBOL subdirectory in that folder. That will be your REBOL home folder - make a note of where it is, it's time to hack the registry. Open a registry editor and find the key: HKEY_CURRENT_USER\Software\REBOL\View Under that key there will be a string value named HOME, which will contain a REBOL-format directory name without the % - change that value to match the REBOL home folder you created earlier, for example: /C/Documents and Settings/Ari/Application Data/REBOL/ You should be set now. When you start REBOL now it will start the program in C:\Program Files\REBOL\View and use your REBOL home as its working directory. If you moved over your data to that folder it should work right away; otherwise REBOL will download the files it needs. Now here comes the tricky part. You may have noticed that in under that same registry key there is another string value named Product. That key is the marker that REBOL uses to determine whether it is installed and current. The problem is that this key is in absolutely the wrong place - it should be under HKEY_LOCAL_MACHINE, as it is a global setting, and treated as such by REBOL. It is a global setting because REBOL associates .r files with the REBOL executable, something that can only be done globally, and also registers an uninstaller with the Add/Remove Programs control panel (which can be done in a per-user way but they don't). Since this setting is under HKEY_CURRENT_USER every user that runs REBOL for the first time triggers a reinstall, which then messes up the registry settings for everyone. This key can't be moved to the right place either, because REBOL looks for it where it is. This is a long-standing REBOL bug. All this means that you need to create REBOL directories and REBOL\View registry keys for every user on the system
[REBOL] Re: ANN: IP-info plugin version
Hi rebOldes, very very nice !! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: rebOldes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 07, 2004 6:39 PM Subject: [REBOL] ANN: IP-info plugin version Hello rebol-list, IP-info version 0.0.2 is now available http://oldes.multimedia.cz/rss/builds/ipinfo/ -- Best regards, rebOldes -[ http://oldes.multimedia.cz/ ] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Ladislav, due to the fact that several experienced people (like you) told me that it works fine w/o an environment variable, I decided to deinstall the whole REBOL stuff, including a clean-up of the registry and the environment vars. When I had the problems some time ago, I also had deleted the working directory in the properties of my REBOL desktop item. I now have restored it. Having done all that, I reinstalled the regular REBOL/View release, which works fine and obviously loads the user.r (I've got a print of what-dir in it). After that I replaced the REBOL.EXE with the latest beta and voila that works fine as well and also loads user.r Now I'm baffled, since I really have tried everything except this total cleanup and reinstall. But'I'm very glad :-)) I'm sorry to have bothered you all with a problem that now seems not to exist :-( Thanks to all of you who pointed me in the right direction!! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Ladislav MeÄÃÅT [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 7:20 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Arie, in fact I only have 1 user.r file in the correct dir and I do display what-dir from it. It does display correct when I use the HOME variable but right after switching to REBOL_HOME (with exactly the same contents as HOME had) there's no display, so user.r was not loaded. I am using more than one %user.r without any problem and without using any _HOME variable at all. I just start the interpreter in the directory, where the proper %user.r is. -L -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Max, some time ago I had problems with my user.r file not being used. Than I got some advice in the list to use the HOME environment variable. That variable is documented in REBOL/Core User Guide Chapter 1.2. I'll now try REBOL_HOME. Where is it documented? Thanks! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:33 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 what you are looking for is: REBOL_HOME I *THINK* Rebol puts more importance to this than system home. HTH! -MAx - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 02, 2004 10:30 AM Subject: [REBOL] [The Gimp] clashes with REBOL on Windows 2000 Hi all, when I tried to install The Gimp on Windows 2000 I found out that there is a clash with REBOL. I've set the environment variable HOME to point to the REBOL/View executable. However, The Gimp seems to take HOME as it's place to write user dependent info and tries to create directories and files at that place. Does anybody know whether there is an alternative name for HOME to point to the REBOL stuff, or to direct The Gimp elsewhere? I already tried to remove HOME temporarily, then letting The Gimp create it's stuff (now in an appropriate user dependent place). When I then start The Gimp later it works fine. However, when I reintroduce HOME, The Gimp gets lost again and wants to use HOME again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Max and Gabriele, thanks for your help! In the REBOL Language FAQ I found a reference to REBOL_HOME, but I couldn't find references anywhere else! There are however references to the HOME variable in de Core Users Guide. As you say Gabriele, indeed I found a variable HOME in the registry, pointing to the correct directory. My problem however is that my user.r doesn't get executed without a correct HOME environment variable! Replacing HOME with REBOL_HOME just makes that user.r doesn't get executed anymore, which is bad! What is also important is that it did work without problems (without an environment variable), when I had the regular REBOL/View version running. The problem started when I switched to the latest View Beta (rebview1246031.exe). I then could solve it with a HOME env. var to get user.r executed again. But now the Gimp really needs (another) HOME var and clashes with REBOL. Using REBOL_HOME doesn't work AFAICS Any ideas? BTW, I really do not understand why RT doesn't package View beta releases in exactly the same way as regular releases!!! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 12:35 PM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Max, some time ago I had problems with my user.r file not being used. Than I got some advice in the list to use the HOME environment variable. That variable is documented in REBOL/Core User Guide Chapter 1.2. I'll now try REBOL_HOME. Where is it documented? Thanks! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:33 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 what you are looking for is: REBOL_HOME I *THINK* Rebol puts more importance to this than system home. HTH! -MAx - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 02, 2004 10:30 AM Subject: [REBOL] [The Gimp] clashes with REBOL on Windows 2000 Hi all, when I tried to install The Gimp on Windows 2000 I found out that there is a clash with REBOL. I've set the environment variable HOME to point to the REBOL/View executable. However, The Gimp seems to take HOME as it's place to write user dependent info and tries to create directories and files at that place. Does anybody know whether there is an alternative name for HOME to point to the REBOL stuff, or to direct The Gimp elsewhere? I already tried to remove HOME temporarily, then letting The Gimp create it's stuff (now in an appropriate user dependent place). When I then start The Gimp later it works fine. However, when I reintroduce HOME, The Gimp gets lost again and wants to use HOME again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Max, when I first checked the Core Users Guide I looked at http://www.rebol.com/docs/core23/rebolcore-2.html#section-2.10 where only an env. var HOME is introduced. Like you, however, I also have my printed copy of that manual and there in section 2.10 HOME is exchanged with REBOL_HOME in the text ! Might it be the case that the RT online version is more up-to-date and that REBOL_HOME is obsolete in favor of HOME Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 4:18 PM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Max and Gabriele, thanks for your help! In the REBOL Language FAQ I found a reference to REBOL_HOME, but I couldn't find references anywhere else! There are however references to the HOME variable in de Core Users Guide. As you say Gabriele, indeed I found a variable HOME in the registry, pointing to the correct directory. My problem however is that my user.r doesn't get executed without a correct HOME environment variable! Replacing HOME with REBOL_HOME just makes that user.r doesn't get executed anymore, which is bad! What is also important is that it did work without problems (without an environment variable), when I had the regular REBOL/View version running. The problem started when I switched to the latest View Beta (rebview1246031.exe). I then could solve it with a HOME env. var to get user.r executed again. But now the Gimp really needs (another) HOME var and clashes with REBOL. Using REBOL_HOME doesn't work AFAICS Any ideas? BTW, I really do not understand why RT doesn't package View beta releases in exactly the same way as regular releases!!! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 12:35 PM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Max, some time ago I had problems with my user.r file not being used. Than I got some advice in the list to use the HOME environment variable. That variable is documented in REBOL/Core User Guide Chapter 1.2. I'll now try REBOL_HOME. Where is it documented? Thanks! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:33 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 what you are looking for is: REBOL_HOME I *THINK* Rebol puts more importance to this than system home. HTH! -MAx - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 02, 2004 10:30 AM Subject: [REBOL] [The Gimp] clashes with REBOL on Windows 2000 Hi all, when I tried to install The Gimp on Windows 2000 I found out that there is a clash with REBOL. I've set the environment variable HOME to point to the REBOL/View executable. However, The Gimp seems to take HOME as it's place to write user dependent info and tries to create directories and files at that place. Does anybody know whether there is an alternative name for HOME to point to the REBOL stuff, or to direct The Gimp elsewhere? I already tried to remove HOME temporarily, then letting The Gimp create it's stuff (now in an appropriate user dependent place). When I then start The Gimp later it works fine. However, when I reintroduce HOME, The Gimp gets lost again and wants to use HOME again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000
Hi Max, in fact I only have 1 user.r file in the correct dir and I do display what-dir from it. It does display correct when I use the HOME variable but right after switching to REBOL_HOME (with exactly the same contents as HOME had) there's no display, so user.r was not loaded. I don't know when the new View will finally be available - perhaps I should wait till then ;-D Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 5:00 PM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 but did you put a user.r file in the REBOL_HOME path? it might help you if you put the following in ALL your user.r files: probe what-dir this will at least tell you WHICH user.r is being run... also remember that if you create an icon and give it a startup directory, it will be looking for an user.r directory THERE first. -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Arie van Wingerden [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:18 AM To: [EMAIL PROTECTED] Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Max and Gabriele, thanks for your help! In the REBOL Language FAQ I found a reference to REBOL_HOME, but I couldn't find references anywhere else! There are however references to the HOME variable in de Core Users Guide. As you say Gabriele, indeed I found a variable HOME in the registry, pointing to the correct directory. My problem however is that my user.r doesn't get executed without a correct HOME environment variable! Replacing HOME with REBOL_HOME just makes that user.r doesn't get executed anymore, which is bad! What is also important is that it did work without problems (without an environment variable), when I had the regular REBOL/View version running. The problem started when I switched to the latest View Beta (rebview1246031.exe). I then could solve it with a HOME env. var to get user.r executed again. But now the Gimp really needs (another) HOME var and clashes with REBOL. Using REBOL_HOME doesn't work AFAICS Any ideas? BTW, I really do not understand why RT doesn't package View beta releases in exactly the same way as regular releases!!! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 12:35 PM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 Hi Max, some time ago I had problems with my user.r file not being used. Than I got some advice in the list to use the HOME environment variable. That variable is documented in REBOL/Core User Guide Chapter 1.2. I'll now try REBOL_HOME. Where is it documented? Thanks! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 03, 2004 10:33 AM Subject: [REBOL] Re: [The Gimp] clashes with REBOL on Windows 2000 what you are looking for is: REBOL_HOME I *THINK* Rebol puts more importance to this than system home. HTH! -MAx - Original Message - From: Arie van Wingerden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 02, 2004 10:30 AM Subject: [REBOL] [The Gimp] clashes with REBOL on Windows 2000 Hi all, when I tried to install The Gimp on Windows 2000 I found out that there is a clash with REBOL. I've set the environment variable HOME to point to the REBOL/View executable. However, The Gimp seems to take HOME as it's place to write user dependent info and tries to create directories and files at that place. Does anybody know whether there is an alternative name for HOME to point to the REBOL stuff, or to direct The Gimp elsewhere? I already tried to remove HOME temporarily, then letting The Gimp create it's stuff (now in an appropriate user dependent place). When I then start The Gimp later it works fine. However, when I reintroduce HOME, The Gimp gets lost again and wants to use HOME again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send
[REBOL] [The Gimp] clashes with REBOL on Windows 2000
Hi all, when I tried to install The Gimp on Windows 2000 I found out that there is a clash with REBOL. I've set the environment variable HOME to point to the REBOL/View executable. However, The Gimp seems to take HOME as it's place to write user dependent info and tries to create directories and files at that place. Does anybody know whether there is an alternative name for HOME to point to the REBOL stuff, or to direct The Gimp elsewhere? I already tried to remove HOME temporarily, then letting The Gimp create it's stuff (now in an appropriate user dependent place). When I then start The Gimp later it works fine. However, when I reintroduce HOME, The Gimp gets lost again and wants to use HOME again. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: How to create block of block?
Hello Raimund, what you need is append with the /only refinement. So: block3: append/only block1 block2 Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution/ - Original Message - From: Raimund Dold [EMAIL PROTECTED] To: Rebol [EMAIL PROTECTED] Sent: Saturday, May 01, 2004 2:38 PM Subject: [REBOL] How to create block of block? Hi, I do have a block and will add this to another block as whole to create a block of blocks. How can I do this? Example: block1: [1 2 3] == [1 2 3] block2: [4 5 6] == [4 5 6] block3: append block1 block2 == [1 2 3 4 5 6] But I want the follwing block3: [1 2 3 [4 5 6]] How do I get the block3 I want? Raimund -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Another Console Related Question
Hi Paul, I think is has to do with the fact that CLEAR is a REBOL word. Have a look at: http://www.rebol.com/docs/words/wclear.html Hope that helps, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 29, 2004 1:07 PM Subject: [REBOL] Another Console Related Question I've been playing with the console some more and discovered something that is strange to me. When I type: clear: print [^L] and then type: print clear I get: ?unset? At the top of the page. I assume that Rebol wants me to set clear; so I try: set 'clear print [^L] but when I do: print clear I still get the ?unset?. So my question is what is the ?unset? and how do I set a value to clear in such a way that I don't get it? All input appreciated. Paul -- Linux User Number: 348867 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [IOS]
Hi all, since I am very interested in, but not able to buy ;-) IOS, I wonder if there is a kind of public IOS running somewhere, where I maybe can login. If such a possibility exists, please let me know! TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [IOS]
thanks Sunanda! - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 19, 2004 11:53 AM Subject: [REBOL] Re: [IOS] Arie: since I am very interested in, but not able to buy ;-) IOS, I wonder if there is a kind of public IOS running somewhere, where I maybe can login. If such a possibility exists, please let me know! Try this page: http://www.rebol.com/express-form.html Sunanda -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [protect-system] does not work [user.r]
Hi Maxim, thanks for your tips! I already made some progress thanks to them, but I need to dive in still a bit more ;-) Kind regards, Arie - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 15, 2004 8:20 PM Subject: [REBOL] Re: [protect-system] does not work [user.r] Hi Arie, its been a while since user.r was a topic well, the beta versions treat the user.r the same, its just that its content is not set by the install tool. There is no installation, so rebol does not copy rebol.exe into your home with a copy of user.r (which very few even realize happens). It gets quite complex because in addition to the rebol.exe directory and your user/home directory, the user.r can ALSO be sourced in any icon's current directory or specifed startup dir... It is quite possible that your current install setup does not properly map to any user.r file. at home, to get user.r to be sourced properly in beta versions, I must: -Create a shortcut to the rebol.exe version I want -Clear the field of startup directory within the shortcut properties. -put a user.r file in the location of the exe -Drag the reblet.r file ON THE SHORTCUT. dragging the same reblet on he actual executable will fail! -you can also set the .r association to a specific version, in which case double clicking on a reblet, will equate to dragging it on the shortcut. I also add a print statement in ALL my user.r which prints what-dir. This will tell you where the user.r was sourced. also, do a search of your machine for user.r files... the first time I noticed that user.r was a slippery file to locate, I had 4 user.r files here and there and depending on the way the script was started, any one of the 4 files would be used and that's with the release version only!!! So, deleting the redundant ones will force rebol.exe to fallback on a shorter list of files, but in the end, the one in the same directory as rebol.exe tends to be the one used. and in some cases (like if you have a %home% env variable) it might not want to fallback to other directories. I did not confirm this with version 1.2.46 specifically, but that's how its been so far with beta versions. HTH! -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Arie van Wingerden [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 12:08 PM To: [EMAIL PROTECTED] Subject: [REBOL] [protect-system] does not work Hi, in REBOL/View 1.2.1.3.1 the PROTECT-SYSTEM (in the USER.R file) does work fine. However when I run REBOL/View beta version 1.2.46.3.1 it does NOT work. Any ideas why? Does the beta version skip user.r? TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [protect-system] does not work
Hi, in REBOL/View 1.2.1.3.1 the PROTECT-SYSTEM (in the USER.R file) does work fine. However when I run REBOL/View beta version 1.2.46.3.1 it does NOT work. Any ideas why? Does the beta version skip user.r? TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [Liquid] Where can I find its website?
Thanks Max! I will stay tuned on your products. Arie - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 6:57 PM Subject: [REBOL] Re: [Liquid] Where can I find its website? well, it should be http://www.rebol.it/~steel/liquid/index.html Its not accessible from the site menus right now... everything is slated to be redesigned... Its just a matter of time... I'm slowly getting to it, those with whom I regularly converse on this list, know that I'm very active, its just that a lot of this is happening behind the scenes I still have to: - finish all aspects of rebol.org package downloader (its getting quite nice, expect a public beta version very soon) - create a steel-ide.r package. - document glayout - do slim v1.0 then I can properly do the newer steel site. I'm expecting to tie it in with forge development so that I can properly design the web management tool which mixes in with all of my development work... anyhow, I am releasing all of my tools as I work on them on the rebol.org site. Liquid will definitely be there part of the steel ide package, in its current slim form. -MAx --- You can either be part of the problem or part of the solution, but in the end, being part of the problem is much more fun. -Original Message- From: Arie van Wingerden [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 1:00 PM To: [EMAIL PROTECTED] Subject: [REBOL] [Liquid] Where can I find its website? Hello Max, it is a while ago since I updated my website http://home.zonnet.nl/rebolution but I am busy now updating it once again. While doing that I found out that my reference to Liquid is not correct anymore. I used to use the link: http://www.rebol.it/~steel/liquid.html Could you please tell me which link to use instead? TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] [Liquid] Where can I find its website?
Hello Max, it is a while ago since I updated my website http://home.zonnet.nl/rebolution but I am busy now updating it once again. While doing that I found out that my reference to Liquid is not correct anymore. I used to use the link: http://www.rebol.it/~steel/liquid.html Could you please tell me which link to use instead? TIA. Kind regards, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [Time frame for REBOL/VIEW 1.3]
Hi Sunanda and others, thanks for the replies. Seems we'll have to wait some extra time for the GA version then. For now I'm glad with the links to the latest betas! Thanks, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 4:08 PM Subject: [REBOL] [Time frame for REBOL/VIEW 1.3] Arie: since a few month there's been done a lot of work on View 1.3. But is already known when the project will be finished? Is there a time planning? The last announcement seems to leave it open-ended: http://www.rebol.net/projects/view1.3/chat2.html There is a lot of good work going on. It'll be a milestone release when it does happen. You can download the latest beta from: http://www.rebol.net/projects/view1.3/downloads/ Sunanda. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL DOC for teaching - Some criteria I would like to share before applying
Hi guys, as I see in the list the attachment in the previous post was stripped off. If you're interested, let me know. I'll send it as a provate mail to you then! Grtz, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [FYI] A new interface paradigm without the usual windows ...
Hi all, when you are really interested in innovative desktop technology, you should also have a look at http://www.opencroquet.org/ Croquet is based on the opensource smalltalk Squeak http://www.squeak.org/ which itself is a quite attractive development environment. Kind regards, Arie van Wingerden - Original Message - From: Gerard Cote [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 4:32 PM Subject: [REBOL] [FYI] A new interface paradigm without the usual windows ... Hi Robert, Just in case it interests you - and I know it will ;-) , I received this article from Inside PC MAgazine and I thought it could be interesting for a future app. written in REBOL - who knows ??? -- News: The Anti Interface Virtually everyone who computes is familiar with the image metaphors used by Windows and the Macintosh OS for interface manipulation and navigation. They are the standards most of us live by. But a new product on the block has an experimental interface that tosses out the conventions we know and don't always love. Is this new approach useful? Is it important? Read our news analysis to find out. http://eletters.pcmag.com/zd1/cts?d=81-455-1-1-56979-31564-1 If you prefer to go directly to the article by yourself follow this link: http://www.pcmag.com/article2/0,4149,1435152,00.asp By the way I also visited your web site recently - very interesting look and feel - to find more about your most recent version of MAKE DOC PRO. I found in the history that version 1.0.8 is the most recent but I only found it into the REBOL Library and no DOC was available on your site either. Is there a particular reason except may be for missing time ? During this time I looked to the inside of your engine to know more and I experimented with some variations like =toc and a few others. It's working like a breeze. Great work. What I miss the most is how to to indent paragraphs correctly. My last result left me perplexed about the way to use it in some circumstances. In another area did you think about the way to include some META keywords to enclose into the HEADER section of the generated HTML page during the generation process. May be some external MDP-prefs.r would be a place to look at for inclusion of such particular things. I also would try your last REBOL FRAMEWORK very soon since I began again to experiment with coding. Can I get it too and where can I find it ? It will be a pleasure to put online my next Web Documentation using your MDP tool. And when I am about it - can you send me a model on which I could base my own Web site design - I want it to look similar in some way to your own - menus and the like... Keep up the good work Robert. Hope to be useful in a near future - more than in the past ... Thanks, Gerard -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: What else don't I know
Hi Steven, sometime ago I had a similar experience, but the other way round. In the REBOL dictionary I found function descriptions that were not present in the actual / current REBOL release. When I asked about this on the ML I was pointed to a newer beta version. So, the documentation sometimes is updated before the corresponding REBOL release is Generally Available (GA). I think it's a pity that beta releases are so long in beta stage! Even more because it appeared to me that some beta versions are crippled in some ways as well. So, one has to choose BETWEEN the official release and miss out beautiful new functions AND a beta release with nice new functions, but somehow crippled. It would be nice if RT would supply a base release with fixes that can be applied individually by users. I know that currently a lot is being done to produce a fresh GA release of View, which is quite nice. Perhaps after that the documentation will be more in sync as well ;-) Kind regards, Arie - Original Message - From: Steven White [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:51 PM Subject: [REBOL] What else don't I know I was looking around various REBOL sites and came across a script that uses a function called emailer which seems to be a REBOL function that pops up a window for sending an email message. help emailer at the console confirms the function's existence. I looked at the function dictionary on the REBOL web site and did NOT see a reference to emailer. This makes me wonder what other functions there might be that are not documented. Does everyone else just stumble across these things or is there some documentation I am missing? One would think that the REBOL Function Dictionary would contain all the functions. I know I can list all the system words and just look them over one at a time to see what they do. Is that what it takes? Am I just getting too lazy? Is the missing emailer function just a single omission that slipped through the cracks? Thank you. Steven White City of Bloomington 1800 W Old Shakopee Rd Bloomington MN 55431-3096 USA 952-563-4882 (voice) 952-563-4672 (fax) [EMAIL PROTECTED] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Forum Name
Hi, rebol-talk would be a fine name :) Arie - Original Message - From: Defiant Mail [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:16 PM Subject: [REBOL] Re: Forum Name Good Morning, so far we have 2 votes for reboltalk.com and 2 votes for rebolchat.com. The domain will be purchased late tonight, anyone care to tip the scale? If not we can flip a coin. ;) -Maryjane -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Understanding +
Thanks Anton! I was using 1.2.8.3.1. which explains it then. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Anton Rolls To: [EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 3:45 AM Subject: [REBOL] Re: Understanding + This has been fixed in REBOL/View 1.2.10.3.1 + 1 2 == 3 type? (+ 1 2) == integer! Anton. Hello list, there is a difference between the documentation of the + function in the REBOL dictionary and the one I get with HELP +. In the first one usage says that + a b should work, while the last one says usage should be a + b. Now when I try it at the console I get for: 1 + 2 == 3 and for: + 1 2 so in the last case no value seems to be returned. Which makes me think that the USAGE direction of the Dictionary is bad. (Is that correct?) When i do: print [ + 1 2 ] ?op? the value ?op? is returned. And when I do: reduce [ + 1 2 ] == [op] something similar is returned. Obviously these values are related to + being an OP! value as in: op? :+ == true but still it is not totally clear to me why the word op or even ?op? is being returned instead of op! in the 2 last cases. Perhaps one of you can explain this to me? Thanx so far! Met vriendelijke groet / with kind regards, Arie van Wingerden -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Understanding +
Hello list, there is a difference between the documentation of the + function in the REBOL dictionary and the one I get with HELP +. In the first one usage says that + a b should work, while the last one says usage should be a + b. Now when I try it at the console I get for: 1 + 2 == 3 and for: + 1 2 so in the last case no value seems to be returned. Which makes me think that the USAGE direction of the Dictionary is bad. (Is that correct?) When i do: print [ + 1 2 ] ?op? the value ?op? is returned. And when I do: reduce [ + 1 2 ] == [op] something similar is returned. Obviously these values are related to + being an OP! value as in: op? :+ == true but still it is not totally clear to me why the word op or even ?op? is being returned instead of op! in the 2 last cases. Perhaps one of you can explain this to me? Thanx so far! Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Carl Read To: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:35 AM Subject: [REBOL] Re: What does REBOL fix? On 14-Dec-03, [EMAIL PROTECTED] wrote: Can we find a snappy one-liner? http://www.paulgraham.com/fix.html REBOL: XML can't parse itself. -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Guru's please help improve ROT13 algorithm !
Hi guys, thanks a lot for all the comments and the debate that followed. I think that things have been put into a better perspective now :-) Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution - Original Message - From: Joel Neely To: [EMAIL PROTECTED] Sent: Sunday, December 14, 2003 10:24 PM Subject: [REBOL] Re: Guru's please help improve ROT13 algorithm ! I submitted a cleaner one (than what's on the ROT13 page) along with some remarks, and copied the list here, and then saw Sunanda's reply: [EMAIL PROTECTED] wrote: http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=rot-13.r WRT that version, I'll add my $0.02... rot-13: func [ {Converts a string to or from Rot-13} data [any-string!] /local scrambled rot-chars rot-char ][ rot-chars: {anabobcpcdqderefsfgtghuhivijwjkxklylmzmANABOBCPCDQDEREFSFGTGHUHIVIJWJKXKLYLMZM} scrambled: copy foreach char data [ if none? (rot-char: select/case rot-chars char) [rot-char: char] insert tail scrambled :rot-char ] return scrambled ] My suggestions follow: 1) I prefer to avoid typo-prone strings when I can. 2) Both the above and my submission to the ROT13 site would benefit from comments explaining the construction of the translation string as related to SELECT/CASE. It is a nice REBOL-ism that we only need 39 characters per case as opposed to 52! 3) I'd rather initialize the result as an empty string with the full (known) length preallocated to avoid excessive memory management overhead for longer arguments. 4) The use of the get-word (:ROT-CHAR) is surprising (but marginally defensible by speed?) 5) The if-none-then-use-default pattern is a great opportunity to use another REBOL-ism, ANY. I did a little benchmarking with four versions: code - is the version from my earlier post, if/get - replaces the FOREACH body with if none? cc: select/case xlate ch [cc: ch] insert tail result :cc similar to the version in the script library if - simply replaces the get-word (:CC) with the word itself if none? cc: select/case xlate ch [cc: ch] insert tail result cc either - evaluates the replacement character as an expression as the last argument of the INSERT insert tail result either none? cc: select/case xlate ch [ch] [cc] The results of a quick timing test (50,000 evaluations of each function on a 243-character string) are rot13/time-it 5 datum code: 108.356 if/get: 132.24 if: 133.502 either: 137.117 The use of the get-word saves about 1% to the run-time of the function (if/get vs is). The time for EITHER vs IF was a bit of a surprise to me, because it added another 3-4% to the run time. Comparing the object/method version vs a stand-alone function, we can pull a REBOL-persistence-of-series trick: rot13: func [s [string!] /local result xlate] [ if empty? xlate: [ for ch #a #m 1 [append xlate reduce [ch ch + 13 ch]] for ch #A #M 1 [append xlate reduce [ch ch + 13 ch]] ] result: make string! length? s foreach ch s [ insert tail result any [select/case xlate ch ch] ] result ] (not that I'd ever write somehing like that, for several reasons ;-) or embed the translation strings in place of the local XLATE, and get the following timings: fn-vs-obj 5 datum method: 108.255 stateful: 107.405 stateless: 107.514 where stateful is the above ROT13 function, and stateless uses the literal instead of persistence. Any critiques or suggestions for improvement to my object-based version are welcome! -jn- -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Guru's please help improve ROT13 algorithm !
Hi all, today I found a website having a lot of implementations in different programming languages of the ROT13 algorithm http://www.miranda.org/~jkominek/rot13/ Now I'm only a REBOL newbie, but I guess the REBOL implementation could be much better. Also the person who wrote it says the wrong things about REBOL (I think). Apart from that it was written in 1998, so REBOL has improved since as well. Perhaps you guru's can help improve? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: alt me
Hi Jason, visit the world Rebol with userid guest and password guest. Go to the accounts group and ask there to send the userid password you forgot to the your e-mailaddress. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Jason Cunliffe To: [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 9:40 AM Subject: [REBOL] alt me [duh ] Seem to have lost/forgotten my AltME rebol world login.. How do I get a new one? thanks - Jason -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: alt me
Hi Henrik, I think Carl meant the same world ( Rebol ). But, in that world there are a lot of special interest groups to discuss in. View is one of those groups. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Henrik Mikael Kristensen To: [EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 4:08 PM Subject: [REBOL] Re: alt me Arie van Wingerden wrote: Hi Jason, visit the world Rebol with userid guest and password guest. Go to the accounts group and ask there to send the userid password you forgot to the your e-mailaddress. Hi Will this also count for the REBOL-View world, Carl talked about? Regards, Henrik Mikael Kristensen -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] newbie: missing functions??
Hi all, when I was trying to work thru some of the cookbook examples, I came across some functions e.g. remove-each and suffix?, that are described in the REBOL Function Dictionary. However, when I try to use them I get a message like: ** Script Error: suffix? has no value. When I use e.g. help remove-each I get: No information on remove-each (word has no value). And source remove-each says: remove-each: undefined. I am currently working with REBOL/View 1.2.1.3.1 on Win98. Any ideas? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: newbie: missing functions??
Hello Gregg Max, thanks so far! Indeed I'd like to update to the 1.2.8 level (which is, as I understand, less crude than 1.2.10). However I couldn't find that level on the RT site. Can you tell me where to find it? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution - Original Message - From: Gregg Irwin To: Arie van Wingerden Sent: Saturday, November 15, 2003 7:46 PM Subject: [REBOL] Re: newbie: missing functions?? Hi Arie, AvW when I was trying to work thru some of the cookbook examples, AvW I came across some functions e.g. remove-each and suffix? They are available in newer releases (1.2.8 is a nice one if you don't want the more drastic (no install) changes in 1.2.10. Once you have a new version, you can use SOURCE to get the code for them and patch them into whatever version you use. If you can't get a newer version for some reason, we can post the code for them here. -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: need help with comparison operator evaluation
Hi Steve, AFAIK you need to remove the [ ] around the condition in the IF statement. Have a look at http://www.rebol.com/docs/words/wif.html Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Steve Vondrasek To: [EMAIL PROTECTED] Sent: Friday, November 14, 2003 5:06 PM Subject: [REBOL] need help with comparison operator evaluation Greetings, It seems like I always have the hardest time trying to do the simplest things. For instance in the code snipet below the not equal comparison EXTENSION-IN .txt always evaluates to true and always appends .txt to the end of the string even if there's already .txt at the end of the string. I don't understand. Thanks in advance. INPUT-FILE: ask Enter name of file with numbers to be processed: comment { user enters owwnumbers.txt } OUTPUT-FILE: ask Enter name of output file: INPUT-FILE: make string! INPUT-FILE OUTPUT-FILE: make string! OUTPUT-FILE comment { Are the last 4 chars of the str equal to .txt? If not append .txt to the end of the string. } EXTENSION-IN: substr INPUT-FILE ( (length? INPUT-FILE ) - 3) 4 print EXTENSION-IN comment { prints out .txt on the screen} EXTENSION-OUT: substr OUTPUT-FILE ( (length? OUTPUT-FILE ) - 3) 4 if [EXTENSION-IN .txt] [append INPUT-FILE .txt ] if [EXTENSION-OUT .txt] [append OUTPUT-FILE .txt ] INPUT-FILE: make file! INPUT-FILE OUTPUT-FILE: make file! OUTPUT-FILE DIAL-PEERS-NUMBERS: read/lines INPUT-FILE ... ** Access Error: Cannot open /C/Documents and Settings/svondrasek/Desktop/REBOL/owwnumbers.txt.txt ** Near: DIAL-PEERS-NUMBERS: read/lines INPUT-FILE Steve Vondrasek -- __ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Please help me to promote REBOL
Hi Sunanda, thanks for the very good remarks concerning my site. In the near future I am going to incorporate the advice into it! I hope that at some stage the site may help the world to know more about REBOL than today. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 10, 2003 8:35 AM Subject: [REBOL] Re: Please help me to promote REBOL Hi Arie, In order to serve the REBOL community best, I ask you to check my site for correctness and completeness. If you think it's worthwile, please link to my site. Do not hesitate to comment, I am just a newbie :-) I think it'll be a great resource. Thanks for taking the time to do it. I've got a few comments about the site itself rather than directly on its contents. These are triggered by looking at your site, but some of them apply to other REBOL sites too. 1. GET INTO DMOZ To be visible in search engines (so people can find you) it is important to have incoming links from other sites and directories. An important directory to get into is DMOZ. The correct category is probably: http://dmoz.org/Computers/Programming/Languages/REBOL/FAQs,_Help,_and_Tutorial s/ But I am not sure you have enough *unique* content yet to qualify for a DMOZ listing -- simply listing other links isn't enough. Add some content along the lines of other replies and you'll do fine. Incidentally, thanks to AllenK for starting the REBOL categories at DMOZ and Tgosbell for taking it over and expanding them. 2. BE SEARCH-ENGINE FRIENDLY If you want the site to rank well, you've got to do things that search-engines like. The site uses frames. They are a great idea for an internal company intranet. But they are a major impediment for search engines out in the wider world. Although SEs will these days index beyond the frameset, their heart really isn't into it, so you don't get good ranking without an enormous amount of other work. Frames also annoy us users out here -- it's impossible to bookmark an individual page, or to provide a deeplink. So think about replacing the frames with SSI or similar technology. 3. AIM FOR VALIDATED HTML REBOL is a cross-platform miracle, so the chances are that people will be using your site from all sorts of browsers you and I have never even heard of. Cross-browser support is tricky to get 100% right, but it helps a lot if the HTML validates to the !DOCTYPE standard it's aimed at. The site has some improperly nested and unclosed HTML tags. You can check the individual pages at: http://validator.w3.org/ (So far no one has complained that they couldn't see the site, so the mark-up issues may all be benign. But validation is still a useful discipline: you can't know with 100% certainty which mark-up errors will cause problems with search engines or new browsers, so it's best not to insert those errors). Sunanda -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Please help me to promote REBOL
Hi Tim, thanks for the code sample! I will get into this soon. By the way: it looks a bit similar to a DEFINE in a LET fence in SCHEME with lexical scoping. Is that right? Did you mean btw that I may place it as an example on my site? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution - Original Message - From: Tim Johnson To: [EMAIL PROTECTED] Sent: Sunday, November 09, 2003 1:05 AM Subject: [REBOL] Re: Please help me to promote REBOL That's a really pretty web site! -- (reb rings anyone?) -- For those new to rebol(and for you gurus to critique if you so wish), I'm including a subroutine that I use frequently. One of rebol's distinctive features is the variety of ways in which code can be evaluated. Coming from architectural languages like ASM and C, and using more conventional scripting languages like python, I had a hard time getting that under my belt. Still working at it actually. and the fact remains, rebol documentation doesn't really hammer down the distinctions in evaluation as much as should be done, IMHO. Following the control flow of 'fetch might be enlightening to someone new to rebol *and* it illustrates the usage of (what I call) an 'anonymous' function enjoy tim P.S. I hate pretty-print! ; --- make object! [ default-value: none set 'fetch func[ {safe data retrieval. Handles any value} v /seed {set default value} /deep {If block, reduce} /local tmp][ either seed[default-value: v][ either value? v[ either word? v[ tmp: get v either all[deep block? tmp][reduce tmp][tmp] ][v]][default-value ; --- * Gregg Irwin [EMAIL PROTECTED] [031108 14:29]: Hi Arie, AvW since some time I have got my REBOL promotion website AvW http://home.zonnet.nl/rebolution running. AvW In order to serve the REBOL community best, I ask you to AvW check my site for correctness and completeness. If you think AvW it's worthwile, please link to my site. Do not hesitate to AvW comment, I am just a newbie :-) Looks good to me! You've got good coverage of lots of the resources out there. One thing I would like to have done more of myself when I started with REBOL, though I still can, is keep a journal as I learned more about it; what problems I had; the breakthroughs that came; how my thinking changed over time. Things like that. If you're still feeling like a newbie, I think that could be helpful to others. Met vriendelijke groet, :) -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- Tim Johnson [EMAIL PROTECTED] http://www.alaska-internet-solutions.com -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Curiosity
Hi Carlos, 2x on Windows (W98 and W2K) Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution - Original Message - From: Carlos Lorenz To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:42 AM Subject: [REBOL] Curiosity Hi list, I am very curious about to know how many of us use REBOL under Linux and how many use REBOL under Windows both at work and at home. Would you mind answer a this? Thanks Carlos -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Please help me to promote REBOL
Hello all, thanks very much for the comments on the site. I'll think about setting up a kind of journal Gregg. Don't know yet whether it will be useful for a lot of people ... The colour scheme is a question of taste Anton. So, indeed use your own scheme :-) Phil, with the small footprint I meant the size of the executable being about 500KB. Tom, I will add the info you supplied on becoming a AltMe REBOL world member. Thanks to Anton, Andrew, Gabriele for the useful comments on error handling. I will incorporate your remarks. Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Please help me to promote REBOL
Hi guys, since some time I have got my REBOL promotion website http://home.zonnet.nl/rebolution running. In order to serve the REBOL community best, I ask you to check my site for correctness and completeness. If you think it's worthwile, please link to my site. Do not hesitate to comment, I am just a newbie :-) Met vriendelijke groet / with kind regards, Arie van Wingerden -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Bidirectional value mapping.
Hi bruno, do you mean something like the ALIAS function? http://www.rebol.com/docs/words/walias.html If not, can you supply some code, an example? Met vriendelijke groet / with kind regards, Arie van Wingerden http://home.zonnet.nl/rebolution ICQ 343101686 - Original Message - From: Bruno G. Albuquerque To: [EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:07 PM Subject: [REBOL] Bidirectional value mapping. Hello. I have 2 values that would be mapped to each other. What I need to do is to be able to find the first valeu by searching for the ceond and locate the second by searching for the first. I did come up with solutions to that but I am not satisfied with any of the solutions. Is there a standard Rebol-Way ofr doing that? The best option would be a way that would not result in data duplication. -Bruno -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Newbie: need help with COMPOSE
Hi list, below a extracted piece of program containing 2 times a do rejoin. I tried hard to not use rejoin, but compose instead, but it did'nt work out properly. Could you show me how to rewrite the code in both cases? Thanks in advance, Arie van Wingerden http://home.zonnet.nl/rebolution ;;; = Code follows here REBOL [] ; ; This function extends a 2nd level object with a function ; add-affix-func: does [ do rejoin [ rules/ fxname : make rules/ fxname [ ; Extend 2nd level object rule fxcount : func ; Function name [ inword [ string! ] ] ; Function spec block [ print 200 ] ] ] ] ; ; Main program starts here ; fxname: A ; name of 2nd level object fxcount: 1 ; counter rules: make object! [] ; create 1st level object do rejoin [ rules: make rules [; create 2nd level object fxname : make object! [ x: 100 ]] ] probe rules ; show intermediate result input ; pause console add-affix-func ; extend 2nd level object probe rules ; show final result input ; pause console -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Newbie: need help with COMPOSE
Hi Ingo and Ladislav, thanks for the code! It greatly helps me further on the subject. Thanx again, Arie -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Newbie questions
Hi Kay, for error handling have a look at http://www.rebol.com/docs/core23/rebolcore-17.html Met vriendelijke groet / with kind regards, Arie van Wingerden - Original Message - From: Kai Peters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 02, 2003 6:40 PM Subject: [REBOL] Newbie questions Hi all ~ just stumbled upon REBOL yesterday and have started writing my first min-app and the following questions have come up thus far: what is the most elegant way to read a value out of an ini file? tried to find some docs on error handling but thus far have not succeeded - is there anything out there? how do i know that a read from ftp succeeds and how do i know which error occured if it fails? Thanks for all input Kai -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Newbie: promote REBOL
Hi all, since I like REBOL (and IOS) very much I would like the world to know about it's virtues. I decided to create a website with the sole purpose to promote REBOL: http://home.zonnet.nl/rebolution/ As a side effect I learnt how to build a website ;-) Perhaps you, experienced guys, could give me some critiques / advice in order to improve my website and to promote REBOL even better. Thanks in advance, Arie van Wingerden -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Newbie: some questions about VID
Hi Phil, thanks for your help and suggestions! Program has improved significantly now and I learnt a lot. Q1 I really overlooked that one. Dumb :-( Concerning compose: is there some good documentation on that subject? Thanx again, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 27, 2003 4:28 PM Subject: [REBOL] Newbie: some questions about VID Hi Arie, Q1 You need to move show emails down 1 line outside the if count = 0 block. Q2 Use the pwd/data with the hide attribute. A couple of suggestions : 1. You could use compose to compose the user:[EMAIL PROTECTED] something like mb: compose [scheme: 'pop host: (pop-server) user: (user) pass: (password)] 2. You can use import-email to parse the email for you. help import-email USAGE: IMPORT-EMAIL data DESCRIPTION: Constructs an email object from an email message. IMPORT-EMAIL is a function value. ARGUMENTS: data -- The email message (Type: string) The email object returned has all the fields you want To/From/Subject Cheers Phil === Original Message === Hello, in the following trial program I have a few difficulties using VID. Question 1: how can I fill out the text-list. The results never show up Question 2: I tried the hideattribute on the pwd field; if I print the pwd field, I don't see the actual value, but only the ***. How to get (and print) the real value ? Kind regards, Arie van Wingerden The program: == REBOL [ ] lay: layout [ style lab label 100 right across vh2 Provide your e-mail account information return lab Userid uid: field return lab Password pwd: field return lab POP3 server pop: field return lab button Fetch e-mails [fill] return lab E-mails emails: text-list 600x200 return ] fill: does [ clear emails/data count: 0 mails: read/lines to-url rejoin [ pop:// uid/text : pwd/text @ pop/text ] foreach mail mails [ count: count + 1 insert emails/data rejoin [ = mail # count= ] parse mail [ thru From: copy from to ^/ ] insert emails/data rejoin [ From : from ] parse mail [ thru Date: copy date to ^/ ] insert emails/data rejoin [ Date : date ] parse mail [ thru Subject: copy subject to ^/ ] insert emails/data rejoin [ Subject: subject ] ] if count = 0 [ insert emails/data --- no e-mails found --- show emails ] ] focus uid view lay -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Newbie: some questions about VID
Hi Sunanda, thanks! The Zines docs are indeed nice. Perhaps you or somebody else can help me with something else. I've got this pop-up layout: popup: layout/offset [ across backcolor red errtxt: info 500 return button OK [ hide-popup ] return ] 200x200 When I've showed the pop-up (SHOW-POPUP POPUP) from within my main window layout and have pressed the OK button, the whole program seems to end instead of returning to my main window. I tried to use UNVIEW instead of HIDE-POPUP. But in that case the main window is there, but seems to hang. Any ideas? Of course I am sorry for the kind of questions. They ARE real beginners questions, since it is my very first REBOL program ever ... ;-) The more grateful I am for the help in this list ! Kind regards, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 2:03 PM Subject: [REBOL] Re: Newbie: some questions about VID Arie: Concerning compose: is there some good documentation on that subject? Two references from REBOL.com: www.rebol.com/docs/words/wcompose.html www.rebol.com/docs/core23/rebolcore-7.html and one from Allen's much-missed 'zine: http://www.rebolforces.com/zine/rzine-1-03/ Sunanda -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Newbie: some questions about VID
Hi Phil, that works fine! Thanx, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 5:15 PM Subject: [REBOL] Re: Newbie: some questions about VID Hi Arie, I have never used show-popup . seems like you are displaying an error message. You may like to use inform USAGE: INFORM panel /offset where /title ttl /timeout time DESCRIPTION: Display an exclusive focus panel for alerts, dialogs, and requestors. INFORM is a function value. Using this with hide-popup may be a solution. Cheers Phil === Original Message === Hi Sunanda, thanks! The Zines docs are indeed nice. Perhaps you or somebody else can help me with something else. I've got this pop-up layout: popup: layout/offset [ across backcolor red errtxt: info 500 return button OK [ hide-popup ] return ] 200x200 When I've showed the pop-up (SHOW-POPUP POPUP) from within my main window layout and have pressed the OK button, the whole program seems to end instead of returning to my main window. I tried to use UNVIEW instead of HIDE-POPUP. But in that case the main window is there, but seems to hang. Any ideas? Of course I am sorry for the kind of questions. They ARE real beginners questions, since it is my very first REBOL program ever ... ;-) The more grateful I am for the help in this list ! Kind regards, Arie - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 2:03 PM Subject: [REBOL] Re: Newbie: some questions about VID Arie: Concerning compose: is there some good documentation on that subject? Two references from REBOL.com: www.rebol.com/docs/words/wcompose.html www.rebol.com/docs/core23/rebolcore-7.html and one from Allen's much-missed 'zine: http://www.rebolforces.com/zine/rzine-1-03/ Sunanda -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Newbie: some questions about VID
Hello, in the following trial program I have a few difficulties using VID. Question 1: how can I fill out the text-list. The results never show up Question 2: I tried the hideattribute on the pwd field; if I print the pwd field, I don't see the actual value, but only the ***. How to get (and print) the real value ? Kind regards, Arie van Wingerden The program: == REBOL [ ] lay: layout [ style lab label 100 right across vh2 Provide your e-mail account information return lab Userid uid: field return lab Password pwd: field return lab POP3 server pop: field return lab button Fetch e-mails [fill] return lab E-mails emails: text-list 600x200 return ] fill: does [ clear emails/data count: 0 mails: read/lines to-url rejoin [ pop:// uid/text : pwd/text @ pop/text ] foreach mail mails [ count: count + 1 insert emails/data rejoin [ = mail # count= ] parse mail [ thru From: copy from to ^/ ] insert emails/data rejoin [ From : from ] parse mail [ thru Date: copy date to ^/ ] insert emails/data rejoin [ Date : date ] parse mail [ thru Subject: copy subject to ^/ ] insert emails/data rejoin [ Subject: subject ] ] if count = 0 [ insert emails/data --- no e-mails found --- show emails ] ] focus uid view lay -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: field focus event
Hi Romano, as a newbie I am very interested in this discussion and try to understand ... One could however detect when a field either: 1. gets clicked, or 2. is activated via the TAB key (can you detect that ??) If these events can be detected you know that the field where it happens has got focus. Or am I totally wrong? Arie van Wingerden - Original Message - From: Romano Paolo Tenca [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 18, 2003 3:41 PM Subject: [REBOL] Re: field focus event Hi I am trying to find where I can drop some code into a view field the instant that the field becomes active. For example: view layout [ f1: field button [ focus f1 ] ] So that when I press the button and the field f1 becomes the focus I want some code to run. Can't seem to find this particular situation using detect or insert-event-func. In this exact case you can do a simple: my-code: [print 1] view layout [ f1: field button [ do my-code focus f1 ] ] Focus function does not create an event, so you can't intercept a not existing event. --- Ciao Romano -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: newbie: Examples / tutorials for networking protocols ?
Hi Gabriele and Maxim, thanks for the to the point info. I think the message is quite clear (REBOL takes away the real need to know a lot about the low level stuff) ;-) Also thanks for the links; quite useful! Kind regards, Arie - Original Message - From: Maxim Olivier-Adlhoch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 5:31 PM Subject: [REBOL] Re: newbie: Examples / tutorials for networking protocols ? Welcome Arie, might I add that since all accesses to external data are done internally via port objects ( (including files, networks, even audio and the clipboard) they are all pretty much accessed the same way... not just the network stuff. for example, reading text from the clipboard is as easy as: read clipboard:// (be carefull, rebol currently only supports text in the clipboard) this way, the number of commands and procedures is reduced and instead of learning new protocols and schemes, you concentrate on WHAT you extract or push from/to them instead of HOW you do it. if you still want to access the low-level stuff (like I did recently, to call a chmod when transfering *.cgi files in the ftp protocol), you can look at an article on the rebol forces (www.rebolforces.com) site written by Jeff Kreis which is an excelent tutorial on the basics of creating your own protocol and/or modifying the current ones. -MAx AvW Is it still useful to know the low level stuff or just a waste when AvW programming REBOL ? Well, knowing is always useful, but you don't need to. If you want to read a web page, for e.g. rebol.com, you just have to use: read http://www.rebol.com/ That's all. Same for FTP, POP3, etc. Regards, Gabriele. -- Gabriele Santilli [EMAIL PROTECTED] -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/ -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.