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: 102 41.5%
  • Up to 25%

    Votes: 90 36.6%
  • 25-50%

    Votes: 36 14.6%
  • 50-75%

    Votes: 5 2.0%
  • 75-100%

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

    Votes: 10 4.1%

May Event: The most profitable farm diversification strategy 2024 - Mobile Data Centres

  • 813
  • 13
With just a internet connection and a plug socket you too can join over 70 farms currently earning up to £1.27 ppkw ~ 201% ROI

Register Here: https://www.eventbrite.com/e/the-mo...2024-mobile-data-centres-tickets-871045770347

Tuesday, May 21 · 10am - 2pm GMT+1

Location: Village Hotel Bury, Rochdale Road, Bury, BL9 7BQ

The Farming Forum has teamed up with the award winning hardware manufacturer Easy Compute to bring you an educational talk about how AI and blockchain technology is helping farmers to diversify their land.

Over the past 7 years, Easy Compute have been working with farmers, agricultural businesses, and renewable energy farms all across the UK to help turn leftover space into mini data centres. With...
Top