From: Reventlov on
Il giorno Tue, 16 Feb 2010 17:36:04 -0500, mr_unreliable
<kindlyReplyToNewsgroup(a)notmail.com> ha scritto:
> http://www.freebasic.net/
>
>It appears to have begun as a QBasic replacement, but
>was then expanded and enhanced from there. It currently
>appears to be actively supported, and has an active user
>forum.

I would suggest to take a look at AutoItScript too.
I like that it creates stand alone exe's and has a long list of user defined functions.
G.
--
Giovanni Cenati (Bergamo, Italy)
Write to "Reventlov" at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--
From: mayayana on
> Mayayana wrote the code of a class which allows to manage binary files.
Maybe you could
> read/write the single bytes you need.
> I think it's not worth the effort.
>
> The TS Bin class is here
> http://www.jsware.net/jsware/scripts.php5#codelib
>

That's handy for treating fiiles as binary, but it's
still using FSO, so it has to read out the whole file.
I also wrote a component that's more efficient.
I haven't looked at that code for awhile. I
think it will write bytes to a file without needing
to load the file. But it uses basic VB methods like
Seek, Put, etc. I'm not certain that the file is not
loaded "behind the scenes" with those methods.

http://www.jsware.net/jsware/scripts.php5#jsbin


From: francois on
So, there is no *simple* way to do this with vbscript. No
problem, I think I'll take a look at AutoItScript which I
know a little.

Thanks to all of you for your answers.



--
Fran�ois Lafont
From: Todd Vargo on
francois wrote:
> So, there is no *simple* way to do this with vbscript. No problem, I think
> I'll take a look at AutoItScript which I know a little.
>
> Thanks to all of you for your answers.

I'm sure there is a *simple* way, but unfortunately, your first post did not
mention if you will always be replacing the characters with the same number
of other characters, if the characters to be replaced are in a fixed
location within file, or even what OS this will be used on.

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

From: francois on
Todd Vargo a �crit :

> I'm sure there is a *simple* way, but unfortunately, your first post did
> not mention if you will always be replacing the characters with the same
> number of other characters, if the characters to be replaced are in a
> fixed location within file, or even what OS this will be used on.

Sorry for my lack of precision, I didn't think that was
important.

The replacement is always located in the firt line of the
text file. The firt line is always of this form :

------------------------------------
number: 2345
------------------------------------

where :

- "number: " is a label which never changes.
- "2345" is a number which changes. In fact, the number
increases. So, the number of characters can change, it's
possible to have "12044". But this number represents the
number of printed pages by a user. So, it's almost sure that
the necessary number of characters will be lower than 20
(for example).

The script should work sometimes in Windows 2000 server and
sometimes in Windows XP pro.

I hope this time, my precisions are enough. :-)



--
Fran�ois Lafont