>>HELP<< CUPS units... "Consortium for Upper-level Physics Software" lazarus / 61-Beginners ---------------------------------------------------------------------- juanirias · 2014-07-14 18:00 Hello Everybody again!!! Its me JUAN with my rare pascal scientific utilities! The book is this: http://www.willbell.com/math/mc17.htm the link where i get the units: http://www.rpi.edu/dept/phys/Dept2/cups/cupsas/cupsutil/ Especially CUPS.PAS http://physics.gmu.edu/~cups/ MORE: http://www.amazon.com/Astrophysics-Simulations-Consortium-Physics-Soft ware/dp/0471548790/ref=sr_1_3?s=books&ie=UTF8&qid=1405553635&sr=1-3 http://perso.utinam.cnrs.fr/~cordier/index.php?pw=cupslinux Geany (editor) fpc 2.6.4 i386 openSUSE 13.1 32bits i686 I can run on DOSbox with TP7 ---------------------------------------------------------------------- Leledumbo · 2014-07-14 21:46 See the description of colors field in PaletteType: http://www.freepascal.org/docs-html/rtl/graph/palettetype.html it's not a flat array, but an array of record ---------------------------------------------------------------------- juanirias · 2014-07-14 21:57 Thanks! I make some mod, but my knowledge is limited, still the error. Can you try get working? Regards, JUAN ---------------------------------------------------------------------- Leledumbo · 2014-07-15 16:59 Quote from: juanirias on July 14, 2014, 11:57:47 pmThanks! I make some mod, but my knowledge is limited, still the error. Can you try get working? Regards, JUAN Then learn. Everything you need has been documented. Find how to initialize a record variable (the unit already does it). ---------------------------------------------------------------------- juanirias · 2014-07-15 17:40 Thanks for the advice! Can you give me some links (specifics to this) for read? regards, JUAN