This works
view layout [
image load http://i2.ytimg.com/vi/e3wShd_bX8A/default.jpg
]
But this doesn’t
view layout [box 100x100 effect [draw [
image load http://i2.ytimg.com/vi/e3wShd_bX8A/default.jpg
]
]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
LOAD is not part of the EFFECT or DRAW dialects, so it is being ignored.
You can use COMPOSE to ensure it gets executed:
]
Notes:
COMPOSE/DEEP because we are two deep in blocks — effect [draw [ … ]]
the “native” REBOL code that you want executed is in parenthesis: (load …)