Re: Table field ... revWriteCellValue

2005-01-18 Thread HyperChris
I am not familiar with the handlers you are using but I update my tables this 
way ..
  get the data from the field
  make the change to it
  set the table property for that field to it
  ask rev to re-display the table. 

Here is a snipet I use to delete a line ...

on delTableLine pFldNm,pDeleteLineNum
  put fld(pFldNm) into fldData
  delete line pDeleteLineNum of fldData
  set the cREVTable[currentview] of field(pFldNm) to fldData
  revDisplayFormattedData (fieldquotepFldNmquote)
end delTableLine

... I too found enlightenment from Master Jan!

From: Jerry Balzano [EMAIL PROTECTED]
Subject: Table field bug/typo in revWriteCellValue

I was having trouble figuring out how to read and write the contents of 
table fields, so I checked the archive and found a post by Jan Schenkel 
from last September where he describes how to use the revReadCellValue
and revWriteCellValue handlers.
 http://lists.runrev.com/pipermail/use-revolution/2004-September/044383.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Parse a CSV File with Regular Expressions

2005-01-18 Thread Thomas Gutzmann
On Tue, 18 Jan 2005 01:36:48 +
 Alex Tweedly [EMAIL PROTECTED] wrote:
Rev's RE library is based on PCRE, so should be adequately capable.
However, I don't think it's as easy to parse the realistic version of CSV with REs as you might 
think.
Well, Alex, it's not so difficult with Perl. If the items in the comma-separated list can contain 
other commata, in which case they are enclosed by quotes (optionally otherwise), like 
'a,b,c,d', then the Perl script to parse the list looks like:

#!/usr/bin/perl
@s = (
'My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]',
'Scrooge,2,[EMAIL PROTECTED]',
'RunRev List,3,4,...,[EMAIL PROTECTED]');
foreach (@s) {
if (/*([^]+)*,*([^]+)*,*([^]+)*/) {
print ($_\n\t$1\n\t$2\n\t$3\n);
}
}
This example gives the result:
My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]
My family, My PowerBook, My Defender 110
1
[EMAIL PROTECTED]
Scrooge,2,[EMAIL PROTECTED]
Scrooge
2
[EMAIL PROTECTED]
RunRev List,3,4,...,[EMAIL PROTECTED]
RunRev List
3,4,...
[EMAIL PROTECTED]
which is what you would expect.
I don't know if it works in Rev because every implementation of RE is a bit different, and Perl 
has the best I've come across. Anyway: Perl can be installed on every machine, it's pre-installed 
on Unix, Linux and MacOS/X, so just use the power of this language in combination with Rev, RB or 
whatever development tool you use, instead of trying to do everything with one tool.

I'm missing this flexibility in the usage of tools in the IT world. Nobody in the industry would 
use a Porsche to transport stones (except the ones weared around the neck or wherever ladies have 
them), and nobody would drive a fork-lift truck on a (German) Autobahn. Most of us use hands and 
feet for their respective purposes. So why do programmers want to use one tool for all?

Cheers,
Thomas G.
---
For those of you who find it hard to read regular expressions (they are a good example of a 
write-only language):

/*([^]+)*,*([^]+)*,*([^]+)*/
represents 3 times the same group, separated by a comma: *([^]+)*
This expression contains a prefix and a postfix: * - which means zero or more 
quotes.
In the middle of the expression - enclosed in brackets - is the term to be extracted: [^]+ - 
which reads: any character except a quote, but at least one. If you replace the + with a *, it 
would be allowed to have to commata following each other.

The regular expression can be shortened even more, but then it becomes completely 
uncomprehensible, and you need more time to comment it than to write it.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread thierry
Hi,

well, as a test, i've copied and pasted the Perl'RE above
and escaped the quotes.. build the scrpt in revolution with the
results one should expect :-)

so, pretty much the same, isn't it ? :-)
and about speed, so far, so good...


HTH, regards,
thierry

---
on mouseup
  put empty into tmp
  repeat for each line l in field 1
if matchText( l, \?([^\]+)\?,\?([^\]+)\?,\?([^\]+)\?, \
theName, theNumber, theAdress ) then
  put l crtab theName crtab theNumber crtab theAdress  cr after 
tmp
else
  put l crtab Can't split this line ?
end if
  end repeat
  put tmp
end mouseup


 Rev's RE library is based on PCRE, so should be adequately capable.
 
 However, I don't think it's as easy to parse the realistic version of CSV 
 with REs as you might
think.

TG Well, Alex, it's not so difficult with Perl. If the items in the 
comma-separated list can contain
TG other commata, in which case they are enclosed by quotes (optionally 
otherwise), like
TG 'a,b,c,d', then the Perl script to parse the list looks like:

TG #!/usr/bin/perl
TG @s = (
TG 'My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]',
TG 'Scrooge,2,[EMAIL PROTECTED]',
TG 'RunRev List,3,4,...,[EMAIL PROTECTED]');
TG foreach (@s) {
TG if (/*([^]+)*,*([^]+)*,*([^]+)*/) {
TG print ($_\n\t$1\n\t$2\n\t$3\n);
TG }
TG }

TG This example gives the result:

TG My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]
TG  My family, My PowerBook, My Defender 110
TG  1
TG  [EMAIL PROTECTED]
TG Scrooge,2,[EMAIL PROTECTED]
TG  Scrooge
TG  2
TG  [EMAIL PROTECTED]
TG RunRev List,3,4,...,[EMAIL PROTECTED]
TG  RunRev List
TG  3,4,...
TG  [EMAIL PROTECTED]

TG which is what you would expect.

TG I don't know if it works in Rev because every implementation of RE is a bit 
different, and Perl
TG has the best I've come across. Anyway: Perl can be installed on every 
machine, it's pre-installed
TG on Unix, Linux and MacOS/X, so just use the power of this language in 
combination with Rev, RB or
TG whatever development tool you use, instead of trying to do everything with 
one tool.

TG I'm missing this flexibility in the usage of tools in the IT world. Nobody 
in the industry would
TG use a Porsche to transport stones (except the ones weared around the neck 
or wherever ladies have
TG them), and nobody would drive a fork-lift truck on a (German) Autobahn. 
Most of us use hands and
TG feet for their respective purposes. So why do programmers want to use one 
tool for all?

TG Cheers,

TG Thomas G.

TG ---

TG For those of you who find it hard to read regular expressions (they are a 
good example of a
TG write-only language):

TG /*([^]+)*,*([^]+)*,*([^]+)*/

TG represents 3 times the same group, separated by a comma: *([^]+)*

TG This expression contains a prefix and a postfix: * - which means zero or 
more quotes.

TG In the middle of the expression - enclosed in brackets - is the term to be 
extracted: [^]+ -
TG which reads: any character except a quote, but at least one. If you replace 
the + with a *, it
TG would be allowed to have to commata following each other.

TG The regular expression can be shortened even more, but then it becomes 
completely
TG uncomprehensible, and you need more time to comment it than to write it.
TG ___
TG use-revolution mailing list
TG use-revolution@lists.runrev.com
TG http://lists.runrev.com/mailman/listinfo/use-revolution


Best regards, 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows Icon File

2005-01-18 Thread John Miller
I'm using Revolution 2.2 on Windows XP.  When I try to create my 
standalone app, I get an error message . . .
  Can't open Windows icon file: /Applications/Revolution2.2/Sample 
Icons/genericapp.ico

The same app compiles without problem on my Mac using OS X.
I tried reinstalling the program - no luck!
I also installed Revolution 5.5 and copied the Sample Icon Folder into 
the 2.2 folder - no good either.

Any suggestions?
Sincerely,
John Miller
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows command line

2005-01-18 Thread Frédéric RINALDI
Does anybody know how to allow a RRev application to be lauched (and 
some paremeter passed)
from a command line in Windows?

Thanks
Frederic
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: BBEdit as Script Editor

2005-01-18 Thread Robert Brenstein
On Jan 15, 2005, at 1:25 PM, Thomas Gutzmann wrote:
Using BBEdit as an external editor (on MacOS/X) gives even more 
power: stay in run mode, modify the script, save it, and go on 
testing.
Thomas,
Exactly how does this work ?
Are you saving the scripts to an external text file and then 
inserting them into buttons with other buttons? Or do you have some 
API working interface betwee BBEdit and Rev's scripting containers.

I could really use this,
Thanks
Sivakatirswami
It may be interesting to note that TextWrangler, a sibling of BBEdit, 
has recently got more BBEdit-like features and, best of all, is now 
free.

Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Alex Tweedly
Thomas Gutzmann wrote:
note - I've re-ordered your email to reply to sections of it in a 
different order

I don't know if it works in Rev because every implementation of RE is 
a bit different, and Perl has the best I've come across. Anyway: Perl 
can be installed on every machine, it's pre-installed on Unix, Linux 
and MacOS/X, so just use the power of this language in combination 
with Rev, RB or whatever development tool you use, instead of trying 
to do everything with one tool.
In general, I fully agree with that - use the right tool for the right 
job. But if you have a large Rev application, it is neither simple nor 
clean to fire up a Perl script to do one small part such as importing a 
file from another app; far simpler and better to do it within the Rev 
app if feasible. If I had a large, mainly regex app to do, I'd consider 
Perl - but within the context of this being 1% of an otherwise Rev app, 
it's worthi finding a Transcript or Rev-regex solution.

I'm missing this flexibility in the usage of tools in the IT world. 
Nobody in the industry would use a Porsche to transport stones (except 
the ones weared around the neck or wherever ladies have them), and 
nobody would drive a fork-lift truck on a (German) Autobahn.
That reminds me of the Silicon Valley saying :
  You don't need a Porsche to commute 10 miles to work - but you'd 
never know that from looking at Highway 101.

Most of us use hands and feet for their respective purposes. So why do 
programmers want to use one tool for all? 
Because there's a level of inefficiency and discomfort caused by 
frequent changes in language and tools. Because it's hard to become an 
expert in one language - doing it in Rev and Perl and PHP and Python and 
Java and  is probably impossible. Because it's easy, but wrong, to 
write one language using the style and tricks of another (see various 
blog threads about Python's not Java, etc.)

But mostly just because programmers are people :-)

On Tue, 18 Jan 2005 01:36:48 +
 Alex Tweedly [EMAIL PROTECTED] wrote:
Rev's RE library is based on PCRE, so should be adequately capable.
However, I don't think it's as easy to parse the realistic version of 
CSV with REs as you might think.

Well, Alex, it's not so difficult with Perl.
I have to admit I was under the misapprehension that PCRE meant that it 
was very close to full Perl; I'm not so sure about that now.

If the items in the comma-separated list can contain other commata, in 
which case they are enclosed by quotes (optionally otherwise), like 
'a,b,c,d', then the Perl script to parse the list looks like:

#!/usr/bin/perl
@s = (
'My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]',
'Scrooge,2,[EMAIL PROTECTED]',
'RunRev List,3,4,...,[EMAIL PROTECTED]');
foreach (@s) {
if (/*([^]+)*,*([^]+)*,*([^]+)*/) {
print ($_\n\t$1\n\t$2\n\t$3\n);
}
}
Yeah - that's a good start. In the scoring system I invented last 
night while looking at various csv scripts, that's probably a 60% or 
70% solution; it's the remaining 30% that is hard.

This is NOT a challenge !  If you want to go further because you're 
interested - please do. But don't feel that I'm challenging you to do 
so. I have a solution (scripted) that is perfectly adequate in coverage 
(maybe 90% or 95% - certainly not 100%), and more than adequate in speed.

The remaining cases include (but are not limited to)
- embedded CRs (or newline, or line breaks)
- embedded quotes, which can be either escaped (preceded by '\') or 
more often doubled (a field named alex is here)
 (but each file should have one or other - never seen both in the 
same file, though it wouldn't surprise me
  if some MS product did that)
- including (or excluding) non-embedded spaces before or after the 
quoted field)

The best example of the embedded quote case is
My family,My PowerBook,My Defender 110,1,[EMAIL PROTECTED]
which should (obviously) give
   My family,My PowerBook,My Defender 110
   1
   [EMAIL PROTECTED]
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Thomas Gutzmann
Hi Alex,
a 100% solution is not possible with one RE because embedded quotes cannot be converted at the 
same time as the rest is parsed.

The best example of the embedded quote case is
My family,My PowerBook,My Defender 110,1,[EMAIL PROTECTED]
I have modified the Perl script to convert double doublequotes (x) to single simple quotes 
('x'). It's just one way, and of course I'm using a regular expression for that:

#!/usr/bin/perl
@s = (
'My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]',
'Scrooge,2,[EMAIL PROTECTED]',
'RunRev List,3,
4,
...,[EMAIL PROTECTED]',
' My family,My PowerBook,My Defender 110,1,[EMAIL 
PROTECTED]');
foreach (@s) {
print (Original: $_\n);
s/([^]*)/'$1'/g;
print (After replacement: $_\n);
if (/*([^]+)*,*([^]+)*,*([^]+)*/) {
print (\tItem 1: $1\n\tItem 2: $2\n\tItem 3: $3\n);
}
}
The result is
Original: My family, My PowerBook, My Defender 110,1,[EMAIL PROTECTED]
After replacement: My family, My PowerBook, My Defender 110,1,[EMAIL 
PROTECTED]
Item 1: My family, My PowerBook, My Defender 110
Item 2: 1
Item 3: [EMAIL PROTECTED]
Original: Scrooge,2,[EMAIL PROTECTED]
After replacement: Scrooge,2,[EMAIL PROTECTED]
Item 1: Scrooge
Item 2: 2
Item 3: [EMAIL PROTECTED]
Original: RunRev List,3,
4,
...,[EMAIL PROTECTED]
After replacement: RunRev List,3,
4,
...,[EMAIL PROTECTED]
Item 1: RunRev List
Item 2: 3,
4,
...
Item 3: [EMAIL PROTECTED]
Original:  My family,My PowerBook,My Defender 110,1,[EMAIL 
PROTECTED]
After replacement:  'My family','My PowerBook','My Defender 110',1,[EMAIL 
PROTECTED]
Item 1: 'My family','My PowerBook','My Defender 110'
Item 2: 1
Item 3: [EMAIL PROTECTED]
As you can see, embedded newline characters don't affect the result; this problem must be solved 
in the routine reading the lines. You can also ignore EOL bei excluding $ (this is EOL for RE), 
but I haven't tested it, and I also don't have the time for it. Normally, you don't have these 
problems.

Most of us use hands and feet for their respective purposes. So why do 
programmers want to use one tool for all? 
Because there's a level of inefficiency and discomfort caused by frequent changes in language 
and tools. Because it's hard to become an expert in one language - doing it in Rev and Perl and 
PHP and Python and Java and  is probably impossible. Because it's easy, but wrong, to write 
one language using the style and tricks of another (see various blog threads about Python's not 
Java, etc.)

But mostly just because programmers are people :-)
Well, I don't agree. A good programmer should master a whole box of tools, and I also expect good 
developers to be multilingual. One of the problems we have in IT today comes from the fact, that 
too many people learn just one language (Java), and just the basics of database systems (primitive 
SQL à la MySQL, no procedural SQL), and that they are also limited in their knowledge of tools.

In a philosphical view, only knowledge gives you the possibility to choose, to differentiate, and 
to understand. This, in short, is one of the most important aspects of free will - in public and 
private life as well as in the job. An old saying in Germany goes like Knowledge gives you 
freedom (Wissen macht frei).

But this discussion doesn't belong here.
Cheers,
Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Alex Tweedly
Thomas Gutzmann wrote:
Hi Alex,
a 100% solution is not possible with one RE because embedded quotes 
cannot be converted at the same time as the rest is parsed.
But I don't think they can be simply substituted independent of the parsing.
The best example of the embedded quote case is
My family,My PowerBook,My Defender 
110,1,[EMAIL PROTECTED]

I have modified the Perl script to convert double doublequotes (x) 
to single simple quotes ('x'). It's just one way, and of course I'm 
using a regular expression for that:
Good try - you may be up to 75% or 80% now :-) :-)
But it fails on a few very common cases, including empty, quoted fields 
and multiple adjacent quotes within fields

d:\Our Documents\Alex perl re1.pl
Original:  My family,My PowerBook,My Defender 
110,,[EMAIL PROTECTED]
After replacement:  'My family','My PowerBook','My Defender 
110',,[EMAIL PROTECTED]
Item 1: 'My family','My PowerBook'
Item 2: 'My Defender 110'
Item 3: ,

d:\Our Documents\Alex
I'm sure there's a way round this too  but I suspect it's time to 
stop drawing out these examples.

As you can see, embedded newline characters don't affect the result; 
this problem must be solved in the routine reading the lines. You can 
also ignore EOL bei excluding $ (this is EOL for RE), but I haven't 
tested it, and I also don't have the time for it. Normally, you don't 
have these problems.
Actually, normally I do have this problem. Palm Pilot exports usually 
have embedded CR within quoted fields, and that's one I often deal with.

Most of us use hands and feet for their respective purposes. So why 
do programmers want to use one tool for all? 

Because there's a level of inefficiency and discomfort caused by 
frequent changes in language and tools. Because it's hard to become 
an expert in one language - doing it in Rev and Perl and PHP and 
Python and Java and  is probably impossible. Because it's easy, 
but wrong, to write one language using the style and tricks of 
another (see various blog threads about Python's not Java, etc.)

But mostly just because programmers are people :-)

Well, I don't agree. A good programmer should master a whole box of 
tools, and I also expect good developers to be multilingual.
I didn't say that programmers *should* use one tool (in fact, I said 
they should use multiple).
These were the reasons why , IMO, programmers *want* to use one tool :-)

One of the problems we have in IT today comes from the fact, that too 
many people learn just one language (Java), and just the basics of 
database systems (primitive SQL à la MySQL, no procedural SQL), and 
that they are also limited in their knowledge of tools.
Yeah, I've often advocated multiple tools on this list - 
Python/Pythoncard is my common alternate to RunRev.
I used Perl fairly extensively back in the early days ('88-'91 or '92) 
and developed an allergy to it then; maybe it's time to give it another try.

Cheers
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: gestalt options

2005-01-18 Thread Graham Samuel
On Sat, 15 Jan 2005 13:37:41 -0800, ichard Gaskin 
[EMAIL PROTECTED] wrote:

I'm in the process of updating my Gestalt function (see the Gestalt
stack in RevNet), which I use to automatically include a brief system
profile in user reports.
Currently the report includes the stuff shown below, things I've found
useful thus far.
What other functions or global properties might be useful to add?
snip
Richard, if it's not too late (my ISP cut off my dialup connection because 
I'd bought broadband, only they haven't delivered the ADSL modem... ah well.)

Can you include the international stuff like language, time zone, currency 
symbol, thousands separator etc. Both Macs and PCs have settings for these. 
Or should I be looking elsewhere for this info?

TIA
Graham

---
Graham Samuel / The Living Fossil Co. / UK  France  


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Thomas Gutzmann
Alex, you nightmare,
But it fails on a few very common cases, including empty, quoted fields and multiple adjacent 
quotes within fields

d:\Our Documents\Alex perl re1.pl
Original:  My family,My PowerBook,My Defender 
110,,[EMAIL PROTECTED]
After replacement:  'My family','My PowerBook','My Defender 
110',,[EMAIL PROTECTED]
Item 1: 'My family','My PowerBook'
Item 2: 'My Defender 110'
Item 3: ,

d:\Our Documents\Alex
I'm sure there's a way round this too  but I suspect it's time to stop drawing out these 
examples.
#!/usr/bin/perl
@s = (
'My family,My PowerBook,My Defender 110,,[EMAIL 
PROTECTED]');
foreach (@s) {
print (Original: $_\n);
s/([^]*)/'$1'/g;
print (After replacement: $_\n);
if (/*([^]*)*,*([^]*)*,*([^]*)*/) {
print (\tItem 1: $1\n\tItem 2: $2\n\tItem 3: $3\n);
}
}
I disallowed empty string by using + instead of * - using * solves this 
issue.
As you can see, embedded newline characters don't affect the result; 
this problem must be solved in the routine reading the lines. You can 
also ignore EOL bei excluding $ (this is EOL for RE), but I haven't 
tested it, and I also don't have the time for it. Normally, you don't 
have these problems.
Actually, normally I do have this problem. Palm Pilot exports usually have embedded CR within 
quoted fields, and that's one I often deal with.
It depends if the embedded CR is an EOL. If no, my example works unchanged. If yes, it takes some 
more thinking, because you have to identify true end-of-lines (which are end-of-records in this 
case), and you have to cope with missing fields which would screw up everything. But I suspect 
that there is a distinction between end-of-line (e.g. CR) and end-of-record (e.g. LF or CR/LF) - 
most decent programmers would create some sort of record boundary, while the embedded CR is used 
for field formatting.

By the way, I can understand your aversion against Perl. But it has it's virtues, if you use it 
for well defined and limited purposes, keep programs short and spend enough time on clean 
programming and documentation. But whom do I tell it...

Cheers,
Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Date Troubles

2005-01-18 Thread Michael D Mays
The date formats only works over a short period of time, about 2^32 
seconds (4 byte word). That is about 1934 to 2035. If you are using 
dates outside of that region then you need to work with dateItems and 
seconds. I think dateItems gives you the largest time span. To do this 
you have to convert your date to a dateItem with your own handler, not 
the convert function:

put 7/18/1868 into theDate
put myDateItemHandler(theDate) into theDate
function myDateItemHandler theDate
  get the itemDelimiter -- this get/set may not be needed
  set the itemDelimiter to /
  put item 1 of theDate into theMonth
  put item 2 of theDate into theDay
  put item 3 of theDate into theYear
  set the itemDelimiter to it-- this get/set may not be needed
  return theYearcommatheMonthcommatheDaycommacommacommacomma
end myDateItemHandler
You can convert this dateItem to seconds and do your calculations. If 
you want to return a date convert your seconds to dateItems and write a 
handler which creates your desired date format.

Michael
On Jan 17, 2005, at 6:58 PM, Sarah Reichelt wrote:
What do I need to do to make the following work right? To get the 
centuries
right?

put 7/18/1868 into temp
  put temp into  fld 1
  convert temp to seconds
  put   --  temp after fld 1
  convert temp to long date
  put   --  temp after  fld 1
Hi Nelson,
The only way I could get it to work was to use Julian dates. if you go 
to my web page, you will see a DateTime library: DateTime.rev.gz, 
which includes functions for translating dates to  from Julian 
format, originally written by Mark Weider.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Icon for Rev exec?

2005-01-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For what purpose?  You could always do something like this:
set the embeddedIconFile of this stack to URL binfile:iconfile.ico
Then to store the embedded icon into a file again:
put the embeddedIconFile of this stack into URL binfile:iconfile.ico
Is that something like what you are after?  If you can be more specific 
about why you are trying to embed the icon, what platform you are on, 
etc., we could be of a little more help...

On Jan 17, 2005, at 10:54 PM, Paul Salyers wrote:

Is there a way to imbed a icon file to a Rev executable.
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB7SEf7aqtWrR9cZoRArd1AJ46/K8iacbFFcE7gZcvA9MLklWU5QCeNB++
WY7U7PO7Hjxx1BesmMqqBNU=
=rUqr
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows Icon File

2005-01-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rev 5.5?  Wow!  Where do I get my copy  ;-)
It's looking for an icon file based on the OS X path to the icon, which 
obviously does not exist under windows (that path is stored in the 
stack file, so when you created the stack on the Mac, the Mac path to 
the icon was stored in the file).  You either need to change the path 
from within Standalone Builder, or you could try to recreate the path 
under Windows and put the icon there.

c:\ mkdir c:\Applications
c:\ mkdir c:\Applications\Revolution2.2
c:\ mkdir c:\Applications\Revolution2.2\Sample Icons
c:\ copy path-to-icon\genericapp.ico 
c:\Applications\Revolution2.2\Sample Icons

(untested; I don't have Rev for Windows, but I suspect that would work; 
I'm reasonably certain of the diagnosis).

On Jan 18, 2005, at 5:50 AM, John Miller wrote:
I'm using Revolution 2.2 on Windows XP.  When I try to create my 
standalone app, I get an error message . . .
  Can't open Windows icon file: /Applications/Revolution2.2/Sample 
Icons/genericapp.ico

The same app compiles without problem on my Mac using OS X.
I tried reinstalling the program - no luck!
I also installed Revolution 5.5 and copied the Sample Icon Folder into 
the 2.2 folder - no good either.

Any suggestions?
Sincerely,
John Miller
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB7SNI7aqtWrR9cZoRAjVfAJ4lr+XAGtTsg5I5S8s+230QWSf/aQCcCxXN
i3GlYB8jldQPIS+P343DClA=
=PEmd
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Programming Contest: Mars Rescue.

2005-01-18 Thread Roger . E . Eller
Andre,

That sounds like allot of fun! The objective of plotting the shortest path 
sounds very similar to what Strabo Pathfinder does. Strabo is a program 
used by robotics enthusiasts to map out the rooms of their home to allow a 
robot (we'll assume that it is a mars rover) to move freely on the map 
without crashing into walls and furniture. More info about Strabo 
Pathfinder can be found at:

http://www.wehali.com/robotics/strabo.htm

Anyways, the algorithms used to plot the shortest route is one that are 
Dijkstra and A* (commonly used in games). I have no clue as to how it 
works, but I would love to see the algorithm recreated in transcript.

Roger Eller [EMAIL PROTECTED]


On 01/17/2005 at 11:56 PM, Andre Garzia wrote:
 Folks,
 
 doctor dobbs journal is sponsoring a programming challenge called the
 mars rescue. They want as many languages as possible to be featured in
 the competition. I thought why not team up a Rev team? we've got till
 feb 1 to ship our code...
 
 http://www.frank-buss.de/marsrescue/
 
 The contest is a simple one, program receives a text input with map
 instructions in ASCII, think a little, plot shortest path to the
 object... much more info at the url, I am reading it still. But we
 could team and use MagicCarpet and RevChat for our world wide
 coordinated effort. I could provide FTP and eMail accounts as needed at
 WeCode.org
 
 cheers
 andre
 
 --
 Andre Alves Garzia ? 2004
 Soap Dog Studios - BRAZIL
 http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Icon for Rev exec?

2005-01-18 Thread Paul Salyers

I have Windows 2000 Pro. I'm trying to make a icon for my program. I'm 
getting an error in Rev. about the format not being right. What 
icon  program will work with Rev?

Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic

2005-01-18 Thread Lynch, Jonathan
The problem with large class libraries is that (with a bit of 
exaggeration) only the developer understands them, and when they are 
very large, with many subclasses, he will only understand them until 
he's got nuts.

Um... This is one of those odd cliché translation sort of things... Really 
kinda funny, but just FYI -  The English phrase would be until he's gone nuts 
- the odds are that 'he' has already got nuts, regardless of the state of his 
current mental health.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic

2005-01-18 Thread Thomas Gutzmann
On Tue, 18 Jan 2005 11:06:16 -0500
 Lynch, Jonathan [EMAIL PROTECTED] wrote:
The problem with large class libraries is that (with a bit of 
exaggeration) only the developer understands them, and when they are 
very large, with many subclasses, he will only understand them until 
he's got nuts.
Um... This is one of those odd cliché translation sort of things... Really kinda funny, but just 
FYI -  The English phrase would be until he's gone nuts - the odds are that 'he' has already 
got nuts, regardless of the state of his current mental health.
Thank you for the correction - life is dangerous for nonnatives.
I remember to other traps:
- an English colleague bringing me back to the hotel asked me if we were near. I didn't understand 
why he laughed when I asked him to drive me round the bend.

- in my very first meeting in England I had to explain that I was self-employed (at that time). 
One possible German word which sprang up to my mind was Unternehmer. Unter is under, 
nehmen is to take, but I was definitely no undertaker - and the auditorium was amused.

I was also told to avoid on the job in certain cases.
I'm glad that most English people I know are very tolerant and polite.
Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread Lynch, Jonathan
I am American - the differences between American English and English English 
can be quite funny.

Warning - This story is a wee bit risque, for the easily offended, but is very 
funny.

I have a friend who worked in the U.K. for a few months. When she first got 
there, she wore her waist pack to work. This is a thing that wraps around your 
hips and has a pouch for carrying stuff. One day she she had set it down, and 
was looking for it. When she could not find it, she started asking her 
colleagues if they had seen it. Specifically, she kept asking everyone if they 
had seen her fanny pack - which is a perfectly acceptable term for a waist 
pack in the United States. In the U.S., the term fanny is a mostly 
non-offensive term for a person's bum.

She just couldn't understand why the entire office was laughing at her. The way 
she tells it, some of her office mates were practically on the floor, laughing 
so hard they could not breathe.

Well, apparently, the term fanny in the U.K. does not refer to the bum, it 
refers to a woman's clitoris. After they were able to speak, they informed her 
of exactly what she was saying, and she was so embarrassed she thought she 
would just die.

I guess the lesson is to be careful of those little translation errors as 
quickly as possible when visiting other countries.

For English folk visiting the United States, if you wish to smoke (a habit I 
strongly advise quitting), please do not go around asking people for a fag - 
you might not get what you were expecting.

Cheers

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Gutzmann
Sent: Tuesday, January 18, 2005 11:40 AM
To: How to use Revolution
Subject: Re: RunRev vs RealBasic

On Tue, 18 Jan 2005 11:06:16 -0500
  Lynch, Jonathan [EMAIL PROTECTED] wrote:
The problem with large class libraries is that (with a bit of 
exaggeration) only the developer understands them, and when they are 
very large, with many subclasses, he will only understand them until 
he's got nuts.
 
 Um... This is one of those odd cliché translation sort of things... Really 
 kinda funny, but just 
FYI -  The English phrase would be until he's gone nuts - the odds are that 
'he' has already 
got nuts, regardless of the state of his current mental health.

Thank you for the correction - life is dangerous for nonnatives.

I remember to other traps:

- an English colleague bringing me back to the hotel asked me if we were near. 
I didn't understand 
why he laughed when I asked him to drive me round the bend.

- in my very first meeting in England I had to explain that I was self-employed 
(at that time). 
One possible German word which sprang up to my mind was Unternehmer. Unter 
is under, 
nehmen is to take, but I was definitely no undertaker - and the auditorium 
was amused.

I was also told to avoid on the job in certain cases.

I'm glad that most English people I know are very tolerant and polite.

Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread MisterX

 I am American - the differences between American English and 
 English English can be quite funny.

My best friend in Chicago was in Switzerland over some friends' place at
breakfast looking at the fruit jelly pot and she asked naturally if there
were preservatives in the it... She speaks reasonably good french and was
actually living in europe among friends to learn it. So she asked it in
French... Il y t'il des preservatifs dans la confiture?

Everyone at the table burst laughing except her!

Well, preservatif is translated in french as condoms not as agents
conservateurs!

If you know the You know what's disgusting? Cool Whip (US pseudo mayo)
pot joke I do, you must be on the floor gone histerically laughing now!
ROTFL!

X


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Opening custom files by Drag and Drop in standalone application

2005-01-18 Thread Alejandro Tejada
on Mon, 17 Jan 2005 
Ken Ray wrote:

 When you launch an MC/Rev app, any command line
 information is sent to the
 application and is retrievable via *environment 
 variables* numbered $0 on up.

Hi Ken,

I have read this useful Programming tip in your
website, and TRY to use it in an standalone
player to OPEN ONLY the custom documents of that
application.

But when i drag and drop a Rev or MC stack to a
standalone i had created, IT OPENS... :-(

I really expected that a REV or MC stack
do not open in my standalone...

The documents that i scripted to open
are a custom made binary string.

When my standalone is opened, i could 
click a button to read and open the binary 
string correctly...
but i want too that my files open by drag
and drop and that ANY OTHER FILE like
rev, mc or custom made extensions stacks 
do not open in my standalone...

How could i script this functionality in
my standalone?

Thanks in advance.

al


=
Visit my site:
http://www.geocities.com/capellan2000/


		
__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread MisterX
 not really ;))

but you got it directly from the source! Im keeping the joke in my clipboard
for a while just in case! `mu

 -Original Message-
 From: Lynch, Jonathan [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, January 18, 2005 18:49
 To: [EMAIL PROTECTED]; How to use Revolution
 Subject: RE: RunRev vs RealBasic (wandered a wee bit off topic)
 
 That's funny!
 
 I don't know the cool whip joke - but it sounds intriguing - 
 is it one you can say here?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of MisterX
 Sent: Tuesday, January 18, 2005 12:52 PM
 To: 'How to use Revolution'
 Subject: RE: RunRev vs RealBasic (wandered a wee bit off topic)
 
 
  I am American - the differences between American English 
 and English 
  English can be quite funny.
 
 My best friend in Chicago was in Switzerland over some 
 friends' place at breakfast looking at the fruit jelly pot 
 and she asked naturally if there were preservatives in the 
 it... She speaks reasonably good french and was actually 
 living in europe among friends to learn it. So she asked it 
 in French... Il y t'il des preservatifs dans la confiture?
 
 Everyone at the table burst laughing except her!
 
 Well, preservatif is translated in french as condoms not 
 as agents conservateurs!
 
 If you know the You know what's disgusting? Cool Whip (US pseudo
 mayo)
 pot joke I do, you must be on the floor gone histerically 
 laughing now!
 ROTFL!
 
 X
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread James . Cass
I had to contribute this one regarding the distinction between the Queen's 
English and American English.  Wait until you mix the Queen's English with 
Good Ol' Southern (U.S.) English.  I am from Greenville, South Carolina 
(that's not the funny part yet ;-P  ).  I went to the University of South 
Carolina where I had a British friend who was taken aback when he saw 
signs posted around campus advertising shagging lessons.  Then only to 
find out that the State Dance of South Carolina is the Shag!  Needless to 
say, there is quite a difference in the British and Southern U.S. 
definition of shag.  The Southern shag is an actual lively dance with 
lots of spinning and twirling to rock-a-billy type beach music.  The 
British shag is a more...er...primal dance.

-James



Lynch, Jonathan [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/18/2005 12:07 PM
Please respond to How to use Revolution

 
To: How to use Revolution use-revolution@lists.runrev.com
cc: 
Subject:RE: RunRev vs RealBasic (wandered a wee bit off 
topic)


I am American - the differences between American English and English 
English can be quite funny.

Warning - This story is a wee bit risque, for the easily offended, but is 
very funny.

I have a friend who worked in the U.K. for a few months. When she first 
got there, she wore her waist pack to work. This is a thing that wraps 
around your hips and has a pouch for carrying stuff. One day she she had 
set it down, and was looking for it. When she could not find it, she 
started asking her colleagues if they had seen it. Specifically, she kept 
asking everyone if they had seen her fanny pack - which is a perfectly 
acceptable term for a waist pack in the United States. In the U.S., the 
term fanny is a mostly non-offensive term for a person's bum.

She just couldn't understand why the entire office was laughing at her. 
The way she tells it, some of her office mates were practically on the 
floor, laughing so hard they could not breathe.

Well, apparently, the term fanny in the U.K. does not refer to the bum, 
it refers to a woman's clitoris. After they were able to speak, they 
informed her of exactly what she was saying, and she was so embarrassed 
she thought she would just die.

I guess the lesson is to be careful of those little translation errors as 
quickly as possible when visiting other countries.

For English folk visiting the United States, if you wish to smoke (a habit 
I strongly advise quitting), please do not go around asking people for a 
fag - you might not get what you were expecting.

Cheers

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas 
Gutzmann
Sent: Tuesday, January 18, 2005 11:40 AM
To: How to use Revolution
Subject: Re: RunRev vs RealBasic

On Tue, 18 Jan 2005 11:06:16 -0500
Lynch, Jonathan [EMAIL PROTECTED] wrote:
The problem with large class libraries is that (with a bit of
exaggeration) only the developer understands them, and when they are
very large, with many subclasses, he will only understand them until
he's got nuts.

 Um... This is one of those odd cliché translation sort of things... 
Really kinda funny, but just
FYI -  The English phrase would be until he's gone nuts - the odds are 
that 'he' has already
got nuts, regardless of the state of his current mental health.

Thank you for the correction - life is dangerous for nonnatives.

I remember to other traps:

- an English colleague bringing me back to the hotel asked me if we were 
near. I didn't understand
why he laughed when I asked him to drive me round the bend.

- in my very first meeting in England I had to explain that I was 
self-employed (at that time).
One possible German word which sprang up to my mind was Unternehmer. 
Unter is under,
nehmen is to take, but I was definitely no undertaker - and the 
auditorium was amused.

I was also told to avoid on the job in certain cases.

I'm glad that most English people I know are very tolerant and polite.

Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Alejandro Tejada
Hi Developers,

I've read this series of messages with a lot
of interest, because parsing, modifying and
saving foreign data within RunRev is a
daily task for most computer programmers...

but, i keep wondering about the kind of data
that you are talking about: comma separated values

I know that csv are simple text files.
If i change a simple character within a binary file,
surely MOST of the applications will refuse to
open the file.

It's not possible to check if the entire file
is a valid comma separated value archive,
before processing

For example, checking the number of
comma separated items in every line and flag
and error if there is a deviation... 

Some apps identify themselves in the archive
they write. (I know that Adobe ilustrator and pdf
files had a tag to identify the creator
of the files)
IF every application that export data as csv, 
identify themselves, developers could use 
different code to parse the file.

Which apps identify themselves in the cvs data

And finally...
The apps that exports data as cvs, must provide
some way to convert this comma character within
the record of the exported data... or maybe not. 

:-(

Which apps do have or not have the KNOW-HOW 
to export data as cvs correctly

Thanks in advance for your answers! :-)

al




=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows externals and the imagePixmapID

2005-01-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Does anyone know what form the imagePixmapID takes under the Windows 
engine for Rev?  Is it an HBITMAP or an HDC, or something else 
entirely?

Thank you!
- - ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB7VkN7aqtWrR9cZoRAqMYAJ4ooEuOcblOnUUz2LLwcl7OxvahyQCfaQrX
tHEgStdm/CnD1DLueFNoM2Y=
=wV7X
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread MisterX

the words fag and pissed also got me thrown off balance ! 

a fag is a cigarette in uk, a homo in us
pissed means drunk in uk+au, angered in us!

Anyway, foul language is not for software to learn
right? Let alone its meaning! ;))

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Tuesday, January 18, 2005 19:58
 To: How to use Revolution
 Subject: RE: RunRev vs RealBasic (wandered a wee bit off topic)
 
 I had to contribute this one regarding the distinction 
 between the Queen's English and American English.  Wait until 
 you mix the Queen's English with Good Ol' Southern (U.S.) 
 English.  I am from Greenville, South Carolina (that's not 
 the funny part yet ;-P  ).  I went to the University of South 
 Carolina where I had a British friend who was taken aback 
 when he saw signs posted around campus advertising shagging 
 lessons.  Then only to find out that the State Dance of South 
 Carolina is the Shag!  Needless to say, there is quite a 
 difference in the British and Southern U.S. 
 definition of shag.  The Southern shag is an actual 
 lively dance with lots of spinning and twirling to 
 rock-a-billy type beach music.  The British shag is a 
 more...er...primal dance.
 
 -James
 
 
 
 Lynch, Jonathan [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 01/18/2005 12:07 PM
 Please respond to How to use Revolution
 
  
 To: How to use Revolution 
 use-revolution@lists.runrev.com
 cc: 
 Subject:RE: RunRev vs RealBasic (wandered a 
 wee bit off 
 topic)
 
 
 I am American - the differences between American English and 
 English English can be quite funny.
 
 Warning - This story is a wee bit risque, for the easily 
 offended, but is very funny.
 
 I have a friend who worked in the U.K. for a few months. When 
 she first got there, she wore her waist pack to work. This is 
 a thing that wraps around your hips and has a pouch for 
 carrying stuff. One day she she had set it down, and was 
 looking for it. When she could not find it, she started 
 asking her colleagues if they had seen it. Specifically, she 
 kept asking everyone if they had seen her fanny pack - 
 which is a perfectly acceptable term for a waist pack in the 
 United States. In the U.S., the term fanny is a mostly 
 non-offensive term for a person's bum.
 
 She just couldn't understand why the entire office was 
 laughing at her. 
 The way she tells it, some of her office mates were 
 practically on the floor, laughing so hard they could not breathe.
 
 Well, apparently, the term fanny in the U.K. does not refer 
 to the bum, it refers to a woman's clitoris. After they were 
 able to speak, they informed her of exactly what she was 
 saying, and she was so embarrassed she thought she would just die.
 
 I guess the lesson is to be careful of those little 
 translation errors as quickly as possible when visiting other 
 countries.
 
 For English folk visiting the United States, if you wish to 
 smoke (a habit I strongly advise quitting), please do not go 
 around asking people for a fag - you might not get what you 
 were expecting.
 
 Cheers
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Thomas Gutzmann
 Sent: Tuesday, January 18, 2005 11:40 AM
 To: How to use Revolution
 Subject: Re: RunRev vs RealBasic
 
 On Tue, 18 Jan 2005 11:06:16 -0500
 Lynch, Jonathan [EMAIL PROTECTED] wrote:
 The problem with large class libraries is that (with a bit of
 exaggeration) only the developer understands them, and when 
 they are 
 very large, with many subclasses, he will only understand 
 them until 
 he's got nuts.
 
  Um... This is one of those odd cliché translation sort of things... 
 Really kinda funny, but just
 FYI -  The English phrase would be until he's gone nuts - the odds 
 are
 that 'he' has already
 got nuts, regardless of the state of his current mental health.
 
 Thank you for the correction - life is dangerous for nonnatives.
 
 I remember to other traps:
 
 - an English colleague bringing me back to the hotel asked me 
 if we were near. I didn't understand why he laughed when I 
 asked him to drive me round the bend.
 
 - in my very first meeting in England I had to explain that I 
 was self-employed (at that time).
 One possible German word which sprang up to my mind was 
 Unternehmer. 
 Unter is under,
 nehmen is to take, but I was definitely no undertaker - 
 and the auditorium was amused.
 
 I was also told to avoid on the job in certain cases.
 
 I'm glad that most English people I know are very tolerant and polite.
 
 Thomas G.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

Re: Parse a CSV File with Regular Expressions

2005-01-18 Thread Richard Gaskin
Alejandro Tejada wrote:
Which apps do have or not have the KNOW-HOW 
to export data as cvs correctly
The difficulty with CSV is that there is no true standard.  It's an 
ad-hoc format that has forked many times, so much so that today not even 
Microsoft implements it consistently among its various apps.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


SoCal RUG meeting this Friday

2005-01-18 Thread Richard Gaskin
We're set for our next SoCal Rev User Group meeting on Friday, January 
21, at 7pm.

It'll be here at the Fourth World Embassy in downtown Los Angeles -- if 
any of you would like to attend and haven't been here before just drop 
me an email and I'll send you directions.

Agenda:
7pm: Trevor will show off his nifty QT externals and anything else he 
wants to discuss

8pm: dinner at Barbara's, the restaurant here in the complex
9pm: back here for dessert and a mystery demo: Mark Talutto's talk on 
his open source presentation tool has been postponed for a future 
meeting, but we have a few candidates to choose from for a replacement, 
ranging from possibly talking Ken Ray into a presentation (since he's 
flying in and it's rare to get him here) to possibly a demo of a new bug 
reporting tool and its underlying serverless client-server database 
library by yours truly.  TBD.

10pm: TGIF! Anyone who wants to stay late to participate in the First 
RUG Shuffleboard Tournament can enjoy a game over scotch, wine, or diet 
coke, as you prefer.  Shuffleboard pursists beware:  we use unusual 
rules here. :)

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Ignorant questions regarding Macs

2005-01-18 Thread Lynch, Jonathan


I am on a windows system, so I am not too familiar with Macs. (Last one
I worked on was a Mac SE)

My question is this - is there a way to use a multi-button mouse and/or
a mouse wheel on a Mac? I find both right-clicking and using the mouse
wheel very convenient. The Rev docs always talk about holding down the
option button while using the mouse button to simulate a right-click on
a Mac. But, if you plugged a multi-button mouse into a Mac, would there
be a way to use the right button or the mouse wheel?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Ignorant questions regarding Macs

2005-01-18 Thread Dom
Lynch, Jonathan [EMAIL PROTECTED] wrote:

 My question is this - is there a way to use a multi-button mouse and/or
 a mouse wheel on a Mac? 

At this very moment, I am using a ...Microsoft mouse, with 2 buttons and
a wheel!

-- 
At least, they do correctly one thing at Microsoft: mouses ;-

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Ignorant questions regarding Macs

2005-01-18 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Absolutely!  I am using one on a Mac right now.
The Classic Mac OS (OS 7/8/9) requires special drivers to be supplied 
by the hardware (mouse) manufacturer, but OS X supports this natively.

In fact, the mouse I am using right now (a Labtec brand USB optical 
mouse with two buttons plus a scroll wheel, which also serves as a 
middle button) was packaged for Windows only.  Requirements: Windows 
... -- I bought it anyway, plugged it in, and it just works.

The scroll wheel scrolls, the right button brings up context menus, 
etc...  no problem.

And yes, it works with Rev too.
On Jan 18, 2005, at 3:35 PM, Lynch, Jonathan wrote:

I am on a windows system, so I am not too familiar with Macs. (Last one
I worked on was a Mac SE)
My question is this - is there a way to use a multi-button mouse and/or
a mouse wheel on a Mac? I find both right-clicking and using the mouse
wheel very convenient. The Rev docs always talk about holding down the
option button while using the mouse button to simulate a right-click on
a Mac. But, if you plugged a multi-button mouse into a Mac, would there
be a way to use the right button or the mouse wheel?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB7Xik7aqtWrR9cZoRAiYbAJwIxMbp48CRTFUj8sEKRrBVEFFXPwCgh8ya
V3hXvHyvHon17OqGVnEa6c4=
=+wcS
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Error in Standalone-Builder

2005-01-18 Thread R. Hillen
Hello list, some time ago (Revolution 2.1) a built a little database 
using the splash-stack-method and compiled it successfull for Mac OS9, 
OSX, Windows.

Now I got Revolution 2.5 Studio, changed this and that in my 
database-stacks and tried to compile it again.

The compilation-process starts and after some time I get the answer 
There was an error while saving the standalone application. Nothing 
more!

Again I compiled the stacks with Rev 2.1; It worked!
What may I do now?
any help?
Richard.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Ignorant questions regarding Macs

2005-01-18 Thread James . Cass
  is there a way to use a multi-button 
  mouse and/or a mouse wheel on a Mac? 

Absolutely!!  I use the Logitech Marble Mouse with a left and right button 
AND a left and right scroll button.  I needed to install the Logitech 
Control Center software to adjust tracking speed, etc.  But it works 
great.


  The Rev docs always talk about holding 
  down the option button while using the 
  mouse button to simulate a right-click 
  on a Mac.

To emulate the right-click, that should be the control key plus mouse 
click for one-button mice or laptops.


  if you plugged a multi-button mouse 
  into a Mac, would there be a way to 
  use the right button or the mouse wheel?

MacOSX will support just about any standard multi-button mouse.  To get 
all the bells and whistles, you may have to install the software that 
comes with the mouse.


-James






Lynch, Jonathan [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/18/05 03:35 PM
Please respond to How to use Revolution
 
To: How to use Revolution use-revolution@lists.runrev.com
cc: 
Subject:Ignorant questions regarding Macs




I am on a windows system, so I am not too familiar with Macs. (Last one
I worked on was a Mac SE)

My question is this - is there a way to use a multi-button mouse and/or
a mouse wheel on a Mac? I find both right-clicking and using the mouse
wheel very convenient. The Rev docs always talk about holding down the
option button while using the mouse button to simulate a right-click on
a Mac. But, if you plugged a multi-button mouse into a Mac, would there
be a way to use the right button or the mouse wheel?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (nothing to do with it really)

2005-01-18 Thread David Vaughan
On 19/01/2005, at 4:00, Thomas Gutzmann 
[EMAIL PROTECTED] wrote:

snip
I'm glad that most English people I know are very tolerant and polite.
Probably less so than those people who have managed my 
Australian-accented French and German with only the ripple of a 
suppressed smile. :-)
It has always been a pleasure to visit your countries.

I now realise a tactful need to add that I have also enjoyed visiting 
America, and Italy and Japan and Vanuatu ... oh forget it.

David
Thomas G.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Characters not displaying in a field?

2005-01-18 Thread kee nethery
I'm trying to put 14 characters into a field, no spaces. The put 
into field statement has two variables that get concatenated

put return  variableA  return  bunchOCharacters into field thefield
VariableA shows up in the field but bunchOCharacters does not
When I copy the contents of the field and paste into a text document, 
the bunchOCharacters data is in the text document

What's up? Why does the text, bunchOCharacters, not display in the 
field?

Kee Nethery

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Richard Gaskin
kee nethery wrote:
I'm trying to put 14 characters into a field, no spaces. The put 
into field statement has two variables that get concatenated

put return  variableA  return  bunchOCharacters into field thefield
VariableA shows up in the field but bunchOCharacters does not
When I copy the contents of the field and paste into a text document, 
the bunchOCharacters data is in the text document

What's up? Why does the text, bunchOCharacters, not display in the field?
This is a known limitation:  the text engine can display up to 65,535 
characters on a single line.

What is the end-user looking for in a display of 14 characters? 
Could there be another way to present that information which would both 
fit in the 64k-per-line limit and give them an easier time finding what 
they need?

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Characters not displaying in a field?

2005-01-18 Thread Lynch, Jonathan
Is there any kind of similar limit for variables?

I have a script that creates html. For the app the html is being pasted
into, I cannot have return characters in it. So, after compiling all the
html into a variable, I replace the linefeeds with empty (and have tried
other means of substitution as well). Occassionally (about 1 in 10
cases) it will refuse to put the extended data (without linefeeds) into
a variable (which is just put into the clipboard, not into a field).
Instead, it will cut off the data partway into it. If I do not remove
the linefeeds, then it does not cut off the data.

I am a bit stumped by it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Gaskin
Sent: Tuesday, January 18, 2005 4:47 PM
To: How to use Revolution
Subject: Re: Characters not displaying in a field?

kee nethery wrote:
 I'm trying to put 14 characters into a field, no spaces. The put 
 into field statement has two variables that get concatenated
 
 put return  variableA  return  bunchOCharacters into field
thefield
 
 VariableA shows up in the field but bunchOCharacters does not
 
 When I copy the contents of the field and paste into a text document, 
 the bunchOCharacters data is in the text document
 
 What's up? Why does the text, bunchOCharacters, not display in the
field?

This is a known limitation:  the text engine can display up to 65,535 
characters on a single line.

What is the end-user looking for in a display of 14 characters? 
Could there be another way to present that information which would both 
fit in the 64k-per-line limit and give them an easier time finding what 
they need?

--
  Richard Gaskin
  Fourth World Media Corporation
  __
  Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (wandered a wee bit off topic)

2005-01-18 Thread Marty Billingsley
 Lynch, Jonathan [EMAIL PROTECTED]

 I have a friend who worked in the U.K. for a few months. When she first got 
 there, she wore her waist pack to work. This is a thing that wraps around 
 your hips and has a pouch for carrying stuff. One day she she had set it 
 down, and was looking for it. When she could not find it, she started asking 
 her colleagues if they had seen it. Specifically, she kept asking everyone if 
 they had seen her fanny pack - which is a perfectly acceptable term for a 
 waist pack in the United States. In the U.S., the term fanny is a mostly 
 non-offensive term for a person's bum.

 She just couldn't understand why the entire office was laughing at her. The 
 way she tells it, some of her office mates were practically on the floor, 
 laughing so hard they could not breathe.

 Well, apparently, the term fanny in the U.K. does not refer to the bum, it 
 refers to a woman's clitoris. After they were able to speak, they informed 
 her of exactly what she was saying, and she was so embarrassed she thought 
 she would just die.

Rather like my Australian colleague who didn't understand why
her fellow teacher gaped when she asked him if he had a rubber.

(in the US a rubber is a condom, in other English-speaking countries
it's an eraser)

  - marty
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error in Standalone-Builder

2005-01-18 Thread Sarah Reichelt
There seem to be a couple of common causes for this problem:
- make sure the folder path you are building into does not contain any 
weird characters.
- don't have the standalone search for inclusions but select them 
manually

And make sure you have done Check for updates which includes an 
update to the standalone settings stack.

Cheers,
Sarah
On 19 Jan 2005, at 7:09 am, R. Hillen wrote:
Hello list, some time ago (Revolution 2.1) a built a little database 
using the splash-stack-method and compiled it successfull for Mac OS9, 
OSX, Windows.

Now I got Revolution 2.5 Studio, changed this and that in my 
database-stacks and tried to compile it again.

The compilation-process starts and after some time I get the answer 
There was an error while saving the standalone application. Nothing 
more!

Again I compiled the stacks with Rev 2.1; It worked!
What may I do now?
any help?
Richard.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (nothing to do with it really)

2005-01-18 Thread Jeffrey Reynolds
sorry, just had to add one more to this thread...
While in the Galapagos our Ecuadorian guide (who was extremely hansom 
and charming) on the boat spoke perfect queens english (having been 
educated in BP oil school in ecuador). On the first night out he was 
asking folks what time they wanted to get up the next morning to start 
going ashore and turned to my female friend on the trip and said:

Barbara, when would you like me to come around and knock you up in the 
morning? (in perfectly accented queens english)

knocking someone up in america is getting them pregnant, not knocking 
on their door... needless to say i have never seen her so speechless 
and this is someone who has a comment for every moment! I think she 
wanted the american translation instead of the British...

the other joke is this guy had very beautiful long black hair, but is a 
small chap at about 5'5'' and his name is Fabio, he couldn't understand 
why we we were laughing at his name... we did send him a Fabio calendar 
for xmas.

cheers,
jeff
Jeffrey Reynolds
6620 Michaels Dr
Bethesda, MD  20817
301.469.8562
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (nothing to do with it really)

2005-01-18 Thread Klaus Major
Hi Jeff,
sorry, just had to add one more to this thread...
...
the other joke is this guy had very beautiful long black hair, but is 
a small chap at about 5'5'' and
his name is Fabio, he couldn't understand why we we were laughing at 
his name...
we did send him a Fabio calendar for xmas.
ehmm, well my name is not Fabio and my hair is DEFINITIVELY shorter, 
but i don't understand this one either :-(

Could you give me a hint, please? :-)
cheers,
jeff
Jeffrey Reynolds
6620 Michaels Dr
Bethesda, MD  20817
301.469.8562
[EMAIL PROTECTED]
Regards form germany
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Dar Scott
On Jan 18, 2005, at 2:46 PM, Richard Gaskin wrote:
This is a known limitation:  the text engine can display up to 65,535 
characters on a single line.
The field can hold up to about 64k of characters, IIRC, but can display 
a line correctly if the line is less than about 32K pixels before the 
soft line break.  This hits both limits.

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.runrev.com/mailman/listinfo/use-revolution


RE: Characters not displaying in a field?

2005-01-18 Thread Lynch, Jonathan
I have a field (for a spellcheck) that contains 174,000 words - each on
a different line - and it works fine.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dar Scott
Sent: Tuesday, January 18, 2005 5:49 PM
To: How to use Revolution
Subject: Re: Characters not displaying in a field?


On Jan 18, 2005, at 2:46 PM, Richard Gaskin wrote:

 This is a known limitation:  the text engine can display up to 65,535 
 characters on a single line.

The field can hold up to about 64k of characters, IIRC, but can display 
a line correctly if the line is less than about 32K pixels before the 
soft line break.  This hits both limits.

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.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Error in Standalone-Builder

2005-01-18 Thread James Hurley
Message: 15
Date: Tue, 18 Jan 2005 22:08:29 +0100
From: R. Hillen [EMAIL PROTECTED]
Subject: Error in Standalone-Builder
To: use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hello list, some time ago (Revolution 2.1) a built a little database
using the splash-stack-method and compiled it successfull for Mac OS9,
OSX, Windows.
Now I got Revolution 2.5 Studio, changed this and that in my
database-stacks and tried to compile it again.
The compilation-process starts and after some time I get the answer
There was an error while saving the standalone application. Nothing
more!
Again I compiled the stacks with Rev 2.1; It worked!
What may I do now?
any help?
Richard.
Richard--and anyone who knows the answer to this problem,
I have the same problem, but with RR 2.2.1. I've submitted it to 
support and as yet no resolution.

I can compile the stack in RR 1.1.1. Since the stack works within the 
1.1.1 IDE, I assume the standalone will work even though the stack 
was created within the 2.2.1 environment.

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (nothing to do with it really)

2005-01-18 Thread Ken Ray
On 1/18/05 4:32 PM, Klaus Major [EMAIL PROTECTED] wrote:

 ehmm, well my name is not Fabio and my hair is DEFINITIVELY shorter,
 but i don't understand this one either :-(
 
 Could you give me a hint, please? :-)

Klaus, do a Google search for fabio and you'll see what he means...

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Ken Ray
On 1/18/05 4:49 PM, Dar Scott [EMAIL PROTECTED] wrote:

 
 On Jan 18, 2005, at 2:46 PM, Richard Gaskin wrote:
 
 This is a known limitation:  the text engine can display up to 65,535
 characters on a single line.
 
 The field can hold up to about 64k of characters, IIRC, but can display
 a line correctly if the line is less than about 32K pixels before the
 soft line break.  This hits both limits.

Actually, a field can hold 4 GB, but each line has to be 64K or less.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Calendar Object

2005-01-18 Thread D.Rothe
Thanx for the links Paul thats exactly what I am looking for, took a bit of
rehashing the code to suit my
stack and had a clash of image ID' but it's all sorted now, the 30 mins to
rehash sure beats writing it
from scratch!  ;?)

Cheers.Dwayne

 I use a stack by Shao Sean
 http://dark.unitz.ca/~shaosean/downloads/objcalendar112.zip
 http://dark.unitz.ca/%7Eshaosean/downloads/objcalendar112.zip - it
 works really well with some modifications.

 Cheers,

 Paul

 [EMAIL PROTECTED] wrote:

 Does anyone know how to call the windows system calendar or know of a
calendar object to be used in a sub stack?
 Basically I am looking for a calendar you can select days, months, years
obviously so when a certain date is clicked on it is
 written to a field in english or whatever.
 
 Cheers.D.Rothe
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

 --


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Dar Scott
On Jan 18, 2005, at 4:03 PM, Ken Ray wrote:
On 1/18/05 4:49 PM, Dar Scott [EMAIL PROTECTED] wrote:
On Jan 18, 2005, at 2:46 PM, Richard Gaskin wrote:
This is a known limitation:  the text engine can display up to 65,535
characters on a single line.
The field can hold up to about 64k of characters, IIRC, but can 
display
a line correctly if the line is less than about 32K pixels before the
soft line break.  This hits both limits.
Actually, a field can hold 4 GB, but each line has to be 64K or less.
Rats.  I meant line.
What I was trying to add is the pixel limit when there are no spaces.  
You can get some weird things displayed, but usually nothing.

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.runrev.com/mailman/listinfo/use-revolution


Re: Calendar Object

2005-01-18 Thread Paul
You're welcome. I use that stack quite a bit.
Cheers,
Paul
[EMAIL PROTECTED] wrote:
Thanx for the links Paul thats exactly what I am looking for, took a bit of
rehashing the code to suit my
stack and had a clash of image ID' but it's all sorted now, the 30 mins to
rehash sure beats writing it
from scratch!  ;?)
Cheers.Dwayne
 

I use a stack by Shao Sean
http://dark.unitz.ca/~shaosean/downloads/objcalendar112.zip
http://dark.unitz.ca/%7Eshaosean/downloads/objcalendar112.zip - it
works really well with some modifications.
Cheers,
Paul
[EMAIL PROTECTED] wrote:
   

Does anyone know how to call the windows system calendar or know of a
 

calendar object to be used in a sub stack?
 

Basically I am looking for a calendar you can select days, months, years
 

obviously so when a certain date is clicked on it is
 

written to a field in english or whatever.
Cheers.D.Rothe
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
 

--
   


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Mark Smith
I believe Rev has a problem displaying more than a certain number of 
characters on one line ie. with no returns...the characters are there, 
but they don't display properly. I don't know what the limit is, but 
clearly  14 :(

I have an app that stores long series of numbers, delimited by commas, 
in custom properties. I do this because I have to do a lot of 
calculations using 'item n to n+n' of longSeriesOfNumbers... if I look 
at the custom properties in the inspector, they are displayed wrongly 
or not at all, but the numbers are all there, and my operations on them 
work correctly, so it is just a display issue, I think. This may matter 
or not in what you're doing...

Cheers,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Richard Gaskin
Mark Smith wrote:
I believe Rev has a problem displaying more than a certain number of 
characters on one line ie. with no returns...the characters are there, 
but they don't display properly. I don't know what the limit is, but 
clearly  14 :(

I have an app that stores long series of numbers, delimited by commas, 
in custom properties. I do this because I have to do a lot of 
calculations using 'item n to n+n' of longSeriesOfNumbers... if I look 
at the custom properties in the inspector, they are displayed wrongly or 
not at all, but the numbers are all there, and my operations on them 
work correctly, so it is just a display issue, I think.
It is.  Variables and custom properties are not affected.
The maximum number of chars that can be on any given line is 65,535, and 
the total field max is about 4Gb.

Of course in most cases that's more than you'll ever need to display to 
the user.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread kee nethery
On Jan 18, 2005, at 5:06 PM, Mark Smith wrote:
I believe Rev has a problem displaying more than a certain number of 
characters on one line ie. with no returns...the characters are there, 
but they don't display properly. I don't know what the limit is, but 
clearly  14 :(

I have an app that stores long series of numbers, delimited by commas, 
in custom properties. I do this because I have to do a lot of 
calculations using 'item n to n+n' of longSeriesOfNumbers... if I look 
at the custom properties in the inspector, they are displayed wrongly 
or not at all, but the numbers are all there, and my operations on 
them work correctly, so it is just a display issue, I think. This may 
matter or not in what you're doing...
Thank you. My intent is to understand the situation so that if it 
occurs, I can notify the user that the data is indeed in the field but 
that they cannot view it. Then instruct them to select all, copy, and 
paste into a text editor to view the data. I'd like to not have to do 
that for all displayed data, just when the situation requires it.

Kee Nethery
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


revMail fails on some Macs

2005-01-18 Thread Sivakatirswami
I'm upgrading a stack used in an application by remote collaborators. 
When they finish work on some data, the stack uploads it to our server 
here and I've added an email notification feature which grabs info 
about the upload and then emails it to me by invoking the user's 
default email client, auto inserting my email address and subject and 
body. The user then has only to click send. A further confirmation uses 
revGoURL to load the data from our server into their browser (these are 
XML files) so they can also see immediately if the upload was complete.

Now, testing here on my own mac OS X... it works fine, email is invoked 
and immediately revGoURL activates my browser...  I sent the new stack 
out to test the new function to another Mac user with OSX also 
installed, but on his machine the script uploads the data, then skips 
through the revMail as if it was not even in the script and boots his 
browser and shows the file.   i.e. the line revMail 
tRecipient,,tSubject,tBody fails and there is no error message and it 
does not cause any problem... it jus doesn't happen.

What exactly does the Mac need to ensure that there is an email client 
automatically will be invoked by revMail? I can't find any preference 
in OS X for default mail app that requires setting. No more internet 
config and apple has this bizarre requirment to set the default browser 
from within Safari, which one has to boot to say, choose Firefox... but 
I don't see any option to set a default email app that the scripting 
extensions would use. and I also don't know exactly what to test for to 
determine with other missing parts there may be... possible the GURL 
even is not handled on his machine? But I though apple script and 
events would be auto loaded by default for anyone using OSX.

I have yet to get a report from Windows users if this will work...
Note, this stack is being driven by a splash screen standalone player 
and I did  include the common library which would be required... and 
if revGoURL works, one assumes this is proof the common library is 
present.  So, it must be something else.

TIA
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revMail fails on some Macs

2005-01-18 Thread David Squance
On Jan 18, 2005, at 9:38 PM, Sivakatirswami wrote:
What exactly does the Mac need to ensure that there is an email client 
automatically will be invoked by revMail? I can't find any preference 
in OS X for default mail app that requires setting. No more internet 
config and apple has this bizarre requirment to set the default 
browser from within Safari, which one has to boot to say, choose 
Firefox... but I don't see any option to set a default email app that 
the scripting extensions would use. and I also don't know exactly what 
to test for to determine with other missing parts there may be... 
possible the GURL even is not handled on his machine? But I though 
apple script and events would be auto loaded by default for anyone 
using OSX.
There may be a similarly bizarre connection with OS X Mail.  Check the 
preferences for it.  There's a place there to set the default email 
reader.  I know if affects which email program Safari uses, but beyond 
that, I can't say if that will help.
Dave

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread kee nethery
On Jan 18, 2005, at 6:24 PM, Richard Gaskin wrote:
Mark Smith wrote:
I believe Rev has a problem displaying more than a certain number of 
characters on one line ie. with no returns...the characters are 
there, but they don't display properly. I don't know what the limit 
is, but clearly  14 :(
I have an app that stores long series of numbers, delimited by 
commas, in custom properties. I do this because I have to do a lot of 
calculations using 'item n to n+n' of longSeriesOfNumbers... if I 
look at the custom properties in the inspector, they are displayed 
wrongly or not at all, but the numbers are all there, and my 
operations on them work correctly, so it is just a display issue, I 
think.
It is.  Variables and custom properties are not affected.
The maximum number of chars that can be on any given line is 65,535, 
and the total field max is about 4Gb.
thank you. I can watch for long lines and then put up an alert telling 
them that it's there, they just cannot see it.

Also, these limits should be in the docs. The old Hypercard manual had 
a back section on limits and I reached some of them. I'd like to see 
limits stated in the run rev docs.

Of course in most cases that's more than you'll ever need to display 
to the user.
uh, no, I actually wanted to display the results of an SQL query and it 
had no spaces and was longer than that limit. Normally the results are 
viewable and the really long results get copied into a text document 
and formatted for viewing. But in this case, it looked like the results 
were blank and that was my assumption (something went wrong with my 
code?) until on a whim I copied and pasted into a text document and saw 
that it was all there.

But, thank you very very much for an understanding of the limits. Now I 
can add an alert when the data is invisible.

Kee
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (nothing to do with it really)

2005-01-18 Thread Jeffrey Reynolds
Klaus,
sorry i assumed that Fabio had gone around the world, but maybe he was 
a north america only thing. He was a hunky male model with long blonde 
hair that was all over the place 10 years of so back. sort of a male 
super model and the butt of many jokes. even though our guide was very 
good looking with longer hair, most everything else he could never be 
mistaken for the model fabio...

as mentioned google fabio.
sorry everyone, pushed that one tooo far...
Jeffrey Reynolds
6620 Michaels Dr
Bethesda, MD  20817
301.469.8562
[EMAIL PROTECTED]
On Jan 19, 2005, at 12:11 AM, [EMAIL PROTECTED] 
wrote:

Hi Jeff,
sorry, just had to add one more to this thread...
...
the other joke is this guy had very beautiful long black hair, but is
a small chap at about 5'5'' and
his name is Fabio, he couldn't understand why we we were laughing at
his name...
we did send him a Fabio calendar for xmas.
ehmm, well my name is not Fabio and my hair is DEFINITIVELY shorter,
but i don't understand this one either :-(
Could you give me a hint, please? :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Richard Gaskin
kee nethery wrote:
The maximum number of chars that can be on any given line is 65,535, 
and the total field max is about 4Gb.
thank you. I can watch for long lines and then put up an alert telling 
them that it's there, they just cannot see it.

Also, these limits should be in the docs.
Agreed.  I came across them in the old MC docs a while back, which are 
normally more anemic than the Rev docs.  But this is what it took me to 
find them in Rev:

1. Open Documentation
2. Typed Li
3. Dismissed a dialog telling me that Li could not be found.
4. Managed to type an m before -
5. Dismissed a dialog telling me that Lim could not be found.
6. Squeezed in typing an i when -
7. Dismissed a dialog telling me Limi could not be found.
8. Typed the ts really fast, which brought up:
   Commands and Function
 Memory and Limits Reference
No sooner could I ask What is this doing in 'Commands and Functions'? 
than I discovered that while the other limits are shown (number of 
objects in a group, length of object names, etc.), and it does mention 
the number of chars in a line, it doesn't mention that this also applies 
to using the sort command on a variable.

Even with that minor ommission it's a good read, and if you're a quick 
typist you might be able to cut the number of steps to get there down to 
four or five. ;)

PS: Is there a preference to turn off the Constantly try to search 
whatever's being typed in real-time option in favor of any more 
explicit option (Enter key, Search button) like one finds in nearly 
any other search box?

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Characters not displaying in a field?

2005-01-18 Thread Dar Scott
On Jan 18, 2005, at 11:13 PM, Richard Gaskin wrote:
kee nethery wrote:
The maximum number of chars that can be on any given line is 65,535, 
and the total field max is about 4Gb.
thank you. I can watch for long lines and then put up an alert 
telling them that it's there, they just cannot see it.
Also, these limits should be in the docs.
Agreed.  I came across them in the old MC docs a while back, which are 
normally more anemic than the Rev docs.  But this is what it took me 
to find them in Rev:
This only shows the char limit per line.  Not the pixel limit.
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.runrev.com/mailman/listinfo/use-revolution


Re: Opening custom files by Drag and Drop in standalone application

2005-01-18 Thread Ken Ray
On 1/18/05 11:55 AM, Alejandro Tejada [EMAIL PROTECTED] wrote:

 on Mon, 17 Jan 2005
 Ken Ray wrote:
 
 When you launch an MC/Rev app, any command line
 information is sent to the
 application and is retrievable via *environment
 variables* numbered $0 on up.
 
 Hi Ken,
 
 I have read this useful Programming tip in your
 website, and TRY to use it in an standalone
 player to OPEN ONLY the custom documents of that
 application.
 
 But when i drag and drop a Rev or MC stack to a
 standalone i had created, IT OPENS... :-(

Yes, and this may be a bug (I tested Windows) - you get the path to the
stack you dropped in $1, but you don't get any messages to trap to prevent
that stack from opening... I tried trapping preOpenStack and openStack, and
it only triggers for the application, not the document stack that is
opening.

I think you should log this as a bug, unless someone has an answer for
this...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution