[SOLVED] pointers and call functions with char[]

The myMsg inside the loop is a different one from the global. What you want is to copy your string into the global one, not declare a new one.

void loop() {
    strcpy(myMsg, "abcdefghijklmnopqrstuvwxyz1234567890");
    scroll(myMsg,1);
}