Make$
Result$ = Make$(RepeatString$, Amount)
 
Parameters:

    RepeatString$ =The string you wish to repeat
    Amount = The number of times the RepeatString$ is used in the output string
Returns:

    Result$ = The result of the string after being repeatable joined
 

      The Make$() function will create a repeated string from a string fragment. This is often useful when you want to format strings to a particular size and layout.



FACTS:


      * None



Mini Tutorial:



  
  
; Start a loop from 1 to 10
  For lp =1 To 10
     
   ; Print a created string that is made
   ; to a required length
     
     Print Make$("-",lp)
     
   ; loops back to the FOR, until LP greater 10
  Next
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



This example would output.

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

 
Related Info: Left$ | Mid$ | Right$ :
 


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