th special codes.
Dar
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**
___
use-revolution mailing list
use-r
On May 10, 2005, at 10:48 AM, Dar Scott wrote:
constant unicodeLF = 0x000A
set the useUnicode to true
put numToChar(10) after myUnicodeString
Now that is embarrassing. The last line will work, but this might be
more clear:
put numToChar(unicodeLF) into charUncodeLF
put charUnicodeLF after
some encodings, even "wide" encodings, might allow them
to work, for general Unicode, you can't use item or line, or even
word.)
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
typed
plus a URL in angle brackets.
Dar
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-rev
ting as a request command.
If you would like to do stuff while that is waiting, then use 'with
'.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A sponsor of RevCon West '05
On May 7, 2005, at 10:53 PM, MisterX wrote:
Not to worry, i found a great work around as mentioned. Just it's quite
annoying when normal scripting code doesn't "want" to work ;)
I think you just hit on an interesting area of research: motivating
code.
Dar
the question--it currently wraps and generates the size
needed.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of Re
On May 7, 2005, at 7:45 AM, MisterX wrote:
I've been wondering about this one for ages. Maybe someone can
answer...
I didn't understand the question.
I know some of the secrets of send and call, but know nothing of
resizestack.
Dar
--
**
ary data that represents those.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution maili
if barState = "out"
move me to 668,241 in .2 seconds without waiting
"put "in" into barState
end if
end slideIn
on mouseWithin
slideOut
cancel moveID
send "slideOut" to me in .5 seconds
put the result into moveID
end mouseWithin
Dar
--
switch.
I think Darwin is another matter.
If I was writing a driver for a board that needed to be emulated
because its still being prototyped, I'd beg Apple for special
permission. I'd still hustle the prototype.
Dar
--
**********
DSC (Dar Sco
.
But your suggestion requires an enhancement (or maybe some fancy
errorDialog technique).
I was wondering about what developers can use now.
Would a property or command for each library to switch between
thrown/result help?
Dar
--
**
DSC (Dar
empty then throw it
Instant thrown errors.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
__
hey be the error messages themselves?
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use
ate:
put myOtherFunction( myFunction() ) into tValue
...so that if myFunction has an error the "Error:" string will be in
tValue
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
On Apr 30, 2005, at 3:22 PM, Dar Scott wrote:
I was wondering what people prefer as far as "fatal" errors in
executing a custom command, such as in a library.
Should that be in a non-empty value returned by result()?
Or should that cause some error message to the thrown?
Or does it dep
On Apr 30, 2005, at 4:42 PM, Derek Bump wrote:
I will tell you what I prefer, put it all into the result. My reason:
I hate the idea that a custom library, or even the Rev IDE, will not
allow my script to continue because it ran into an error doing
something.
I understand.
Some folks like the t
:
moveRobot robotName, plan
if critical(the result) then throw "kbpm from hell"
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Spo
error?
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http
Apple Software on a single Apple-labeled
computer at a time. This License does not allow
the Apple Software to exist on more than one computer
at a time [...]
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swc
What is the format of thrown errors?
How do I add to the error-code list?
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of Re
n throw it.
It works! Thanks!
I originally checked to see if the environment is development before
re-throwing. For libraries, I'm thinking of checking a custom property
instead.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
at's been fixed?
Dar
on keyDown pKey
if (pKey is an integer) and (the number of chars of the
selectedLine
< 5) then pass keyDown
end keyDown
Will this let in the occasional accented character?
--
******
DSC (Dar Scott Consulting & Dar's
On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote:
on keyDown pKey
if (pKey is an integer) and (the number of chars of the selectedLine
< 5) then pass keyDown
end keyDown
Will this let in the occasional accented character?
Dar
--
**
DSC (Dar Sc
that
was queued for -10 seconds.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
us
ibrary. The code detects those (I think)
and creates a generic message.
However, during development, I'd like to see those errors.
I tried throwing the error again if in the IDE. For some reason that
didn't work.
An alternative is to display the error.
Anybody know how to redo th
On Apr 19, 2005, at 4:25 PM, Scott Rossi wrote:
The solution: get a new keyboard.
LOL! -- Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
saw was
on XP sp1? and Rev 2.5.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-r
On Apr 18, 2005, at 5:44 PM, Ken Ray wrote:
Notice the two downs at the start and two ups at the end.
A long time ago I spoke with Scott Raney about this, and he said that
different OSes may send different sequences of downs and ups (he's just
reporting them as they come in from the event manager i
On Apr 18, 2005, at 2:21 PM, Dar Scott wrote:
Here is what I see with rawKeyDown and rawKeyUp:
When the key is pressed, a rawKeyDown is sent. As the key is held
down then a sequence of rawKeyDown/rawKeyUp pairs are sent. Then a
rawKeyUp is sent.
A picture might help:
D DU DU DU DU
, making the key up.
(There might be some other scheme based on the down/up pairs being
close together if that doesn't work.)
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor
place.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Supporting developers
**
___
use-revolution mailing list
use-r
egex.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists
On Apr 17, 2005, at 4:00 PM, Dar Scott wrote:
If those deflate blocks are what you want, then this should do it.
If you need zlib, then you need to wrap that.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
ilter in pdf...
LZW? I apologize again. I had gotten the impression you were
interested in "deflate", a different compression method. In either
case, I'm not familiar with the insides; I "deflate" as a black box.
Dar
--
********
ot, then I misunderstood.
(For those curious, going the other direction is more interesting.)
Dar Scott
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Spo
just
reverse. There are some formats missing, so you would want to build up
a few simple functions to help.
For example,
put binaryEncode("N",566) into aLen
would put 4 bytes (chars) into aLen.
Dar
--
******
DSC (Dar Scott Consulti
Maybe, someday I'll make a library available.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
every Transcript execution error no matter
what kind or in what stack.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of Re
On Apr 16, 2005, at 12:45 AM, Brian Yennie wrote:
Is it possible to use "accept connections" to accept connections on
two or
more ports at once? Or are we limited to one "accept"?
You should be able to listen on as many ports as you like, provided
that they aren't already already in use by anothe
ude unlock screen.
Dar Scott
A pig's gotta fly.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
n indicators. They make you smile when things work.
Well, they make me smile, but I am easily pleased.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
e USB devices for DAQ look just like a serial device. This might
not be the case for yours, but it might. If so, it would look like,
say, COM5: on Windows.
Dar Scott
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
On Apr 10, 2005, at 2:03 PM, Scott Rossi wrote:
Have been trying to use the keysDown function to tell when keys are
pressed,
Maybe you can use rawKeyDown and rawKeyUp.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swc
our byte order.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolutio
On Apr 8, 2005, at 10:33 PM, Richard Gaskin wrote:
The real culprit here is Microsoft, for not bothering to create a
registry for file types to be associated with specific applications.
Yeah! Only operating systems from Microsoft use file extensions! They
shoulda...
Uh. Wait. You sure about
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.co
On Apr 5, 2005, at 1:51 PM, J. Landman Gay wrote:
put "attrib"&& quote & tPath & quote && "-h" into tCommand
+H
Maybe?
dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
On Apr 5, 2005, at 11:12 AM, Wouter wrote:
Could you compile a oneliner regex that worked in rev's filter
function?
Not one that worked. Only the replaceText() worked and then for
smaller lists.
This is what I tried:
// replaceText version
function shortListDar3 pL, pEx
return replaceText(pL,
x seconds (IIRC) for a thousand and
couldn't compile the regex for 10,000.
There have been several times when I tried using the replaceText()
function and was surprised at how slow it was. I may be thinking about
it wrong.
Dar
--
******
DSC (
istLine
add length(checkLine)+1 to charOffset
put line 1 of (char charoffset to charoffset+20 of pExcludeList)
into checkLine
end repeat
if listLine < checkline then
put listLine & lf after resultList
end if
end repeat
return char 1 to -2 of resultList
end
sentation.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mai
On Apr 4, 2005, at 12:07 AM, Brian Yennie wrote:
What kind of database? You might be able to keep these operations
in-database, depending on what the tables/ needs are.
I like this one, Ken. In general, I'd reconsider the overall design.
Specifically, I'd think about queries that do what you wa
your function to the fronts and to the backs, where those do
not include the middle line.
6. I know it involves loops, but I have looped through both loops
together and that was satisfactory for what I was doing, but I was not
that happy with it.
Dar
--
***
hesis.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@li
tup console compiler, and though
it works great, my script is not waiting.
Perhaps, it is writing to the console instead of stdout.
Dar
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
On Apr 2, 2005, at 12:17 PM, Alex Tweedly wrote:
But how can we use IP Multicast when Rev doesn't support it ?
I have a vague memory of the other Alex writing an external.
I have made a mock multicast using UDP.
Dar
--
**
DSC (Dar Scott Consu
I'm poor
at explaining things, or (most likely) both.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Service
On Apr 1, 2005, at 10:37 AM, Thomas McGrath III wrote:
OOOHHH well that makes sense..
--if myAlias contains ".exe" or ".app" then
if myAlias contains ".exe" or myAlias contains ".app" then
Thirty years ago I designed a language that would allow that and have
it do what you want. It used w
On Apr 1, 2005, at 8:02 AM, Thomas McGrath III wrote:
--if myAlias contains ".exe" or ".app" then
if myAlias contains ".exe" or myAlias contains ".app" then
Dar
--
******
DSC (Dar Scott Consulting
set the useUnicode to true
set the unicodeText of field "field" to numToChar(0x222A)
end mouseUp
You should get a union symbol.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Prog
*********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lis
On Mar 28, 2005, at 12:06 PM, Dan Friedman wrote:
put jData into url ("file:/Users/user1/Desktop/jappTest.txt")
Sorry, Dan, I still missed something. For unicode use binfile.
If I missed anything else, I'm sure somebody will catch it.
I need to go take a break.
dar
___
On Mar 28, 2005, at 12:06 PM, Dan Friedman wrote:
put field 2 into jData --field 2 contains Japanese text
Whoops. I didn't see this. Try this:
put the unicodeText of field 2 into jData
Dar
--
**
DSC (Dar Scott Consulting & Dar's
re no surrogates.
One way to convert your ASCII test char is this:
get uniEncode(c,"UTF8")
So, you can go through each unicode character, accumulating values, but
replacing those that need replacing.
Dar
--
******
DSC (Dar Scott Consulting &
CP/IP
(sockets) and look up the protocol or find command-line utilities and
use shell().
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programmi
make your own for-each-line in unicode.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and
ght think hmmm.
If we add to that, that the initial value is empty if declared then
your style would not have to change.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
I ain't picking on any of this.
Should the redundant decoration on 'end' be optional?
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
***
)
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runr
that finds uses of a function might help when
this does happen.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Se
nds and in their practice.
When one maintains another's scripts, they might break.
Dar
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc
break some of my scripts, I would be fine with
this.
This would break a few traditional scripts in places that depend on
name/literal differentiation in strange ways. Those may be flawed
anyway, but I'm not sure.
4
Other?
Dar Scott
___
On Mar 22, 2005, at 10:52 PM, Andre Garzia wrote:
I usually go even further and create proxy functions that wrap around
third party transcript libs. I always did that, but it was since my
last talk with Trevor that I thought that this might be a good tip for
the rest of the community.
But we sho
wouldn't be
completely sure. And besides, some bug fixes might have changed that.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runr
at don't need to be done in an external and can act as the
sugar-coating glue to the external.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.co
l language issues.
You are clinging to something that is not real.
If you truly believe in this paradigm, then you should work to fix it
and not try to hand out blinders.
Dar
--
**
DSC (Dar Scott
less ambiguous.
(Yeah, I know, purists would use fld lastName and then say it is
readable.)
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
replaceText() function.
If your parentheses can be nested, this gets a little harder.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and
ate a module name or private prefix from the rest of
the name.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Prog
ter. One can't prove that a demo is valid, but it the assumption
holds then one can prove that it has expired.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Prog
minds me of chemistry.
Dar
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revo
you want with shell() and openSSL or maybe curl.
I have used shell() and openSSL on both OS X and XP, but not for https.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and
On Mar 14, 2005, at 7:31 PM, Erik Hansen wrote:
logic of having a background
within a background:
radio buttons require grouping
Perhaps, it's best to think
of only the outer group
as the background.
Dar
--
**
DSC (Dar Scott Consulting &
get rid of that?
The game might be using lf cr at the end of each line. ASCII CR is
numToChar(13); get rid of those.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and
o help you with that.
Dar
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-rev
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.co
aces where Revolution is ambiguous or
inadequate in distinctions among read until the buffer is empty, read
until the channel is closed or read until an EOF character.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http
On Mar 2, 2005, at 3:19 PM, Alex Tweedly wrote:
(Not sure yet about receiving broadcast)
You can receive broadcast. You can't control what IP address you are
listening on, though, if you are multihomed.
Dar
--
**
DSC (Dar Scott Consulting &a
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.r
ould be
wrong.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-rev
redundant) clue as
to file type.
dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
__
wd except those
who happen to catch the info on lists or find it in responses to bug
reports in bugzilla. Or who happened to stumble on it in tinkering.
It is also possible to overload a system with UDP datagrams.
Dar
--
**********
DSC (Dar Scott Co
should give you a clue as to what to do in output in
the index app.
Dar
--
******
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
cide what encoding to use and stick with that when you
can.
--
**********
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
_
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.r
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
u
ly, I think it
should be formally tested on all advertised platforms in alpha, or at
least the scope and places in between.)
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Service
On Feb 22, 2005, at 9:58 PM, Dwayne Rothe wrote:
put the cipherNames into fld "list" --- does nothing, no errors, just
nothing... whats missing here?
What level and version of Revolution do you have?
Dar
--
**
DSC (Dar Scott Consulting &
601 - 700 of 2805 matches
Mail list logo