How do you display code in a forum post

Hey
Just a quick question to ask how i display my code on these message boards if im having a problem with them?
because i can see its not a simple copy and paste
Thanks

It's in fact very easy. You can post code and then surround it with code tags. The new code tags look like this:
{code}
x=y;
z=w;
{code}
The old code tags look this this:
[code]
x=y;
z=w;
[[/i]code]
They work the same. If you don't feel like typing in tags, there is a "code" button right there next to the bold, italics, underline buttons... Just select your code and press the code button.

Similar Messages

  • How do you display a price in 2 decimal spaces? e.g.  $39.95000

    Does anyone know how do you display a price in 2 decimal spaces? e.g. $39.95000
    jsp code preferred please,
    thanks in advance!

    hi,
    this is jsp code just follow code
    <%@page language="java" import="java.text.*" %>
    <%
    double d=39.95000;
    NumberFormat fmt=new DecimalFormat("0.00");
    out.println(fmt.format(d));
    %>
    jpreddy

  • How do you display a new image in  webdynpro view?

    How do you display a new image in  webdynpro view?
    Where is the image stored and how do we specify the image path?

    hi ,
    The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server u2013 for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.
    saveur image   as mime
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    Right click on ur component->mime object->import
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    amit

  • How do you display a swf video / videos when you mouse over

    How do you display a swf video / videos when you mouse over, It'll be something like a pop up but just that it doesn't open in another windows but within the same window and will be like a pop up roll over image.

    Thank you for the reply.
    I've been putzing around with it and came across the 'SetEventHandler' object and thought I'd try and make that one work.
    Here's what I've got so far.
           <mx:SetEventHandler target="{turnAroundMovie}" name="handleMovieClip" handler="stopMovie()"/>
    And then my fuction.
       <mx:Script>
            <![CDATA[
                private function stopMovie():void{
                    turnAroundMovie.stop(); <!-- here's where I'm getting stuck -->
            ]]>
        </mx:Script>
    My first instinct was the simple stop(), but that didn't fly.  I even added a stopMovie frame in my .swf and tried a gotoAndStop('stopMovie'); but that didn't fly either.  And that's kind of where I'm stuck at.

  • How do you display total time for playlist in Itunes 11

    how do you display total time for playlist in Itunes 11

    "I can see the total time in my playlist on the computer but not on my device??"
    I have just posted a question asking the same!
    Did you have any joy?

  • How do you display file type in PS Elements 10?

    How do you display file type in PS Elements 10 in the Organizer for each photo?
    I know you can right click and look at meta data.
    In PSE 7 it was displayed under each photo.

    Two things:
    1.  Set the View option to show file names:
    2.  Ensure your thumbnails are large enough to display the data:
    Ken

  • How do you display exact duplicates in Itunes 11. It is now missung under the file?

    How do you display exact duplicates in Itunes 11. It is now missung under the file?

    Right-click on this direct link to ExactDuplicates and "download" or "save link as..." to a location of your choice. Double-click to the file to run it. You should get something a bit like this:
    If your system will allow it my script will produce a progress bar so you can see what is going on, otherwise you will have to be patient, it will carry on working in the background.
    After scanning for duplicates it then adds them to a new playlist. For large libraries this process can be quite slow. (Very slow if you also have old hardware like me.)
    Finally you'll get a results window like this (from a different test run, as I didn't have time for the full one to finish when I was grabbing screenshots).
    You can use shift-delete to remove selected tracks from the library as well as the playlist. Leave at least one track behind from each repeated group and don't send anything to the recycle bin unless you are sure you have more than one physical copy.
    The DeDuper script has several advantages over cleaning by hand. Automating the process allows preservation & amalgamation of ratings, play counts, playlist membership, etc. See this thread for more detail.
    tt2

  • How do you display Movies only in iPhoto?

    How do you display Movies only in iPhoto?

    Create a Smart Album like this (depending on your iPhone model)
    You'll see your iPhone pictures and all movies in the library.
    OT

  • HT1386 HOW DO YOU DISPLAY DUPLICATES IN PLAYLISTS?

    How do you display duplicates on the playlist with the new itunes format?

    Note that, as with the iTunes feature, this lists make no distinction between "originals" and "dupes", you have to decide which is which.
    There is also my DeDuper script for automatically removing duplicates copies but keeping one remaining copy of each set. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send the others to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file. Same advice to backup applies.
    tt2

  • ITunes 11 ... How do you display duplicates?

    iTunes 11 ... How do you display duplicates?

    That function isn't in iTunes 11. Apple has said there will be a small update that will add that function back but no time frame was given.

  • How do you display excel formulas?

    How do you display EXCEL formulas in Numbers once imported?

    select the cell and look at the bottom of the window or doubel click the cell:
    after double clicking cell:

  • How do you display the tables of EBS R12 (VIS)?

    Hi,
    My sqlplus does not work but I have an Oracle sqldeveloper. How do you display the tables info of order management module in EBS R12 for windows?
    For example:
    Base tables
    oe_order_headers_all
    oe_lines_all
    oe_lot_serial_numbers
    oe_sales_credits
    oe_price_adjustments
    Interface tables:
    OE_HEADERS_IFACE_ALL
    OE_LINES_IFACE_ALL
    OE_RESERVTNS_IFACE_ALL
    OE_CREDITS_IFACE_ALL
    OE_PRICE_ADJS_IFACE_ALL
    OE_LOTSERIALS_IFACE_ALL
    OE_ACTIONS_IFACE_ALL
    Thanks,
    Fernando

    Hi Fernando,
    The tables for Order Management will mostly be in ONT schema - APPS schema only holds Views, Synonyms, PL/SQL Packages and similar abstractions.
    In SQL Developer make a connection to the APPS schema, then go to Synonyms and you'll see the tables (note you should filter as there are lots of objects in Apps schema)!
    In the synonym SQL tab you can see the base schema for the table, e.g.
    CREATE OR REPLACE SYNONYM "APPS"."OE_ORDER_HEADERS_ALL" FOR *"ONT"*."OE_ORDER_HEADERS_ALL";
    Make a connection to the base schema, e.g. ONT.
    Then you'll see the ONT tables under the Tables folder.
    Alternatively, connect as apps and execute SQL "desc OE_ORDER_HEADERS_ALL"
    Or look at the APPS schema views instead, e.g. OE_ORDER_HEADERS
    Regards,
    Gareth
    Edited by: gareth.roberts on Aug 18, 2009 11:52 AM

  • On elements 11 organizer how do you display file #

    On elements 11 organizer how do you display file # for each photo?

    Control D
    Zoom in until it appears.
    Alternately: menu Vieuw (?? I have a german version...). Click details, persons etc...

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

  • How do you display multi line text

    Hi
    How does one display multi line text? I would like to display address information on the screen so that the user can select it and copy/paste it into another application (ms word).
    I have the address information as separate columns (address1, address2, city, province, postal code) so I've changed the query on my view object to add it as address1 || chr(10) || address2 || chr(10) || city ....
    If I display it on the page as an output text, it all displays as one line (okay, the chr(10) thing did not work but that's beside the point).
    In general, is there a way to display multi line text? What component is suitable for this, if there is one?
    Thanks

    You can use normal outputText components in a panelGroupLayout (vertical layout) and add each attribute to it. The remove the labels or set the components to simple. You can then mark the data in the browser and use normal copy&paste to transfer the data.
    If you want to output longer text with line breaks you can use an outputText with escape=false and use the br html tag to generate a line break;
    <af:outputText escape="false"
    value="+++++++long<br>test<br> this is a long text in multiple lines" id="ot10" truncateAt="#{viewScope.ToggleBean.truncateLength}"/>Timo

Maybe you are looking for