World: r3wp
[SDK]
older newer | first last |
Janko 15-Jun-2009 [1419] | I will try few ways of doing it too |
Sunanda 15-Jun-2009 [1420] | Would this one line in your start up help? if not encap [#include: : do] |
Janko 15-Jun-2009 [1421] | interesting.. I will try if it works |
Graham 15-Jun-2009 [1422x2] | why not create a target source file and run that? |
enface source.r -t target.r -o target.exe and that gives you the pre-reboled version as target.r | |
Janko 15-Jun-2009 [1424] | but then I have to encap everty time I make a change :) |
Graham 15-Jun-2009 [1425x2] | no .. you can use pre-rebol .... |
encap uses prerebol | |
Janko 15-Jun-2009 [1427] | ok .. encap or prerebol every time I make a change .. I could automate it so that when I want to text-run app I have some batch file that prerebols it and runs it instead of just runs it |
Graham 15-Jun-2009 [1428] | Also look at cheyenne.r |
Janko 15-Jun-2009 [1429] | that could work since rebol doesn't give me line number on error so it doesn't matter that I am editing different thing than running (in terms of file/line num) |
Graham 15-Jun-2009 [1430x2] | I use a .cmd file myself ... to build my sources and then run them. |
But doc has set up cheyenne.r so that you can either run it , or use it in encap. | |
Janko 15-Jun-2009 [1432] | I will look at cheyenne.r , thanks |
Ladislav 15-Jun-2009 [1433x4] | Janko: re your #include question: you should try INCLUDE, seriously |
it solves exactly your problem | |
you always can do: INCLUDE %file, which is an equivalent of DO %file, except for the fact, that it includes everything needed | |
...and if you want to just save the file, you use INCLUDE/LINK %my-input.r %preprocessed-output.r | |
Ashley 15-Jun-2009 [1437] | Sunanda, the "#include: :do" suggestion won't work as #include is an issue! not a word! ... I like the line of thought though. |
Ladislav 15-Jun-2009 [1438] | #include: :do surely isn't possible, it would be possible only if we used the *include* alternative |
Janko 15-Jun-2009 [1439] | Ladislav: I will try your include |
Sunanda 15-Jun-2009 [1440] | Thanks, Ashley..... loop 100 [print "I should test my ideas before publishing them."] |
Oldes 15-Jun-2009 [1441x2] | It would not work for me anyway as I use other PREBOL syntax as well. Personally I like the issues for such a syntax. I use PREBOL for single projects scripts and 'require spec in the script's header for other scripts/projects which are required for the single script/project. |
The difference between the 'require and the script's #include is, that in the header I use only projects/script name and or version and not relative path as one has to do with the #include. | |
Ladislav 15-Jun-2009 [1443] | ...as one has to do with #include... - it depends... |
Oldes 15-Jun-2009 [1444] | In R3 I should probably replace it with modules. Your include.r enables that? |
Ladislav 15-Jun-2009 [1445x2] | Carl wrote, that R3 modules don't support include at this time, check the http://www.rebol.net/wiki/Inclusion_Methodsand http://www.rebol.net/wiki/INCLUDE_documentation texts |
(maybe you find what you need) | |
Oldes 15-Jun-2009 [1447x2] | I have what I need :) I'm just not sure why the #include should be replaced. BTW.. I have one own addition into PREBOL - #include-block (which includes data as a block as it's with #include-binary) |
(I mean the usage of issues for preprocessing directives) | |
Ladislav 15-Jun-2009 [1449] | undestood |
Oldes 15-Jun-2009 [1450] | Also my preprocessor adds comments based on script headers so if I include foreign script, the name of the author is present. Like for example here: http://box.lebeda.ws/~hmm/rebol/gif_latest.r |
Ladislav 15-Jun-2009 [1451] | the headers: yes, that looks like making sense in case the file is meant to be published as text |
BenBran 12-Aug-2009 [1452] | Anybody know a workaround for this? from rebcmdview.exe and/or old desktop: REBOL [] print length? read/lines http://www.google.com ;; works print length? read/lines http://www.rebol.com ;; works print length? read/lines https://www.google.com ;; works halt 11 242 11 encapsulate (encmdface.exe) above and run the exe: 11 242 ** Access Error: Invalid port spec: https://www.google.com ** Near: print length? read/lines https://www.google.com halt ** Press enter to quit... happens on any https page |
Graham 12-Aug-2009 [1453x2] | Yes, check to see if https is installed. |
Unless you downloaded the very latest 2.7.6 sdk, you will have that issue. Easy to fix though. | |
BenBran 12-Aug-2009 [1455x2] | I received this via email. ...rebol-sdk-cmd-z2l7np..... Is there another place to download the latest? |
I'll send a message to Rebol. I have 2.5.6. Thx. | |
Graham 12-Aug-2009 [1457x2] | I googled this http://www.rebol.net/builds/#section-1 |
not sure why there is no easily found direct link | |
BenBran 13-Aug-2009 [1459] | Graham, that worked!!!! Thank you very much!!! |
Maxim 20-Aug-2009 [1460] | links were broken on one of the updates to the site when R3 was given more space. |
Maxim 23-Sep-2009 [1461] | is there are problem with the latest builds of sdk not using the encap: [title "window title"] properly? |
Dockimbel 23-Sep-2009 [1462] | Works on Windows with SDK 2.7.6. |
Maxim 23-Sep-2009 [1463x2] | not here. windows 2.7.6 also.... very strange. |
I tried with enface.exe and encmdview.exe both give a tile like "REBOL - " | |
Dockimbel 23-Sep-2009 [1465] | Got that prefix only with source version. Once encapped (with enface), I get the proper title. |
Maxim 23-Sep-2009 [1466] | is your title: "" assigned to anything in the header? |
Dockimbel 23-Sep-2009 [1467] | yes, it's assigned to the same name as in encap/title. |
Maxim 23-Sep-2009 [1468] | can you give me the full header? ... I'll just try it as-is to see if its a side-effect of the complete header... & or other encap options. |
older newer | first last |