News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

PlayBASIC Tutorial: Variable Insensitivity and all that jazz (2018-05-09)

Started by kevin, May 09, 2018, 03:21:01 AM

Previous topic - Next topic

kevin


PlayBASIC Tutorial: Variable Case and all that jazz (Case Insensitivity & Implicit Declarations) (2018-05-09)



PlayBASIC Tutorial: Case Insensitivity & Explicit   or Implicit Declarations

  In this video we take a casual look into what case sensitive and case insensitivity means, if anything,  in PlayBASIC.   Following that  we look into implicit and explicit variable  declarations,  explicit Array declarations and some function declarations.     
       

        Topics   
        
      -----  Basic intro to and case insensitivity   
      -----  Explicit / Implicit Variable (and Array) declarations
      -----  Using TYPE's instead of Explicit mode variable declarations 


   The key take away's from video can be summed up as follows,

   PlayBASIC is NOT case sensitive and uses implicit variable declaration by default.   You can change the latter using the Explicit command (on / off).     Array & Function declarations are explicit always,  although the compiler will prototype functions prior to compilation, so functions can be used (called) prior  to their declaration, where as Arrays must be declared   before their first usage.


Watch Tutorial: