Loading ...
Sorry, an error occurred while loading the content.

38581RE: [libertybasic] SINE WAVE

Expand Messages
  • Henrik
    Jul 2, 2009
    • 0 Attachment
      Thank you Stefan Pendl

      --- On Thu, 7/2/09, Stefan Pendl <pendl2megabit@...> wrote:


      From: Stefan Pendl <pendl2megabit@...>
      Subject: RE: [libertybasic] SINE WAVE
      To: libertybasic@yahoogroups.com
      Date: Thursday, July 2, 2009, 5:35 AM








      >
      > Could we change the line:
      > ‘print #m , "line 0 0 0 500 "
      > In the following code by something eles please
      >  
      ---snip
      >  
      > open "Graph Plotting" for graphics_nsb as #m
      > '#m "trapclose [quit]"
      > #m "down"
      ---snip
      >  
      > print #m , "line 0 0 0 500 "
      >  
      > #m "flush"
      > wait
      >  
      > close #m
      > end
      >  

      The format of the LINE graphics method is:
      "LINE {StartX} {StartY} {EndX} {EndY}"

      Your line is drawn from the top-left-hand corner to 500 pixels down to the bottom.
      Where do you like the line to be drawn?

      BTW, the TRAPCLOSE window method is essential, omitting it, will only close the window, but the program will be running happily in
      the background.
      TRAPCLOSE is mandatory.

      ---
      Stefan Pendl

      Liberty BASIC Assist 4.03 ........ http://www.libertyb asic.com/ assist.html
      Liberty BASIC 4.04 public beta ... http://www.libertyb asic.com/ lb404b3setup. exe

      Windows Vista Home Premium 32-bit SP2
      AMD Turion X2 RM-70 2GHz
      4GB RAM



















      [Non-text portions of this message have been removed]
    • Show all 19 messages in this topic