Let
Let <.varname.> = <.expression.>
 
Parameters: NONE
Returns: NONE
 

      Let assigned a value or expression to a variable. This command is not really needed in PlayBASIC and only exists for backward compatibility with older BASIC dialects.




Mini Tutorial:


  
  Let i = 12
; is the same as
; i = 12
  
  Print i
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




This example would output.

  
  12
  

 
Related Info: Dim | Global | Local | Static | Variables :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com