Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GScript BASIC 1.2 uploaded

0 views
Skip to first unread message

limtc

unread,
Aug 28, 2008, 12:23:33 AM8/28/08
to
The latest version uploaded to web and now available for download:

Web Site: http://virtualgs.larwe.com/gsbasic/
Download: http://virtualgs.larwe.com/gsbasic.zip

It added the new Lores routine by John B. Matthews and a new Lores
demo.

limtc

unread,
Aug 28, 2008, 12:40:36 AM8/28/08
to
Taken a screenshot of the new Lores demo running on iPhone.

http://retromaccast.ning.com/photo/photo/show?id=1672786%3APhoto%3A28749

John B. Matthews

unread,
Aug 28, 2008, 2:56:51 AM8/28/08
to
In article
<57080e3c-3bc5-44f8...@1g2000pre.googlegroups.com>,
limtc <thye...@gmail.com> wrote:

Delightful! Here's a small change people might find appealing: In
index.html, I replaced the input text field

<input id="file" type="text" size="30">

with a selection list

<select id="file" onChange="run(this.options[this.selectedIndex].value)">
<option value="ball">ball</option>
<option value="colors">colors</option>
<option value="commands">commands</option>
<option value="demo">demo</option>
<option value="gs">gs</option>
<option value="gscolors">gscolors</option>
<option value="gspics">gspics</option>
<option value="home">home</option>
<option value="lores">lores</option>
<option value="readme">readme</option>
<option value="ufo">ufo</option>
</select>

--
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews

limtc

unread,
Aug 28, 2008, 3:01:28 AM8/28/08
to
Thinking of doing this too... convenient. But how does a user key in
their own script name when he writes a new script? Any idea?

John B. Matthews

unread,
Aug 28, 2008, 3:34:23 AM8/28/08
to
In article
<fb8b5f85-88b3-4d71...@25g2000prz.googlegroups.com>,
limtc <thye...@gmail.com> wrote:

> > Delightful! Here's a small change people might find appealing: In
> > index.html, I replaced the input text field
> >
> > <input id="file" type="text" size="30">
> >
> > with a selection list
> >
> > <select id="file" onChange="run(this.options[this.selectedIndex].value)">
> > <option value="ball">ball</option>
> > <option value="colors">colors</option>
> > <option value="commands">commands</option>
> > <option value="demo">demo</option>
> > <option value="gs">gs</option>
> > <option value="gscolors">gscolors</option>
> > <option value="gspics">gspics</option>
> > <option value="home">home</option>
> > <option value="lores">lores</option>
> > <option value="readme">readme</option>
> > <option value="ufo">ufo</option>
> > </select>

> Thinking of doing this too... convenient. But how does a user key in


> their own script name when he writes a new script? Any idea?

I'd just modify the list. An alternative might be to keep the field and
have the selection update it. I couldn't find a clean way to glob the
scripts directory, but it appears possible.

BTW, <http://virtualgs.larwe.com/gsbasic/> asks for names, but it
doesn't list the names of the available scripts.

limtc

unread,
Aug 28, 2008, 3:41:17 AM8/28/08
to
I wanted to put your name in the credit below, so I move the list to
the readme file (the readme button is on top right).

We need some form of method for user to key in new script name, not
just playing with existing scripts (which is fun only for a little
while). The goal is to have an environment which we can run new
scripts easily. Any suggestions are welcome.

John B. Matthews

unread,
Aug 28, 2008, 4:33:59 AM8/28/08
to
In article
<de285b73-3211-4afe...@v39g2000pro.googlegroups.com>,
limtc <thye...@gmail.com> wrote:

> I wanted to put your name in the credit below, so I move the list to
> the readme file (the readme button is on top right).

I'm flattered! But feel free to move me to a "Contributors" page:-)

> We need some form of method for user to key in new script name, not
> just playing with existing scripts (which is fun only for a little
> while). The goal is to have an environment which we can run new
> scripts easily. Any suggestions are welcome.

Why not both?

function runCombo() {
var file = document.getElementById("combo").value;
document.getElementById("script").src = "run.html?file=" + file;
}
...
Script <input id="file" type="text" size="30">
<select id="combo" onChange="runCombo()">


<option value="ball">ball</option>
<option value="colors">colors</option>
<option value="commands">commands</option>
<option value="demo">demo</option>
<option value="gs">gs</option>
<option value="gscolors">gscolors</option>
<option value="gspics">gspics</option>
<option value="home">home</option>
<option value="lores">lores</option>
<option value="readme">readme</option>
<option value="ufo">ufo</option>
</select>

...

John B. Matthews

unread,
Aug 28, 2008, 4:50:42 AM8/28/08
to
In article <nospam-AA3C51....@news.motzarella.org>,

"John B. Matthews" <nos...@nospam.invalid> wrote:

Oops, forgot to update the file element, so "list" will work:

function runCombo() {
var file = document.getElementById("combo").value;

document.getElementById("file").value = file;


document.getElementById("script").src = "run.html?file=" + file;
}

limtc

unread,
Aug 28, 2008, 8:11:35 AM8/28/08
to
Hi I have incorporated your changes and updated the GScript BASIC.

limtc

unread,
Aug 28, 2008, 11:42:32 PM8/28/08
to
Hi,

I have uploaded GScript BASIC 1.2.3, together with some new Lores
demos.

The new change is to support gr(), color= which uses the new Lores
color palette.

0 new messages