I have a preferences file that is fairly large (30K+), and it's created
on-the-fly using append string functions, e.g.
put this data and that data... after thePrefs
put some more data... after thePrefs
put even more data... after thePrefs
This is getting slower than I'd like, and it
On 11/14/04 9:20 AM, Frank Leahy [EMAIL PROTECTED] wrote:
I have a preferences file that is fairly large (30K+), and it's created
on-the-fly using append string functions, e.g.
put this data and that data... after thePrefs
put some more data... after thePrefs
put even more
Frank,
My question is this: is there a way to tell RunRev that I want it
should start with a big string block (e.g. 64K of memory), when I first
create the string?
if you know that your string won't grow bigger than 64K
(for instance), you can try to create the string that way :
put
This is not true for wav files. rev and mc will not play a wav file in
a player w/o qt installed. Doc eludes to the possibility this should
work, but does not work with a player (will with mci strings, but not a
simple player call). I didn't try mp3 files, though, when i was trying
to get a
You could put new data into elements of an array, keep track of the keys
using a variable, then combine them into one string at the end, prior to
writing to a file.
do this once
put 0 into i
then for each new string
add 1 to i
put some new data into newPrefData[i]
then at the end
combine
This code runs in 5 ticks on my computer:
on mouseUp
put ticks() into t
put empty into tTest
repeat 64000
put t after tTest
end repeat
put ticks() - t
end mouseUp
Since that's appending a single character 64,000 times, I assume it's a
worst-case scenario. Can you post the actual
All-
Took quite a bit of searching through the runrev website, but I
finally found where the example stacks got moved to. These seem to be
the files that were originally included in the runrev distribution and
have now all been lumped together in a single zip file.
Took quite a bit of searching through the runrev website, but I
finally found where the example stacks got moved to. These seem to be
the files that were originally included in the runrev distribution and
have now all been lumped together in a single zip file.
Now if only the Externals
By the way is it possible to write externals with C++ or pure C only ?
Hershel
On Friday, November 12, 2004, at 01:14 PM, [EMAIL PROTECTED] wrote:
Quite a piece of work too! ;)
Yeah it was Scott's initial idea, I implemented it to demonstrate the
new array access stuff with binary data.
You
I'm looking to finish a small game my son suggested but I'm stumped on
code that will produce the effects I need. The two player game
basically involves trying to knock the opponents marble out of the
(square) playing area. This means I need to script each marble (WASD or
arrow keys) to
10 matches
Mail list logo