• Welcome to The Farming Forum!

    As part of this update, we have made a change to the login and registration process. If you are experiences any problems, please email [email protected] with the details so we can resolve any issues.

Support Request What are inline codes and inline spoilers?

Chris F

Staff
Moderator
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.
 

How is your SFI 24 application progressing?

  • havn't been invited to apply

    Votes: 29 35.8%
  • have been invited to apply

    Votes: 15 18.5%
  • applied but not yet accepted

    Votes: 29 35.8%
  • agreement up and running

    Votes: 8 9.9%

Webinar: Expanded Sustainable Farming Incentive offer 2024 -26th Sept

  • 2,462
  • 50
On Thursday 26th September, we’re holding a webinar for farmers to go through the guidance, actions and detail for the expanded Sustainable Farming Incentive (SFI) offer. This was planned for end of May, but had to be delayed due to the general election. We apologise about that.

Farming and Countryside Programme Director, Janet Hughes will be joined by policy leads working on SFI, and colleagues from the Rural Payment Agency and Catchment Sensitive Farming.

This webinar will be...
Back
Top