Re: [Clip] Re: String Interpretation (was ^!If Bug ?)
No probs, and I really do appreciate the help from you and all the
others on this group. I'm also a huge fan of NTB. I use it all day and
every day and the more I delve into templates and clips the more mileage
I get out of it.
The term holy war alludes to the tendency of some group "discussions" I
have seen, mainly in other fora, to descend into a ping pong match
between believers and non-believers. I thought it was a common term, but
perhaps not. In any case, no slight intended and sorry if I was a bit
I've started using Clip Assistant which will undoubtedly help keep me on
the straight and narrow.
Regards, John M
----- Original message -----
From: "Alan_C" <acumming@...>
Date: Fri, 07 Jan 2005 22:43:29 -0800
Subject: Re: [Clip] Re: String Interpretation (was ^!If Bug ?)
John Mitchell wrote:
> AlanNor me either. I apologize for assuming that you had no programming
> I didn't intend to start a holy war here.
experience. What, did I do something to make you think that I took it
like that, a war? ? My only intent was to expose about quotes and
setting and extracting contents of variable. (literal string not
covered until now -- see below for literal string)
Importantly, since clipclass provides such good syntax guidelines for
someone who is new to Notetab -- thus, I've no further need to reply to
ntb-clips list about syntax and rules thereof -- instead, I'll refer
whoever query to ClipClass because it's been revised and can do a much
much better job than I can)
But the clipclass does set the stage for using quotes. A user can
follow the quoting recomendations in clipclass and be ok, can do so
until the user gains experience by then the user is familiar enough so
as to know what to do. At least that was my experience anyways. Your
mileage may vary.
So I still recommend clipclass for someone new/unfamiliar with Notetab.
I shoould done it that way in the first place. Sorry for being clumsy
while I make an attempt (the mentioned assumption on my part)
[ . . ]
> see the rules of engagement I'll still be hard to convince that..With Notetab, setting into a variable is one thing which my last post
> ^!Info qwerty
> ^!Info "qwerty"
> ^!Set %a%="qwerty"
> ^!Info ^%a%
> .which yields
> .is the model of consistency.
shared on that. Displaying a literal string is another matter, such as
your use of the ^!Info above.
The rules that apply to setting a variable and extracting the contents
of a variable (as far as quotes concerned) are not applicable with the
use of literal string (your above "inconsistency" or #2 in the middle
uses a literal string it does not make use of a variable).
Once again, this is a context thing (I think) my apologies if it is not.
But I think it is a context issue because it involves the context of
when, where, and how the quotes show_up/reside within the greater
context of the overall code example.
>Well then, I suppose the help file lacks. You're right. I've no
> I think it's reasonable to expect the documentation (Help and/or PDF) to
> define the rules of interpretation for people (like me) who are more
> than happy to RTFM.
argument. I agree. I certainly didn't mean to argue by formerly
refering you to clipclass. I only meant to share what I had come across
that had helped me.
Yahoo! Groups Links
- --- In email@example.com, "John Mitchell" <notetab@l...>
> There was a fair bit of discussion about this. Due to delays inposts
> making it to the Clips group it probably went on longer thannecessary.
> My bug report was submitted in good faith and whether or not I was
> something I shouldn't is open to question since the documentationis not
> at all clear regarding the interpretation of quoted strings and,per an
> earlier append, in my opinion the way quoted strings are handled isNo offense intended. Yes, quotes handling is inconsistent in NoteTab.
However, I believe the help file for ^!If commands does mention the
need for quotes in string testing.
Muddying the waters further:
Where Help is NOT clear is in the side effects from various special
characters. Not just the ones Jody mentioned '>>', but '^' and '#' as
I don't recall if anyone mentioned the interaction of '>>' when it
precededs or follows the '=' sign in the test.
Consider the follwoing test:
This might parse as
'If "string" => ">"'
may parse as
'">" >= "string"'
rather than generating an error.
- Hi Alan,
Thanks for the mention. Awhile back I renamed it. It is now called
The following is a download for a Clipbook programming tutorial
designed to walk you through Clip writing. It includes "Getting
Started" (which is a web page with a number of images displaying
different parts of NoteTab that deals with Clipbooks), making a
Clipbook Library, adding Clips, and editing Clips, on to more
difficult Clip writing. Be sure to read the Introduction also.
Open ClipTut.clb and then click on the ClipTut.otl Outline Clip
to open the Outline.
All the contents of the zip files go in NoteTab's Libraries
You can also sign up for the NoteTab Clips List to get answers to
Clip questions, but please do not post there concerning the
tutorial. NoteTab Clips Subscribe & Edit Options:
Subscribe, unSubscribe, Options
Happy Clip'n! Jody
>Have you seen Jody's ClipClass?Happy Clip'n!
>It used to available as zip file for download from his site at
>The Notetab help file is not meant to learn/tutorial non programmer
>newbies; it assumes at least a little former scripting/programming
>experience. But, ClipClass is targeted to the newbie I used it and
>it worked very well for me.
>; .......... Displays ASDFZXCV (expected)
>; .......... Displays ASDFZXCV (expected)
All Lists: http://www.fookes.us/maillist.htm