World: r3wp
[!REBOL3-OLD1]
older newer | first last |
PeterWood 6-May-2009 [13934] | I checked call on Windows and it doesn't work either. I opened ticket 757. |
BrianH 6-May-2009 [13935x3] | CALL works correctly on Windows. The behavior you describe in ticket 757 is by design. See the comments for that ticket. |
The Mac version should work like the Windows version does. | |
I am not assuming that it does though - I can't test it. | |
Henrik 6-May-2009 [13938x2] | The mac version appears to be working. At least call "ls" gives me a directory listing. |
and returns none | |
BrianH 6-May-2009 [13940] | Could you post system/options from R3 on Mac? Just run R3 and type in system/options |
Henrik 6-May-2009 [13941x2] | I can't paste here, as copy/paste is broken. Will be a couple of minutes... |
http://rebol.hmkdesign.dk/files/sysops.txt | |
BrianH 6-May-2009 [13943] | I look forward to AltME 3. |
Henrik 6-May-2009 [13944] | I look forward to a VMWare with working copy/paste :-/ |
BrianH 6-May-2009 [13945] | Does LAUNCH work for you? |
Henrik 6-May-2009 [13946x2] | It launches a script alright, but am not sure what proper behavior would be for returning. |
NONE is returned, even though the script itself returns an integer. I suppose that's correct? | |
BrianH 6-May-2009 [13948x2] | Yeah. CALL doesn't return a value yet. I'm waiting for the host source before I make proposals. |
Or rather, CALL retrns none. | |
Henrik 6-May-2009 [13950] | LAUNCH also returns none. |
BrianH 6-May-2009 [13951] | >> source launch launch: make function! [[ {Runs a script as a separate process; return immediately.} script [file! string! none!] "The name of the script" /args arg [string! block! none!] "Arguments to the script" /local exe ][ if file? script [script: to-local-file clean-path script] exe: to-local-file system/options/boot args: to-string reduce [{"} exe {" "} script {" }] if arg [append args arg] call args ]] |
Henrik 6-May-2009 [13952] | oh |
BrianH 6-May-2009 [13953] | I see bugs already. LAUNCH could use a revamp like LOAD. |
Henrik 6-May-2009 [13954] | could you explain? |
BrianH 6-May-2009 [13955] | Not correct for script = none. Might be some other tweaks too. |
Graham 6-May-2009 [13956x2] | Does R3 have a way to launch a Rebol console? |
apart from calling the R3 binary. | |
BrianH 6-May-2009 [13958x2] | LAUNCH, perhaps? |
I don't get the question, sorry. Please explain what you want. | |
Graham 6-May-2009 [13960x3] | sometimes you want to start a Rebol console from an encapped application. |
but you don't want to have to need to have rebol.exe locally. | |
That can be used to debug the application with access to all the variables etc. | |
BrianH 6-May-2009 [13963] | Encapping is going to be different in R3, as is the console. It is intended that a graphical console will be developed, and callable from any graphical host. Hosts will be the new encapped apps. |
Graham 6-May-2009 [13964] | a graphical console will be good. |
BrianH 6-May-2009 [13965] | We want our REPL :) |
Graham 6-May-2009 [13966] | How is error handling handled? |
Henrik 6-May-2009 [13967] | I suppose that restricting console access for encapped apps would involve simply not including console code? |
BrianH 6-May-2009 [13968x2] | Similar to R2, though the errors start disarmed and need to be armed with DO. CAUSE-ERROR wraps this. |
Henrik, sure :) | |
Henrik 6-May-2009 [13970] | I have some radical ideas for a console. Carl will hate them. :-) |
BrianH 6-May-2009 [13971] | Carl doesn't have to use them - behold the power of modules. |
Henrik 6-May-2009 [13972] | That's good. Perhaps for R3/Plus |
Rebolek 6-May-2009 [13973x4] | Ah, vector! fixed, great! :) |
#460 not fixed | |
Now it's not possible to make signed/unsigned vectors using "make vector! [- 16 integer! 100]" ? Or is the syntax different? I cannot find it anywhere. | |
Ah, #460 is not fixed because maximum-of doesn't work at all. This should be first line in the 'maximum-of function: "if not skip [size: 1]" | |
Pekr 6-May-2009 [13977] | Rebolek - by testing in console - you have wrong order of arguments, try: make vector! [integer! 16 100] make vector! [unsigned integer! 16 100] ; there was change from hyphen to work "unsigned", dunno why - http://curecode.org/rebol3/ticket.rsp?id=350 |
BrianH 6-May-2009 [13978x3] | The new syntax for unsigned vectors is to use the 'unsigned word, not the '+ word. The optional '- word for signed vectors is gone too. |
The reason why is because people didn't understand that '+ was for unsigned, and '- was forr signed. | |
Bug #460 was a FORSKIP bug, not a MAXIMUM-OF bug. FORSKIP now works with vectors, so the bug is now fixed. | |
Pekr 6-May-2009 [13981] | why + was for unsigned and not the reverse? :-) |
BrianH 6-May-2009 [13982] | Are you aware of any negative unsigned numbers? :) |
Pekr 6-May-2009 [13983] | I don't work at that level of REBOL. So we now have vector! datatype mostly fixed. One thing I don't understand is, that we are heading for performance, and then we can see minimum-of and maximum-of becoming mezzanines. The other thing is - what now? What is now available at practical level? What can we do with vector! type? |
older newer | first last |