Support Request What are inline codes and inline spoilers?

Chris F

Staff Member
Media
Location
Hammerwich
They are ways to hide a spoiler by making the user have to click on it to reveal the word. Not really used much in the farming world, but are used a lot on gaming forums.

The answer to your question is
This is the answer
 
I see [or don't see?] that the inline spoiler works. What sort of code is meant to be used for the in-line job though?
The inline code feature is often used on technical forums discussing computer code to distinguish the code segments from the rest of the text. Computer code usually appears in a typewriter style font while it's being written in an editor and it's common to want to show it that way when asking for help or demonstrating something. I'd bet it's just a standard feature of whatever forum software TFF runs on.

For example: Suppose I'm writing a C function to find the product of two numbers and I'm having a problem with it. I can post the main function using the More Options -> Code button.
Code:
int find_product(int a, int b)
{
    product = a ** b;
    
    return product;
}

Then I can refer to a specific part using the More Options -> Inline Code button.

For example: Why does the line product = a**b not give me the result I want?
 

Cowabunga

Member
Location
Ceredigion,Wales
The inline code feature is often used on technical forums discussing computer code to distinguish the code segments from the rest of the text. Computer code usually appears in a typewriter style font while it's being written in an editor and it's common to want to show it that way when asking for help or demonstrating something. I'd bet it's just a standard feature of whatever forum software TFF runs on.

For example: Suppose I'm writing a C function to find the product of two numbers and I'm having a problem with it. I can post the main function using the More Options -> Code button.
Code:
int find_product(int a, int b)
{
    product = a ** b;
   
    return product;
}

Then I can refer to a specific part using the More Options -> Inline Code button.

For example: Why does the line product = a**b not give me the result I want?
I suspected it was pretty useless for forum posters and was something the forum programmers had forgotten to hide. Can see some use for the 'click to reveal' feature though.
 

SFI - What % were you taking out of production?

  • 0 %

    Votes: 78 42.9%
  • Up to 25%

    Votes: 63 34.6%
  • 25-50%

    Votes: 30 16.5%
  • 50-75%

    Votes: 3 1.6%
  • 75-100%

    Votes: 3 1.6%
  • 100% I’ve had enough of farming!

    Votes: 5 2.7%

Red Tractor drops launch of green farming scheme amid anger from farmers

  • 1,286
  • 1
As reported in Independent


quote: “Red Tractor has confirmed it is dropping plans to launch its green farming assurance standard in April“

read the TFF thread here: https://thefarmingforum.co.uk/index.php?threads/gfc-was-to-go-ahead-now-not-going-ahead.405234/
Top