Explore the community Forums Lectora Lectora Questions & Answers Variable Output Line Break

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #376210 Score: 0
    Profile photo of Andy Krayenhagen
    Andy Krayenhagen
    Member
    beginner
    intermediate
    advanced
    picture perfect
    profile
    friend finder
    curious george
    wise owl
    contributor
    2 pts
    @akrayenhagen9721

    Ok folks,

    Can anyone tell me if there is a way to put in a line break after a variable is printed out? I suppose you might want to see what it is I’m talking about so I am uploading the Practical Exercise I’m working on. The idea is to check the typed answers, and if the answer is wrong it prints out in the box next to it. This idea in itself is easy, but when you are adding to the variable there needs to be a line break between each printout, this is where I’m having the issues. Everything wants to print in one line. The thing is, I don’t want extra spaces between the printouts (i.e. printouts in individual boxes).

    #376227 Score: 1
    Profile photo of Andy Krayenhagen
    Andy Krayenhagen
    Member
    beginner
    intermediate
    advanced
    picture perfect
    profile
    friend finder
    curious george
    wise owl
    contributor
    2 pts
    @akrayenhagen9721

    OK Guys, I’m feeling quite idiotic! I decided to try something… As I stated before I tried adding a hard return AFTER the variable. This didn’t work. So I thought to myself, “Self, lets just try adding a hard return BEFORE the variable and see if that works.” Well guys, I’m here to tell you that it DOES in fact work. Lectora would automatically delete any hard returns after a variable but would NOT delete it BEFORE the variable. Just for Future reference ya’all.

    This post has received 1 vote up.
    #416727 Score: 0
    Profile photo of Alexander Leal
    Alexander Leal
    Member
    beginner
    intermediate
    friend finder
    profile
    picture perfect
    Group Member
    wise owl
    curious george
    @aleal

    Hi Andy.

    Could you share how you added this line break? Been reading on threads regarding the topic and all I’ve seen so far is the “/r” which didn’t work for me.

     

    TIA

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.