Randomly select a declared Constant (string/number type) ?
Posted: Sun Oct 12, 2025 9:46 am
I have declared the constant:
How can I randomly select a declared Constant (string/number type) from these 3 constants?
Code: Select all
#Book_on_shelf1 = "Hello world - Basic program"
#Book_on_shelf2 = "How to learn PureBasic ?"
#Book_on_shelf3 = "PureBasic on Internet !!!"
#Bookshelf_location1 = 1
#Bookshelf_location2 = 2
#Bookshelf_location3 = 3