Copy link to clipboard
Copied
I want to geneate 100+ UUIDs,is there simple way?
1. Use programming? it is very easy, a loop for 100 times.
2. You can also use web online tools, just like: generateguid.com
Copy link to clipboard
Copied
It's not clear what aspect of this you're wanting help with. Is there a reason something as simple as this doesn't suit you?
<cfscript>
arr=[]
for (i=1;i<=100;i++){
arrayappend(arr, CreateUUID())
}
writedump(arr)
</cfscript>
Of course, that can be done in tags instead. And there's probably some clever functional programming that could effect the same result in perhaps still fewer lines. That said, if you put semicolons at the end of each line, all that code could be on a single line. 🙂
Copy link to clipboard
Copied
Thank you.
Copy link to clipboard
Copied
1. Use programming? it is very easy, a loop for 100 times.
2. You can also use web online tools, just like: generateguid.com
Copy link to clipboard
Copied
Yes, online web tool is my want, Thank you!
Copy link to clipboard
Copied
Using an online tool is indeed a simple way to generate many UUIDs. But you should beware of two subtle factors.