// Buildtable fills arrays compile-time with user-defined javascript code (i is a counter here ranging from 0-256)
sin : array[256] of byte = BuildTable("Math.sin(i/256.0*2*3.14159)*127 +128");
Garçon ! Il y a du js dans mon Pascal !
Ce post est offensant ? Prévenez moi sur https://linuxfr.org/board
[^] # Re: Nom
Posté par devnewton 🍺 (site web personnel) . En réponse au lien Turbo Rascal : un IDE pour développer des jeux sur vieux micros/consoles. Évalué à 6.
Garçon ! Il y a du js dans mon Pascal !
Ce post est offensant ? Prévenez moi sur https://linuxfr.org/board