On Sat, 15 Nov 2003 15:59:41 -0600 (CST), Dave P <[EMAIL PROTECTED]> wrote:





On Sat, 15 Nov 2003, Dilwyn Jones wrote:


> I always thought that slices could work in reverse as well (and they
> should actually) so eg.
>
> a$ = "hi"
> b$ = a$ (2 TO 1)
>
> PRINT b$ should return "ih" but maybe it's just me :-)
>
> Phoebus

What happens when you push the envelope?


a$ = "123.45"
b = a$(5 TO 1)

b = 54.321?

If passing variables should be commutative, this should work too.

Dave



Although that would be: b= 54.32


I don't think that the concept of virtual decimal point extends to Coersion

Phoebus

--
Visit the QL-FAQ at: <http://www.dokos-gr.net/ql/faq/> (Still uploading stuff!)
Visit the uQLX-win32 homepage at: <http://www.dokos-gr.net/ql/uqlx.html>
Visit the uQLX-mac home page at:<http://www.dokos-gr.net/ql/uqlxmac.html>
  • ... François Van Emelen
    • ... Marcel Kilgus
    • ... Robert Newson
      • ... François Van Emelen
        • ... "Phoebus R. Dokos (Φοίβος Ρ. Ντόκος)"
          • ... Dilwyn Jones
            • ... "Phoebus R. Dokos (Φοίβος Ρ. Ντόκος)"
            • ... Dave P
              • ... "Phoebus R. Dokos (Φοίβος Ρ. Ντόκος)"
              • ... "Phoebus R. Dokos (Φοίβος Ρ. Ντόκος)"
            • ... Bill Waugh
            • ... Marcel Kilgus
    • ... P Witte
    • ... Claude Mourier 00
    • ... RWAPSoftware
      • ... Robert Newson

Reply via email to