Information générale
Catégorie:
Codage, syntaxe et commandes
>>Hi Bruce --
>>
>> Yes, I like tables, too, to separate data from logic. And, a table approach would be perfectly appropriate in this situation. I suspect Marvin's data is in that form. He could either access the table directly with some application modification, or select into an array and use existing code.
>>
>>>a) hit the size limit
>>
>> You know, I hadn't thought of it, but a table-driven approach could be used to generate prime numbers, indefinitely ... <g>
>
>The only problem with that is that I've written it four times already and lost it (the .prg and the table) four times.
>
>Maybe fifth time I'll do something with it, like a permanent backup.
Dragan --
Someone asked here what the "practical" value of these algorithms were. It seemed like a somewhat churlish question, to me.
When one stumbles upon something intriguing in the more theoretical side of math, it makes the walk worthwhile in itself. And, you never know...
Jay
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement