#Script File Redux
21 messages in this thread
Andy,
I have all through both the 2.04 and 3.0 manuals and can find no reference
to the concantenation process of variables and text. Methinks your use of
the word "backticks" which incidentally appears nowhere in either index
points to the fact that you are in possession of "insider" knowledge. 🙂
Looks like C= could use some new manual writers. I feel that little
tricks and information like that are of great benefit to us users. It
only points out the fact that my subscription to CIS if of great benefit,
especially when I can get help to problems. Thanks again.
-John-
John,
What Andy is calling "backticks" is described in excruciating detail
in MY copy of the "Using the System Software" book, page 8-13 under the
heading "Back quote (`)"
I believe that the 'concatenation' process becomes obvious if you look
at some of the script files provided by C=, especially SPAT and DPAT.
Ah, I knew it was there somewhere 🙂
andy
Vic,
My 2.04 copy of "Using the System Software", page 8-13 has a
continuation of the ASSIGN command. My 3.0 books don't have anything
relating to what you mention.
Call me stupid, but from Looking at DPAT and SPAT I never would have
dedeuced that the "{" placed after the "$" and before the Variable name
would allow me to use the variable at the front of the concatenation
process. Still look for the documentation, though. Thanks for the input
anyway.
In the 3.0 documentation it is on 1-9, it is listed under in the index:
Index-2, Command Line Characters, Back Apostrophe 1-9
Isn't great how things change from edition to edition?
Greg
Greg Givler – CBMSER Sysop
Commodore Product Assurance
I actually did find that listing, Greg. My comment was that there was no
way to infer from that information that placing a "{" after a "$" would
allow a $VARIABLE to be concantenated on the front of a string line.
Those are the tricks of the trade that are of value to the "common" user
such as myself.
John,
If you insist… "you're stupid" … does that really make you feel
better ???? <smmiiille>
Hmmm, my original docs don't show that either, but the 2nd edition of
the 2.0x docs DO show it.
I must be missing something…it's not the '{' per se that allows
concatination, it's the '<' or whatever character has declared a the
'.bra' character…and of course, the other end is bounded by the
'.ket' character.
That point is gradually taking hold. I guess that what little info is in
the documentation should be combined with investigation of the script
files. I still maintain that it is not as intuitive as it could be. I
think I'll lie down and rest…..
I'm glad to help. I suspect that backticks are in there somewhere, but the
manual people probably decided to call them something different. They probably
decided to rename the twiddle character and the hash character too 🙂
I've got the first draft of a book containing tips and tricks like that kind of
thing; Maybe I should try to shop it around again 🙂
andy
Lemme know when it's ready and I'll jump on the order wagon.
Have to find a publisher first 🙂
andy
The twiddle and the hash character…
Hmm… you referring to the twiddle and the gridlet?
🙂
-larry
Or the twiddle and the octothorp 🙂
andy
Octothrope? Gridlet? Hey, that's Pound! 🙂
Steve
Larry, I thought you'd taken some music when you were a lad. That's
CLEARLY a 'sharp' sign.
While I was in a boy's choir that won several competitions, I never did learn
to read music.
I agree, though. It's a real sharp gridlet.
-larry
Sorry, Vic – but Jim Butterfield told all of us 8-bit Commodore users that it
was an octothorpe, and you KNOW that if Jim said it, it is true. (Has something
to do with having eight points on it.)
Betty,
You _know_ I'd never contradict Jim.
Well me was told it's a HASH. So stick that in your pipe and smoke it.
Sean.
p.s. If you look at it for long enough it will induce fits of laughter
(I've heard)!
p.p.s. # = 🙂
Sorry – don't smoke.