Announcement

Collapse
No announcement yet.

Euro in PD35

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Euro in PD35

    Hi at PB

    Is there a way of displaying the euro ? on screen in PB 3.5 dos

    Many thnaks

    Robert

  • #2
    I use CHR$(137)- ë, good enough for my clients

    There is also é, ê and è ?



    ------------------

    Comment


    • #3
      Thanks Otto I will give it a go

      Robert

      ------------------

      Comment


      • #4
        http://www.powerbasic.com/support/pb...read.php?t=656

        ------------------
        tom hanlin
        powerbasic staff

        Comment


        • #5
          To display the 256 CHR$ on screen with PB35 :

          COLOR 7,0:CLS
          FOR K = 0 TO 255
          COLOR 0,2
          ' you can use any color
          PRINT RIGHT$(" "+STR$(K),3);
          COLOR 7,0
          PRINT " ";CHR$(K);" ";
          IF (K+1) MOD 12=0 THEN PRINT
          NEXT K

          For Vertical :

          FOR I = 0 TO 21
          FOR J = 0 TO 11
          K = I+(J*22)
          IF K<256 THEN PRINT RIGHT$(" "+STR$(K),3);" ";CHR$(K);" ";
          NEXT J:PRINT
          NEXT I

          Regards

          ------------------




          [This message has been edited by John Lee (edited February 14, 2002).]

          Comment


          • #6
            Don't forget the ASCII table in the on-line help, or in the back of the Reference Guide.

            ------------------
            Lance
            PowerBASIC Support
            mailto:[email protected][email protected]</A>
            Lance
            mailto:[email protected]

            Comment


            • #7
              Having been a DOS Accounts Software Programmer for many years
              now, I and many others don't bother to indicate the Currency
              money values are entered in, assumed to be "£" in the U.K.

              Another work-around I sometimes use in "£" vs "$" transaction
              entries is to head the columns, indicating the Currency involved.

              You could design your data input screens and reports headed thus:

              £ | Euro |
              ~~~~~|~~~~~|
              100.00 | 163.00 |

              The above does not look like the way I entered it ! The Forum
              Formatter does not recognise "Spaces" nor CHR$(255). I am sure
              you got the idea

              I personally do not like every money value prefixed with a
              Currency symbol, neither do my clients ! Gives operators reading
              values on small point-of-sales monitors a headache


              ------------------




              [This message has been edited by OTTO WIPFEL (edited February 13, 2002).]

              Comment

              Working...
              X