HP3000-L Archives

August 1999, Week 4

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, 25 Aug 1999 11:36:00 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (60 lines)
Stan writes :-
>That sparks my 10-year+ long complaint about the CI "programming"
>facility.  It's flawed, and prevents writing bulletproof readable
>programs.    (I'm impressed when people write complex scripts ...
>but I long for "real" variables, parameters, local variables, functions,
>and more)
>echo !stf_final   won't show you the contents of the variable "stf_final"
>in all cases.
>BTW, echo can be used:
>   echo ![stf_final]
>      you'll see "!foo"
>Note: all of the "you'll see" output actually appears without the
>quotes.

I agree 100% with all that, and look forward to some of these features
(esp local vars & functions) appearing in the CI soon. And also perhaps
some direct file-handling (eg., vefopen,vefread etc...).

One of my disappointments in the current CI is that the echo statement
you give above fails when stf_final contains a valid piping construct
(eg., < x or > x), the sort of thing you might encounter when trying
to preprocess job streams etc.
Perhaps someone may be able to suggest a clean way around it ?.
The best I have at the moment is ( thanks to the new repl function)
  ECHO ![repl(repl(stf_final,"<","!<"),">","!>")]
Pretty ugly, eh !

While I am at it, another pet peeve ( or minor disappointment) but not
related to the CI, is using the intrinsic FREAD in a program to read file
number 0, or $stdin, when $stdin is a message file.
Everything works great until you come to error handling. For example,
if you set a timeout using FCONTROL{4}, the timeout works fine, but you
have no way of knowing that it was a timeout. Ie., FCHECK returns 0
rather than 22.
Has anybody else noticed this , or is aware of an outstanding SR on
something like this ?

Regards,
Tad.






-----------------------------------------------------------------------------
This message is confidential; its contents do not constitute a
commitment by Paribas except where provided for in a written agreement
between you and Paribas. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not
the intended recipient of the message, please notify the sender
immediately.

Ce message est confidentiel ; son contenu ne représente en aucun cas un
engagement de la part de Paribas sous réserve de tout accord conclu par
écrit entre vous et Paribas. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.

ATOM RSS1 RSS2