HP3000-L Archives

December 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tad Bochan <[log in to unmask]>
Reply To:
Date:
Wed, 13 Dec 2000 19:19:03 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (92 lines)
>>   I am happy to help you workaround the lack of quote().

Hi Jeff,

No problem, REPL() it just fine.
I just thought QUOTE() was a bit more descriptive in the context
of hacking quotes in strings.

Thanks,
Tad




Internet

From:     [log in to unmask] on 13/12/2000 17:19 GMT



Pour :    HP3000-L

cc :

ccc:  Tad BOCHAN

Objet :   Re: Quote function ?




> We moved to 6.5 recently, and I am *positive*  that I used a
> new CI function
> called 'quote' or something similar , but I cant remember the
> exact name,
> or how I originally found out about this function

You are right.  For a limited time there was a CI function named
quote() that attempted to alter its input string such that the
returned value could be explicitly referenced (!rtn_val_var) with
out causing the CI to interpret embedded meta characters.  For ex:

   setvar x input(': ')
   echo !var1 ![a+2] >foo   <--- user enters
   setvar y quote(x)
   showvar y
   Y = echo !!var1 !![a+2] !>foo

However, quote had some fatal flaws and in the end provided nothing more
than can be accomplished via the repl() function.  In release 6.0 exp 1
quote was removed and there was a brief mention of this in the Communicator
http://jazz.external.hp.com/papers/Communicator/6.0/exp1/ci_enhancements.htm
l
(sorry if this URL wrapped)

I am happy to help you workaround the lack of quote().

regards,
 Jeff Vance, CSY





___________________________________________________________

This message and any attachments (the "message") are intended solely for
the addressees and are confidential.  If you receive this message in error,
please delete it and immediately notify the sender.

Any use not in accord with its purpose, any dissemination or disclosure,
either whole or patial, is prohibited except formal approval.

The internet can not guarantee the integrity of this message.  BNP PARIBAS
(and its subsidiaries) shall (will) not therefore be liable for the message
if modified.
                      ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur.

Toute utilisation de ce message non conforme a sa destination, toute
diffusion ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse.

L'internet ne permettant pas d'assurer l'integrite de ce message, BNP
PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
___________________________________________________________

ATOM RSS1 RSS2