|
Pages: [1]
|
 |
|
Author
|
Topic: VBS 2 REBOL (Read 244 times)
|
|
kelsey
|
hey all im learning rebol its strange after knowing VBS..
could someone show me how to do these in rebol
WScript.ScriptFullName ;Gets the name of the currently running script
"." ; this means the current directory if im looking for files
thx
|
|
|
|
|
Logged
|
|
|
|
|
PeterWood
|
You should be able to get the name of the current script with : system/options/script You can access data about a script via the system/script object. Carl's short article at http://www.rebol.com/docs/quick-start4.html explains how to explore the system object. Rebol automatically looks in the current directory so this would read a file in the current directory: read %myfile Peter
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |