Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

computer programming and pundit squares

This is where you can discuss your homework, family, just about anything, make strange sounds and otherwise discuss things which are really not related to the Lancer-series. Yes that means you can discuss other games.

Post Sat Jan 08, 2005 2:43 pm

computer programming and pundit squares

Here's the thing...

I'm doing biology, and specifically genetics and heredity, this year in science. my teacher is demonstrating the possible outcomes of the offspring of two given organisms through pundit squares, which are annoying and tedious and take ages to do. He's promised my class an extra 10-20% for the end-of-year mark if we can individually construct a computer program that can solve pundit squares, anywhere from mono to tri hybrid crosses. The program has to be able to take in anything from say...AA x aa to AaGgTt x AaGgTt and produce a complete pundit square showing every possible genotype for each offspring.

I'm trying to construct the program on REALbasic software, and since I don't know horsecr*p about computer programming I was wondering if anyone on here could give me a hand/suggestion.

Please?

Post Sat Jan 08, 2005 2:51 pm

i had to do those things in school to (and hated them), but only on paper wish i could help with the programing but i'm just a techie, to tell you the truth i can't program my way out of a paper bag i'd have a better chance putting an engine in my car . best of luck with it though.

Post Sat Jan 08, 2005 4:09 pm

If its just a 2X2 square it should be fairly easy, if i hav Visual basic here id show you how.

Basically, on each parent's genotype, you will have to put a text box for each gene (one for t/T on for l/L, etc...) then add each one in sequence. i discovered accidentaly that VB can add tect strings together
eg: if you said textboxA.text = textbox1.text + textbox2.text
then it will add those 2 strings together: textbox one says 'he' and textbox 2 says 'llo', then the finishing textbox will read 'hello'

Post Sat Jan 08, 2005 4:11 pm

thanks . I was using REALbasic but I think I'll download VB as well...

Return to Off Topic