Jump to content

max. 80 signs per line


Tiger
 Share

Recommended Posts

trying to automate the writing of Guitar tablatures?

$test = "-----------------------------------------------------"

$length = StringLen($test)

if $length=80 Then
    msgbox(0, "", $length)
Else
    $delta = 80 - $length
EndIf

If $delta <> 0 Then
    For $i = 1 To $delta
        $test = $test & "-"
    Next
EndIf
msgbox(0, "", $test)
$length = StringLen($test)
msgbox(0, "", $length)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...