| |
 |
Monday, February 4, 2002 |
Phil wrote, "No arrays in UserTalk?"
We have arrays. We call them lists. Here's a list of integers:
{1, 2, 3, 4, 5}
You can add lists together if you want:
{1, 2, 3} + {4, 5} == {1, 2, 3, 4, 5}
You can reference them by index:
local (aList = {1, 2, 3});
aList[2] = 4;
After running the above, aList will contain {1, 4, 3}.
You can also mix types:
{1, "two", 0x03}
And you can nest lists:
nestedList = {1, 2, {3.0, 3.5}, 4}
In the above example, nestedList[2][1] has a value of 3.0.
9:13:35 PM
|
|
Gartk Kidd: "I used to be phytoplankton. Now I'm either big phytoplankton, or krill. Either way, I'm whale-food. :)"
Garth: Brent has written up a bunch of tips for Frontier developers, most of which apply to Radio as well. This one in particular may be of use to you.
12:03:26 AM
|
|
 |
Sunday, February 3, 2002 |
David Davies asked me earlier today, how to get the path to a local file, given the URL for its upstreamed and rendered version. Here's a code-snippet that does it:
local (weblogurl = radio.weblog.getUrl ());
local (relpath = string.delete (url, 1, sizeOf (weblogurl)));
local (f = radio.file.getAbsolutePath (relpath));
That will work fine for an image file, but if you need the path to a rendered file. If you need to convert an .html url back to the correct filepath. Add this extra step:
radio.file.locateFileIgnoringExtension (f, @f);
1:51:46 AM
|
|
 |
Friday, February 1, 2002 |
At Dave's request, I started a new category for documenting my ongoing Radio development work. It's rendered in HTML here, and you can subscribe to it by clicking this link.
10:07:35 PM
|
|
 |
Friday, January 25, 2002 |
New Radio 8 feature. Now you can post to categories without posting to the home page. If you have categories enabled, there's a new checkbox, the first one, called Home Page (it effectively becomes a category). By default it's checked. Now you can easily publish multiple weblogs, going to lots of different locations, from one edit box. Screen shot. [Scripting News]
4:16:04 PM
|
|
 |
Monday, January 14, 2002 |
Garth wants to know if it's still possible to open a Manila site in the outliner in Radio 8.0.
It is. Bring the Radio application to the front, and choose File->Open Manila Site, and then type your Manila site's URL.
11:07:29 PM
|
|
© Copyright 2002 Jake Savin.
|
|
|
|
| May 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
31 |
|
| Feb Jun |
|
|