[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Clueless questions 3, 4 & 5 + HP LaserJet Thots



Norman,

3) These two are NOT the same:

   move '' to $var
   move ' ' to $var

4) Select expressions (column names) and the FROM keyword in a select
   must not be indented.  SQR commands inside a begin-select must be
   indented.

5) These two statements are functionally equivalent, but the first
   is faster than the second:

   move 'FOO' to $bar
   let $bar = 'FOO'

Ray

> 3. The documentation and other code I have examined often sets flags to ' '
> (that is two apostrophies separated by one space).
> Is this functionally equivalent to setting it = to ''  (two apostrophies with
> no space between them)
>
> Is this    ' '     setting the value to: NULL,  An empty String, or a string
> that holds exactly one space?
> --------------
> 4. What are the hard rules for what MUST ALWAYS BE INDENTED, and
>                                                    MUST NEVER BE INDENTED
>
> 5. Is the command MOVE  'FOO' to $BAR  fully equivalent to
>     the statement  LET $BAR = 'FOO'
>     If you had to code a lot of these, which is the more elegant way to do
> it.
>
> Many thanks
> Norman Dolph
>
> PS every body with HP Printer questions should get, what i assume is still
> free, from HP -- the HP HPCL Technical Manual.  When you open a New laserjet,
> the USER manual inside comes with a coupon for the TECHNICAL manual.  Mail it
> in and they send you one.  At least they did with my model 4 and 5's.
>
> All of the strings for rules, shading, fonts, duplex printing  and character
> sets are there.  It is very helpful.  The User manual only scratches the
> surface.
>

----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  Software Consulting Services
rayo@ontko.com  |  Richmond, In    |  http://www.ontko.com/