Re: Using XCMDs/XCFNs in Revolution

2002-07-12 Thread Bill Vlahos

Ken Simons has created a very useful but somewhat limited chart object 
which is entirely written in transcript and is free. You can find it in 
the user contributed area of the Rev site. It only can plot line and 
scatter (i.e. points without connecting the lines) plots but it does a 
pretty good job of them. It does not appear that he is trying to take it 
much further to all of the other plots types (bar, column, area, and the 
other goofy ones). You might want to ask him.

Ken's chart object is perfectly fine for my in house application but it 
would be great to have another option.

Bill Vlahos

On Friday, July 12, 2002, at 01:30  AM, Graham Samuel wrote:

> On Thu, 11 Jul 2002 15:57:27 +0200 yves COPPE <[EMAIL PROTECTED]> 
> wrote:
>
>> [...]
>
>>
>> there is well 2 things that make problem :
>>
>> 1) Table format in Rev doesn't exist and the chart with.
>> 2) Print capacity is very poor.
>>
>> For such difficult problem I use sometimes externals
>> (listtable-chartoid and prinReport). I hope those points are better
>> with new versions of rev.
>
> Curses! I'm now at least half a year late in starting serious Revo work 
> based on Mac-only  products I've already written using SuperCard. In 
> one I make heavy use of HyperGraph and in all my products I need 
> reasonable levels of printing sophistication currently provided by 
> PrintReport. As one of my main motives is to go cross-platform, 
> XCMDs/XCFNs wouldn't help me anyway.
>
> HyperGraph (Boojum/Royal Software - still working in MacOS 9.2.2 after 
> all these years!) is essentially a chart-drawing utility which draws a 
> repertoire of charts from data in arrays - I now think one of my early 
> scripting projects will have to be something similar (but not a 
> rip-off!), unless someone's already done it. I've missed a few weeks of 
> this list - does anyone know of work already done in this area?
>
> TIA
>
> Graham
>
> -- ---
> Graham Samuel / The Living Fossil Co. / London, UK
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-12 Thread Graham Samuel

On Thu, 11 Jul 2002 15:57:27 +0200 yves COPPE <[EMAIL PROTECTED]> wrote:

>[...]

>
>there is well 2 things that make problem :
>
>1) Table format in Rev doesn't exist and the chart with.
>2) Print capacity is very poor.
>
>For such difficult problem I use sometimes externals
>(listtable-chartoid and prinReport). I hope those points are better
>with new versions of rev.

Curses! I'm now at least half a year late in starting serious Revo 
work based on Mac-only  products I've already written using 
SuperCard. In one I make heavy use of HyperGraph and in all my 
products I need reasonable levels of printing sophistication 
currently provided by PrintReport. As one of my main motives is to go 
cross-platform, XCMDs/XCFNs wouldn't help me anyway.

HyperGraph (Boojum/Royal Software - still working in MacOS 9.2.2 
after all these years!) is essentially a chart-drawing utility which 
draws a repertoire of charts from data in arrays - I now think one of 
my early scripting projects will have to be something similar (but 
not a rip-off!), unless someone's already done it. I've missed a few 
weeks of this list - does anyone know of work already done in this 
area?

TIA

Graham

-- 
---
 Graham Samuel / The Living Fossil Co. / London, UK
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-11 Thread Edwin Haskell


On Thursday, July 11, 2002, at 07:00 PM, use-revolution-
[EMAIL PROTECTED] wrote:

> For such difficult problem I use sometimes externals
> (listtable-chartoid and prinReport). I hope those points are better
> with new versions of rev.

It sounds like you were able to make some externals work.
How do you do it?

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-11 Thread yves COPPE

>
>Thanks for the reply and you are 100% correct. However, at least for some
>quick-and-dirty stacks some XCMDs would certainly come in very handy. So,
>I've tried a few more XCMDs/XFCNs, but they all don't yield any result. So
>my question remains: to make XCMDs/XFCNs work, is there more to it than just
>copying them to the .rev file using ResEdit?
>


i've long worked with HC and  crossed over revolution since 6 months.

So, I encountered the same problem as you.

1) There are externals with HC call backs. They didn't work anymore. 
Rinaldi makes now the difference in his website between the 2 sorts.

2) For the externals : many are built-in with rev. So they don't need 
to be used anymore.

3) For the others, I've written in transcript language the same code 
as for the externals...and it works fine. You don't see the 
difference in speed, because the engine in Rev is so fast.

Now I don't use any externals anymore. You are more independant to do 
so and sure you don't let any bugs. If there is a bug you can fix it 
yourself without having to wait a new version of the external.

there is well 2 things that make problem :

1) Table format in Rev doesn't exist and the chart with.
2) Print capacity is very poor.

For such difficult problem I use sometimes externals
(listtable-chartoid and prinReport). I hope those points are better 
with new versions of rev.
-- 
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-11 Thread Edwin Haskell


On Thursday, July 11, 2002, at 06:01 AM, use-revolution-
[EMAIL PROTECTED] wrote:

>
>>> I've used HyperCard a lot in the past, and have recently started 
>>> working
>>> with Revolution. In my HyperCard stacks, I've used a lot of
>>> XCMDs/XCFNs, and
>>> I would like to keep using them.


I agree. I've written so many work-arounds for XCMDs and XCFNs that it's 
not a big issue now, but I'm beginning to wonder if it really is 
possible to put them in Revolution.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-11 Thread John Roos

>> I've used HyperCard a lot in the past, and have recently started working
>> with Revolution. In my HyperCard stacks, I've used a lot of
>> XCMDs/XCFNs, and
>> I would like to keep using them.
> 
> John
> 
> This does not directly answer your question, and how you read it depends
> a bit on whether you are developing Rev solely for yourself on a Mac or
> have broader possibilities...
> 
> Reiterating a conversation on this list from early this year, if you are
> new to Rev then I really encourage you to try flying without the XCMDs.
> With a bit of digging among the new (HC-superset) features, you will be
> amazed at both the capability and speed of Rev. I speak from experience
> in that I quite deliberately chose not to rely on XCMDs when moving from
> HC to Rev, even though I had some 200 catalogued in my library and had
> written more than half of those myself. I have not regretted that bit of
> cold turkey but have learned faster in consequence.
> 
> You may have a particular need and the XCMDs you have mentioned may be
> just perfect so don't let me put you off. However, you did say you were
> relatively new to Rev and I have inferred from that that you have some
> ground to explore in the language. Try it without the old HC
> expectations and I am confident you will enjoy it a lot.
> 
> regards
> David

Thanks for the reply and you are 100% correct. However, at least for some
quick-and-dirty stacks some XCMDs would certainly come in very handy. So,
I've tried a few more XCMDs/XFCNs, but they all don't yield any result. So
my question remains: to make XCMDs/XFCNs work, is there more to it than just
copying them to the .rev file using ResEdit?

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Using XCMDs/XCFNs in Revolution

2002-07-10 Thread David Vaughan


On Wednesday, July 10, 2002, at 08:20 , John Roos wrote:

> I've used HyperCard a lot in the past, and have recently started working
> with Revolution. In my HyperCard stacks, I've used a lot of 
> XCMDs/XCFNs, and
> I would like to keep using them.

John

This does not directly answer your question, and how you read it depends 
a bit on whether you are developing Rev solely for yourself on a Mac or 
have broader possibilities...

Reiterating a conversation on this list from early this year, if you are 
new to Rev then I really encourage you to try flying without the XCMDs. 
With a bit of digging among the new (HC-superset) features, you will be 
amazed at both the capability and speed of Rev. I speak from experience 
in that I quite deliberately chose not to rely on XCMDs when moving from 
HC to Rev, even though I had some 200 catalogued in my library and had 
written more than half of those myself. I have not regretted that bit of 
cold turkey but have learned faster in consequence.

You may have a particular need and the XCMDs you have mentioned may be 
just perfect so don't let me put you off. However, you did say you were 
relatively new to Rev and I have inferred from that that you have some 
ground to explore in the language. Try it without the old HC 
expectations and I am confident you will enjoy it a lot.

regards
David

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Using XCMDs/XCFNs in Revolution

2002-07-10 Thread John Roos

I've used HyperCard a lot in the past, and have recently started working
with Revolution. In my HyperCard stacks, I've used a lot of XCMDs/XCFNs, and
I would like to keep using them. However, I haven't been able yet to get
them to work. What I've done so far is create a main stack in Revolution and
then use ResEdit to copy the XCMD/XCFN into the .rev file that Revolution
creates. From what I've read so far, this should be enough, but it doesn't
really work for me.

Here's a simple example that doesn't work for me. I created a stack in
Revolution with just a field with some text, and a button. The button's
script contains this:

on mouseup
  put CaseChange(field 1,u) into field 1
end mouseup

I copied the CaseChange XFCN (from Rinaldi) to my stack using ResEdit, but
the result when I click the button is that the text in the field is cleared.
The external should convert the text in the field to upper case. (BTW, this
is just an example. I know that this can be easily coded using Transcript.
It's just to show what happens when I try to use an external.)

Something similar happens when I use Rinaldi's FullFind XFCN. Another XCMD
that I've tried didn't work either. Is this to be expected? Do a lot of
externals not work with Revolution? Or am I doing something wrong?

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution