 No one knew right up until the filming of the last scene whether  Ilsa would end up with Rick or Laszlo. During the course of the  picture, when Ingrid Bergman (I) (qv) asked director  Michael Curtiz (qv) with which man her character was in love, she  was told to "play it in between". Since the ending was not the final  scene shot, there are some scenes where she *was* aware of how  everything would turn out, and these include the scene in the black  market with Rick and the scene in the Blue Parrot where Ferrari  offers the Laszlos one exit visa.