Test topic #2


(alexk) #1

Here should be a question.

  1. first
  2. second
  3. third
  4. fourth

-(void)myMethodWithName:(NSString *)name andData:(NSData*)data {
    NSLog(@"hello");
}

=========


(Carlo Kok) #2
<html>
</head>
<title name='user'>test</title>
</head>

(Carlo Kok) #3
function()
{
  return 15 * 2 == '9';
}

External Link here


(Patrick Lanz) #5
    method DoSomething (i : Int32);
    begin
      var a := i * 2.
    end;

It is annoying to be forced to manually indent the code.
More annoying: if I paste code, only the first line goes into the code block.


(Carlo Kok) #6

You don’t really have to; if you use

```Oxygene
method test;
begin
  var s: string := 'test' + 15;
end;
```

you get:

method test;
begin
  var s: string := 'test' + 15;
end;

The"code" button above works well if you write it out first, then select it and press the button, that way it indents it all for you.


New forum preview
(Patrick Lanz) #7

A new try:

method DoSomething (i : Int32);
begin
  var a := i * 2.
end;

It’s working but it’s not easy to remember…

method DoSomething (i : Int32);
begin
  var a := i * 2.
end;

If I paste the code and then select the Code sample button, I have no choice of language.
So we must remember the first method.
Patrick


(marc hoffman) closed #8