Here should be a question.
- first
- second
- third
- fourth
-(void)myMethodWithName:(NSString *)name andData:(NSData*)data {
NSLog(@"hello");
}
=========
Here should be a question.
-(void)myMethodWithName:(NSString *)name andData:(NSData*)data {
NSLog(@"hello");
}
=========
<html>
</head>
<title name='user'>test</title>
</head>
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.
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.
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