• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp212
r3wp1716
total:1928

results window for this page: [start: 1901 end: 1928]

world-name: r3wp

Group: Core ... Discuss core issues [web-public]
Endo:
2-Feb-2012
Also try to use the full path. Once I have faced a problem CALL with 
REBOL style file! value. It worked with a windows-style path.

And also have problem with /shell worked on my XP but did not on 
my customers W7.
Pekr:
2-Feb-2012
I just tried:

do to-rebol-file "L:\some\path\here\test.r"


and everything went OK, Win Vista here. Console is being launched 
form the shortcut on start bar, pointing to renamed to rebol.exe
Pekr:
2-Feb-2012
note: the reason I used to-rebol-path was, that directory names contained 
spaces ....
Maxim:
9-Feb-2012
can anyone explain a single use for this R2 path conversion?

>> to-string first [path/item]
== "pathitem"


I know I can use mold... it's just that I wonder why to-string doesn't 
use the molded string equivalent as well?
Sunanda:
9-Feb-2012
Something inconsistent in the way paths are handled:
    to-string load "path/item"
    == "pathitem"
     to-string to-path "path/item"
     "path/item"
Endo:
10-Feb-2012
Pekr: Registration (regsvr) is required only if they are ActiveX 
DLLs, but I think they are not because you cannot use ActiveX DLLs 
in REBOL.

Normally they should be somewhere in your PATH. Try to see what's 
happening with FileMon tool from Systeminternals.com.
Maxim:
10-Feb-2012
it also looks in the current-dir... but that path will depend of 
how you launched rebol.


use WHAT-DIR just before you try to load your dll  to know where 
the current-dir is at that time and put your dll there.


you can also add a path in the user or system path environment and 
place the dll there.
Pekr:
11-Feb-2012
My observation is, that if there are one or more dependant DLLs, 
REBOL will load first one, but then the path is somehow not taking 
into account a present directory. Here's few pointns:

- you can't do: do %my-dir/my-dll-script.r
- nor you can do so after: change-dir 


But it works, when you launch REBOL from the directory where those 
DLLs are present.
Group: World ... For discussion of World language [web-public]
Geomol:
18-Dec-2011
- Added native function: TRY
- Added set-path! notation to set values in structs (POKE)
- Added support for: to string! handle
- Added context: system/words
- Added helper function: ROUTINE
- Added mold support for routines (SOURCE)
- Added debugging function: ??
- Bugfixes
Pekr:
27-Jan-2012
And the culprit - the licence - the old song .... RT's path ...
Group: REBOL Syntax ... Discussions about REBOL syntax [web-public]
Ladislav:
16-Feb-2012
http://issue.cc/r3/1477- however, the slash-words can have neither 
the refinement-syntax nor the path-syntax; because of that they remain 
"problematic" anyway
Maxim:
17-Feb-2012
>> hh/
** Syntax Error: Invalid path -- hh/
** Near: (line 1) hh/
Ladislav:
17-Feb-2012
Yes, but that is not a problem for the word, it is an invalid path
Ladislav:
17-Feb-2012
yes, load "aaaa/" reports an "invalid path". However, the word is 
valid.
Steeve:
17-Feb-2012
but I think it should be detected inside the path-syntax not in the 
word-syntax or not ?
Ladislav:
17-Feb-2012
Actually, inside the path-syntax you need to detect the word...
Ladislav:
17-Feb-2012
that is not a valid path, but this one is:

>> type? second load "a/1.2.3/b"
== tuple!
Ladislav:
17-Feb-2012
The tuple *is* valid, what is invalid is just the path in your example
Maxim:
17-Feb-2012
no, it makes the PATH invalid.
Steeve:
17-Feb-2012
it may be valid but it has nothing to do with a path anymore
Ladislav:
17-Feb-2012
path-syntax shall be something like path-syntax: [word-syntax some 
[#"/" value-syntax]]
Maxim:
17-Feb-2012
yep.  so the above is not a path   :-)   its a tuple, followed by 
a refinement.
Steeve:
17-Feb-2012
Argh sorry
>> [a/1.2.3/a]
== [a/1.2.3/a]
valid path
Steeve:
17-Feb-2012
I still think there is a problem with that form [aaa/]

It will be checked like 2 separate valid words although it's an invalid 
path
Maxim:
24-Feb-2012
path! set-path! lit-path!
Maxim:
24-Feb-2012
no, afaik,  just paren!, word and its own additional format quirks. 
    as the global block definition expacts, so too will parens, and 
thus the path.
Maxim:
24-Feb-2012
yeah, just have to find the values which are valid in a path (not 
all types are valid, at least in R2)
Maxim:
24-Feb-2012
tag! yes, string! no.   for example:

>> block: [55 "abc" [test] <tag> [test]]
== [55 "abc" [test] <tag> [test2]]
>> block/"abc"
** Syntax Error: Invalid path -- block/
** Near: (line 1) block/"abc"
>> block/("abc")
== [test]
>> block/<tag>
== [test2]
1901 / 192812345...16171819[20]