Jump to content

Photo

Sprites in Pascal

Pascal Sprites

25 replies to this topic

#26 Rossman OFFLINE  

Rossman

    Space Invader

  • Topic Starter
  • 41 posts

Posted Wed Nov 8, 2017 8:36 AM

Wow, I never would have caught that.

Everything I do is on a specific value and I do not do any array-level actions. i do pass arrays as parameters and (fortunately) have not had any difficulty. I dont have the code in front of me right now, but Im pretty sure I declare all of my arrays as types.

type
Hand = array[0..3];

Var
Punto, Banco : hand;

And that might have prevented any problems when passing parameters.

(Sorry if the code doesnt read quite right. Im typing this on an iPad on the way to work, and autocorrect is adding leading capital letters, changing words, etc.)





Also tagged with one or more of these keywords: Pascal, Sprites

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users