Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10547 > unrolled thread

Code you ALWAYS have to look at help to use.

Started byMartin <Martin@spam.spam>
First post2017-05-04 10:10 +0100
Last post2017-05-05 12:52 +0200
Articles 10 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Code you ALWAYS have to look at help to use. Martin <Martin@spam.spam> - 2017-05-04 10:10 +0100
    Re: Code you ALWAYS have to look at help to use. dlzc <dlzc1@cox.net> - 2017-05-04 08:40 -0700
      Re: Code you ALWAYS have to look at help to use. dlzc <dlzc1@cox.net> - 2017-05-04 08:41 -0700
    Re: Code you ALWAYS have to look at help to use. D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-05-05 07:43 +0200
      Re: Code you ALWAYS have to look at help to use. Otto Christiaanse <ofchristiaanse@gmail.com> - 2017-05-05 02:20 -0700
        Re: Code you ALWAYS have to look at help to use. D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-05-05 16:37 +0200
          Re: Code you ALWAYS have to look at help to use. "Karl-Heinz" <invalid@invalid.invalid> - 2017-05-05 17:11 +0200
            Re: Code you ALWAYS have to look at help to use. Otto Christiaanse <ofchristiaanse@gmail.com> - 2017-05-11 11:06 -0700
      Re: Code you ALWAYS have to look at help to use. Martin <Martin@spam.spam> - 2017-05-05 11:17 +0100
    Re: Code you ALWAYS have to look at help to use. "Karl-Heinz" <invalid@invalid.invalid> - 2017-05-05 12:52 +0200

#10547 — Code you ALWAYS have to look at help to use.

FromMartin <Martin@spam.spam>
Date2017-05-04 10:10 +0100
SubjectCode you ALWAYS have to look at help to use.
Message-ID<oeer0s$cqu$1@dont-email.me>
You know the function or class you cannot remember off the top of your head.

Mine is At()

I can never remember what way round the parameters are.

So I have to open help and I see this

Examples
These examples show typical uses of At():

? At("a", "abcde")                        // 1
? At("bcd", "abcde")                // 2
? At("a", "bcde")                        // 0

Perhaps I should create my own wrapper with samples in it?

[toc] | [next] | [standalone]


#10551

Fromdlzc <dlzc1@cox.net>
Date2017-05-04 08:40 -0700
Message-ID<2deecc9b-8b3f-480e-8d61-9c0757bee223@googlegroups.com>
In reply to#10547
On Thursday, May 4, 2017 at 2:10:55 AM UTC-7, Martin wrote:
> You know the function or class you cannot remember off the top of your head.
> 
> Mine is At()
> 
> I can never remember what way round the parameters are.
> 
> So I have to open help and I see this
> 
> Examples
> These examples show typical uses of At():
> 
> ? At("a", "abcde")                        // 1
> ? At("bcd", "abcde")                // 2
> ? At("a", "bcde")                        // 0
> 
> Perhaps I should create my own wrapper with samples in it?

How about
FindXinY()?

David A. Smith

[toc] | [prev] | [next] | [standalone]


#10552

Fromdlzc <dlzc1@cox.net>
Date2017-05-04 08:41 -0700
Message-ID<48425172-e1ca-4ee9-8fba-4f42ac4f4357@googlegroups.com>
In reply to#10551
On Thursday, May 4, 2017 at 8:40:34 AM UTC-7, dlzc wrote:
> On Thursday, May 4, 2017 at 2:10:55 AM UTC-7, Martin wrote:
> > You know the function or class you cannot remember off the top of your head.
> > 
> > Mine is At()
> > 
> > I can never remember what way round the parameters are.
> > 
> > So I have to open help and I see this
> > 
> > Examples
> > These examples show typical uses of At():
> > 
> > ? At("a", "abcde")                        // 1
> > ? At("bcd", "abcde")                // 2
> > ? At("a", "bcde")                        // 0
> > 
> > Perhaps I should create my own wrapper with samples in it?
> 
> How about
> FindXinY()?

PositionOfXinY()?

Sorry...

David A. Smith

[toc] | [prev] | [next] | [standalone]


#10556

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2017-05-05 07:43 +0200
Message-ID<854ogcl16idn7t8cslfhub6an4tvm12h4d@4ax.com>
In reply to#10547
Replying on message of Thu, 4 May 2017 10:10:54 +0100 from Martin:


 Hello Martin


>Mine is At()
>I can never remember what way round the parameters are.
>So I have to open help and I see this

Why do you need the help?

The Intellisense tooltip tells you it is (cSearch , c) after you typed
the (.

Dick

[toc] | [prev] | [next] | [standalone]


#10558

FromOtto Christiaanse <ofchristiaanse@gmail.com>
Date2017-05-05 02:20 -0700
Message-ID<285f5ab8-5467-46e4-bec6-051ad62ec625@googlegroups.com>
In reply to#10556
On Friday, May 5, 2017 at 7:43:19 AM UTC+2, D.J.W. van Kooten wrote:
> Replying on message of Thu, 4 May 2017 10:10:54 +0100 from Martin:
> 
> 
>  Hello Martin
> 
> 
> >Mine is At()
> >I can never remember what way round the parameters are.
> >So I have to open help and I see this
> 
> Why do you need the help?
> 
> The Intellisense tooltip tells you it is (cSearch , c) after you typed
> the (.
> 
> Dick

cSearch and c aren't that descriptive... 

I also have to verify sometimes that I don't place the arguments in the correct order.

The VO-IDE is just getting old. The intellisense help of e.g. VS is 'a bit' better... (I know you don't like VS...)

e.g. (C#) myString.IndexOf( (in a balloon) "The zero-based index of the first occurrence of the specified Unicode character in this string"

Regards,
Otto

[toc] | [prev] | [next] | [standalone]


#10565

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2017-05-05 16:37 +0200
Message-ID<af1pgcdv5kb88oqb829oofhu8m7vgnmofs@4ax.com>
In reply to#10558
Replying on message of Fri, 5 May 2017 02:20:47 -0700 (PDT) from Otto
Christiaanse:


 Hello Otto,

>cSearch and c aren't that descriptive... 

Hmmm, that is true. Although search (cSearch) in (c) isn't too
unclear. But the 2nd should have been called cSearchIn. 

Let's suggest that for Grafx and we're looking forward to the update
<bg>.

>The VO-IDE is just getting old. The intellisense help of e.g. VS is 'a bit' better... (I know you don't like VS...)
>e.g. (C#) myString.IndexOf( (in a balloon) "The zero-based index of the first occurrence of the specified Unicode character in this string"
>
True too, that's handy and nothing like that in VO. Because of the
overwhelming feeling of discomfort caused by everything which does not
work (well) in VS I must admit that I tend to foget things which do
work nicely

 I shall try to realize that more often!

Dick

[toc] | [prev] | [next] | [standalone]


#10566

From"Karl-Heinz" <invalid@invalid.invalid>
Date2017-05-05 17:11 +0200
Message-ID<en3j1jFdtr0U1@mid.individual.net>
In reply to#10565
Hi Dick,

> Although search (cSearch) in (c) isn't too
> unclear. But the 2nd should have been called cSearchIn.
>
> Let's suggest that for Grafx and we're looking forward to the update
> <bg>.

we don´t need Grafx to fix the tooltip ;-)

_DLL FUNCTION __At   (cSearch AS STRING, c AS STRING)          AS DWORD
PASCAL:VO28RUN.At
------------------
FUNCTION At ( cSearch AS STRING , cSearchIn AS STRING )   AS DWORD   PASCAL
    RETURN __At ( cSearch , cSearchIn )

<G>

regards
Karl-Heinz 

[toc] | [prev] | [next] | [standalone]


#10584

FromOtto Christiaanse <ofchristiaanse@gmail.com>
Date2017-05-11 11:06 -0700
Message-ID<1543eba1-9e20-4efb-bed8-95d2a5bf87ad@googlegroups.com>
In reply to#10566
On Friday, May 5, 2017 at 5:11:49 PM UTC+2, Karl-Heinz wrote:
> Hi Dick,
> 
> > Although search (cSearch) in (c) isn't too
> > unclear. But the 2nd should have been called cSearchIn.
> >
> > Let's suggest that for Grafx and we're looking forward to the update
> > <bg>.
> 
> we don´t need Grafx to fix the tooltip ;-)
> 
> _DLL FUNCTION __At   (cSearch AS STRING, c AS STRING)          AS DWORD
> PASCAL:VO28RUN.At
> ------------------
> FUNCTION At ( cSearch AS STRING , cSearchIn AS STRING )   AS DWORD   PASCAL
>     RETURN __At ( cSearch , cSearchIn )
> 
> <G>

<g> never the less, would become a mess. 

Have you (and others) created an own overwrite runtime lib, for this or other purposes?

Regards,
Otto

[toc] | [prev] | [next] | [standalone]


#10560

FromMartin <Martin@spam.spam>
Date2017-05-05 11:17 +0100
Message-ID<oehj8v$c2f$1@dont-email.me>
In reply to#10556
Yes but it is the thing you are searching for or searching in?

On 05/05/2017 06:43, D.J.W. van Kooten wrote:
> Replying on message of Thu, 4 May 2017 10:10:54 +0100 from Martin:
>
>
>  Hello Martin
>
>
>> Mine is At()
>> I can never remember what way round the parameters are.
>> So I have to open help and I see this
>
> Why do you need the help?
>
> The Intellisense tooltip tells you it is (cSearch , c) after you typed
> the (.
>
> Dick
>

[toc] | [prev] | [next] | [standalone]


#10563

From"Karl-Heinz" <invalid@invalid.invalid>
Date2017-05-05 12:52 +0200
Message-ID<en341qFb0hgU1@mid.individual.net>
In reply to#10547
Hi Martin,

> Mine is At()
> I can never remember what way round the parameters are.
> So I have to open help and I see this

how about opening the VO-Help directly ?

type "at" and press shift+f1

or 

doubleclick the word "at" and press shift+f1


regards
Karl-Heinz

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web