/
08-examples.afc
85 lines (67 loc) · 1.79 KB
/
08-examples.afc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[chapter A few short examples]
Here, you'll have some simple examples of *.afc text that intend to show the easy use of this syntax.
[section Example 1]
[code #]
[chapter How to send an e-mail]
In this chapter, you'll learn how to send an e-mail
[section Why would I do that?]
The ::e-mail:: is the **main** comunication mean of most companies. Anyone
should be able to send an ::e-mail:::
[section The steps]
[list number]
* **Browser:** Double click on your browser's icon (Firefox, Iceweasel,
IE, Safari,...)
* **Navigating:** Copy the page address in your browser's address bar.
[TODO missing steps]
* **Log in:** Copy your login and passward to their respective fields and
Click on %%ok%%.
[/list]
That is your ::inbox:: folder. The incoming e-mails will appear there.
[box Where do I learn more?]
You can learn some more by exploring your e-mails' page. There must be a
link somewhere that teaches you all funcionalities of your e-mail -
including where it keeps the e-mail you send or how do you delete
unwanted e-mail.
[/box]
[chapter Navigators]
[table "Navigators and Operating Systems"]
[row]
[col]Internet Explorer[/col]
[col]Windows, Mac OSX[/col]
[/row]
[row]
[col]Safari[/col]
[col]Mac OSX[/col]
[/row]
[row]
[col]Firefox[/col]
[col]Windows, Mac OSX, Linux[/col]
[/row]
[row]
[col]Opera[/col]
[col]Windows, Mac OSX, Linux[/col]
[/row]
[/table]
[/code]
[section Example 2]
[code]How do you write a HelloWorld...
[list]
* **in Java**
[java]
public static void main(String[] args){
System.out.println("Hello world!");
}
[/java]
* **in C**
[code]
int main(){
printf("Hello world!\n");
return 0;
}
[/code]
* **in Ruby**
[ruby]
puts "Hello, world!"
[/ruby]
[/list]
[/code]