World: r3wp
[Core] Discuss core issues
older newer | first last |
Joe 26-Nov-2008 [11319] | gabriele, thanks |
Pavel 26-Nov-2008 [11320] | Hashes/Lists IE when saved to file all hidden informations are lost, when reloaded all the links/indices are built from zero? |
Graham 26-Nov-2008 [11321] | save/all |
Pavel 26-Nov-2008 [11322] | good to know, thanks |
BrianH 26-Nov-2008 [11323x2] | The list! type is likely to not be in R3 (unless added as a third-party UDT). |
Also, you can't use hash! or list! to store code - BIND won't work on them. | |
Pavel 27-Nov-2008 [11325] | thanks again |
Nicolas 29-Nov-2008 [11326x2] | disarm try [%] |
is there anyway to disarm this error? | |
Henrik 29-Nov-2008 [11328x2] | since the block is not loadable, not directly, no. |
your code will fail before it reaches the 'disarm function | |
Nicolas 29-Nov-2008 [11330] | is there anyway I can get the system to ignore this? or catch this somehow? |
Henrik 29-Nov-2008 [11331] | the question is: how does it arise? can it be avoided? |
Nicolas 29-Nov-2008 [11332x5] | I'd avoid it if I could. I have a gui that updates at every keystroke. |
files: read %/c/ l: layout [ origin 0 space 0x0 f: field 600 [call to-file t/data/1] t: text-list 600x400 data copy files [call to-file t/picked/1] ] append second get in ctx-text 'edit-text [ t/data: copy files blk: load f/text attempt [remove-each file t/data :blk] show t ] focus f view l | |
type in "suffix? file" | |
but type in " or % and there's an error | |
I can probably get around it with a hack | |
Henrik 29-Nov-2008 [11337x2] | ah, it's a user generated error. |
you can do that by attempting a load of a string and if it loads, then it works: a: "%" load a ;== error error? try [load a] ;== true | |
Nicolas 29-Nov-2008 [11339] | you're a genius. thank you. |
[unknown: 5] 29-Nov-2008 [11340] | open/lines/with is broken in 2.7.6? |
Henrik 29-Nov-2008 [11341] | what does it do? |
[unknown: 5] 29-Nov-2008 [11342x6] | it just reads lines as normal |
it doesn't break a line at the with argument | |
ahhh it works but not with certain strings. | |
doing some more tests | |
Yeah there is definately a problem. | |
And it has something to do with blocks | |
Henrik 29-Nov-2008 [11348] | ok, let's elaborate, so we can see if this is something that is in RAMBO. |
[unknown: 5] 29-Nov-2008 [11349] | I'm trying to create another instance of the problem that I can post that doesn't have the confidential data in it. |
Henrik 29-Nov-2008 [11350] | ok |
[unknown: 5] 29-Nov-2008 [11351x6] | ok I have the following data posted in a file: {1 ["paul" "tretter" 41]*EOR*2 ["darla" "jean" 45]*EOR*} |
Now write that to a file and try to open/lines/with %filename "*eor*" | |
maybe it is case sensitive - didn't check that. | |
thats what it is | |
damn I didn't know that. | |
we should update the docs on using /with that it is case sensitive - which is opposite to how REBOL usually is. | |
Anton 29-Nov-2008 [11357x2] | Post a bug report/feature request to update the OPEN docs on that. |
(If one on RAMBO is not there already.) | |
[unknown: 5] 30-Nov-2008 [11359] | I actually sent an email to feedback to request it. |
Henrik 30-Nov-2008 [11360] | put it on RAMBO. it is the safest place to catalog such bugs. |
[unknown: 5] 30-Nov-2008 [11361] | 4244 submitted |
[unknown: 5] 1-Dec-2008 [11362x4] | I need the functionality of open/direct/lines/with such that I can access the lines in reverse order. In otherwords I want to be able to access the last line and then the next to last line etc... in that order. |
Any ideas on if that can easily be done without rolling my own method? | |
Want to make sure I'm not overlooking something simple. | |
If we dont' have a simple way of doing this now I hope R3 offers the capability. | |
Ashley 1-Dec-2008 [11366] | How can I iterate over a range of IP addresses (looking for a particular response) and "time out" the ones that "hang". I've got something like: ip: 10.1.1.0 loop 100 [ rc: read join http:// ip if find rc ... [...] ip: ip + 0.0.0.1 ] This works great on most devices (IP Phones, Printers, etc) but hangs when it hits a computer with Stealth mode. I've tried read/no-wait but that doesn't seem to make a differemce. |
[unknown: 5] 1-Dec-2008 [11367x2] | what about read tcp://ipaddy:135 |
for computers | |
older newer | first last |