How to print Alphabet by Script

Dear Members!
My project is to print Alphabet using Script code in Flipabit. In this I would like to explain how to get help from Code generating AI tools. I used the prompt "Generate JavaScript code for Plinting Alphabet '.In response to it , the following code is generated by AI tool.
for (let i = 97; i <= 122; i++) {
console.log(String.fromCharCode(i));
}
I modified it to suit to Script Code like this.

function () {
var alpha = “”
for (let i = 65; i <= 90; i++) {
alpha = alpha + String.fromCharCode(i) + " "
}
return alpha
}
and created a button action and pated the script code in it.
Alphabet -filpabit
Alphabet Printing - Script Code.flp (12.7 KB)


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.