1 tomc 20-Sep-2004 7:09 | would something like
either 'Core ==system/product
[do http://www.rebol.org/library/public/repack-core.r]
[do http://www.rebol.org/library/public/repack.r ]
work for this? |
|
2 sunanda 22-Sep-2004 19:00 | That would. What we really need is a similar check in repack to divert the user to repack-core. That's on the upgrade list, honest. |
|
3 mybiz 19-Aug-2021 4:26 | |
|
4 marosol 1-Sep-2021 22:29 | |
|
5 johnsjvi95 9-Sep-2021 9:37 | |
|
6 mark214 20-Nov-2021 20:39 | |
|
7 chriscole 3-Apr-2022 20:51 | |
|
8 miyaka22 22-Jul-2022 8:55 | |
|
9 danielcooks1 26-Jul-2022 1:32 Edited: danielcooks1 26-Jul-2022 1:40 | Efficient, and Sustainable, Like the Elite Tile Installer Edmonton, They outperformed other Edmonton tile companies. https://www.tileinstallersedmonton.com/ |
|
10 crutcherhuyn 26-Jul-2022 8:18 | |
|
11 joeanderson 10-Aug-2022 17:39 | |
|
12 ampva301 17-Aug-2022 20:16 | The compare function is really slow. A function like this is substantially more efficient in achieving the same sort of capabilities. https://www.mcallendrywall.com |
|
13 sarah41 4-Nov-2022 3:08 Edited: sarah41 4-Nov-2022 3:09 | Really nice! I use it for my website: https://www.robots-cuiseurs.fr/ |
|
14 johnsjvi95 19-Nov-2022 7:40 | |
|
15 mandiripinja 5-Dec-2022 8:05 | pinjaman dana jaminan bpkb mobil cepat hanya 1 hari bisa langsung cair dengan suku bunga rendah serta tanpa survey dan bpkb mobil aman untuk seluruh wilayah indonesia. https://www.justgiving.com/fundraising/mandiripinjamandana https://ameblo.jp/mandiripinjamandana/entry-12680765607.html https://ameblo.jp/mandiripinjamandana/entry-12680767540.html https://ameblo.jp/mandiripinjamandana/entry-12680769727.html https://ameblo.jp/mandiripinjamandana/entry-12680770493.html https://ameblo.jp/mandiripinjamandana/entry-12680771364.html https://ameblo.jp/mandiripinjamandana/entry-12680785558.html https://ameblo.jp/mandiripinjamandana/entry-12680786359.html https://ameblo.jp/mandiripinjamandana/entry-12680787122.html https://ameblo.jp/mandiripinjamandana/entry-12680787855.html https://ameblo.jp/mandiripinjamandana/entry-12680788647.html https://ameblo.jp/mandiripinjamandana/entry-12680789550.html https://ameblo.jp/mandiripinjamandana/entry-12680790188.html https://ameblo.jp/mandiripinjamandana/entry-12680790735.html https://ameblo.jp/mandiripinjamandana/entry-12680791419.html https://ameblo.jp/mandiripinjamandana/entry-12680792163.html https://ameblo.jp/mandiripinjamandana/entry-12680792608.html https://ameblo.jp/mandiripinjamandana/entry-12680793459.html https://ameblo.jp/mandiripinjamandana/entry-12680793916.html https://ameblo.jp/mandiripinjamandana/entry-12680794272.html https://ameblo.jp/mandiripinjamandana/entry-12680794619.html https://ameblo.jp/mandiripinjamandana/entry-12680794959.html https://ameblo.jp/mandiripinjamandana/entry-12680795284.html https://ameblo.jp/mandiripinjamandana/entry-12680795637.html |
|
16 odonnellmon 22-Dec-2022 0:33 |
 |
We can identify and fix any issues that you’re having with your rig’s suspension.
Contents:
|
 |
MakeDoc2 by REBOL- 22-Dec-2022
|
|
|
17 jackslesly19 6-Mar-2023 18:21 | I am happy to find so much useful information here in the post. Check this website http://www.tejadosygoterascoslada.com |
|
18 crutcherhuyn 13-Mar-2023 17:18 | |
|
19 builder16 6-Apr-2023 16:20 | |
|
20 joeanderson 17-Apr-2023 23:28 | |
|
21 sandy76 9-May-2023 18:03 | |
|
22 ampva301 14-Jun-2023 17:41 | |
|
23 builder16 22-Jun-2023 9:37 | |
|
24 builder16 3-Aug-2023 11:05 | |
|
25 ampva301 9-Aug-2023 21:07 |
 |
Certainly, your proposed code snippet seems to be on the right track, but there are a few minor adjustments needed to make it syntactically correct.
Contents:
Cleveland Drywall Pros
|
 |
MakeDoc2 by REBOL- 9-Aug-2023
|
|
|
26 builder16 20-Sep-2023 11:46 | |
|
27 builder16 25-Oct-2023 16:06 | |
|
28 builder16 16-Nov-2023 14:30 | |
|
29 builder16 13-Dec-2023 12:48 | |
|
30 angel17 23-Dec-2023 5:41 | This is so cool. Thanks for sharing this one. cash for cars brockton |
|
31 marosol 30-Dec-2023 22:02 | |
|
32 builder16 9-Feb-2024 6:08 | |
|
33 kyzer 1-Apr-2024 11:45 | |
|
34 olive 9-May-2024 12:03 | |
|
35 danielperez1 5-Aug-2024 11:27 | |
|
36 danielperez1 6-Aug-2024 17:12 | |
|
37 blythewoody 17-Aug-2024 8:06 |
 |
The code snippet you've provided seems to be a REBOL script, and the question is about conditionally loading different scripts based on the value of system/product.
Contents:
To accomplish this, you can use the either function in REBOL, which works like a conditional (if-else) statement. Here's how your code should look:
rebol
either system/product = 'core [
do http://www.rebol.org/library/public/repack-core.r
] [
do http://www.rebol.org/library/public/repack.r
]
Explanation:
either takes two blocks: the first block is executed if the condition (in this case, system/product = 'core) is true, and the second block is executed if it is false.
system/product holds the name of the REBOL product in use, such as 'core or 'view.
The script will load repack-core.r if system/product is 'core, otherwise, it will load repack.r.
This code should work as intended for the use case you described. ovipositor dildo
|
 |
MakeDoc2 by REBOL- 17-Aug-2024
|
|
|
38 mitch 5-Sep-2024 13:33 | |
|
39 janwil 11-Sep-2024 13:45 | |
|
40 annasmith 26-Sep-2024 11:46 | |
|
41 blythewoody 23-Dec-2024 10:06 |
 |
Yes, your code snippet is conceptually on the right track for making a decision based on the value of Core and executing one of two scripts from a URL. However, there are some adjustments to make it syntactically valid and functional in Rebol.
Contents:
Here’s a corrected version:
rebol
Copy code
if Core = "system/product" [
do http://www.rebol.org/library/public/repack-core.r
] [
do http://www.rebol.org/library/public/repack.r
]
Explanation:
Condition Testing:
Core = "system/product" checks whether the value of Core matches the string "system/product".
Decision Structure:
if in Rebol evaluates a condition and executes a block if the condition is true.
To handle two blocks (true and false cases), you'll need a slightly different construct, such as either.
Using either:
For your scenario, either is the appropriate construct because it evaluates one of two code blocks based on a condition:
rebol
Copy code
either Core = "system/product" [
do http://www.rebol.org/library/public/repack-core.r
] [
do http://www.rebol.org/library/public/repack.r
]
do Command:
do evaluates the script at the specified URL. Ensure that the URLs point to valid and accessible scripts.
Points to Check:
Ensure Core contains a valid string or value for comparison.
Verify that the URLs are reachable and the scripts are compatible with the version of Rebol you're using.
This structure will load and execute the appropriate script based on the condition! Citizen Concierge
|
 |
MakeDoc2 by REBOL- 23-Dec-2024
|
|
|
42 crutcherhuyn 21-Jan 9:11 | |
|
43 takagiryo 3-Feb 3:41 |
 |
Dapatkan lebih banyak peluang menang dengan mendaftar sekarang! Bergabunglah dan nikmati berbagai promo eksklusif di website dewapokeryang kami tawarkan hanya untuk anggota baru! Tidak ada waktu yang lebih baik untuk mulai bermain! Daftar sekarang dan nikmati bonus besar yang hanya tersedia di website poker88selama promo khusus ini!
Contents:
|
 |
MakeDoc2 by REBOL- 3-Feb-2025
|
|
|
44 breana 10-Feb 10:42 | |
|
45 builder16 17-Mar 4:04 | |
|