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

46974Re: [libertybasic] help regarding old basic command

Expand Messages
  • John Fisher
    Sep 2, 2013
    • 0 Attachment
      Hi joacofab
      Sounds like an old BASIC with line numbers- these are generally
      redundant in LB
      >
      > The line that is not working in Liberty Basic is as follows:
      > 1070 DEF FNVS(x,y,z)=x*x+y*y+z*z
      >
      Try

      print VS( 2, 3, 4) ' ie print function VS with parameters 2,3 and 4
      end

      function VS( x, y, z) ' here we define the function
      VS =x^2 +y^2 +z^2
      end function




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