Skip to content

Commit 3f53b36

Browse files
committed
doc
1 parent b06b9ed commit 3f53b36

File tree

5 files changed

+29
-7
lines changed

5 files changed

+29
-7
lines changed

doc/core/keywords/lock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## Description:
1010
Locks a variable to prevent it being modified. See also [unlock](unlock.md).
1111

12-
Next: [lock](lock.md)
13-
Prev: [init](init.md)
12+
Next: [log](log.md)
13+
Prev: [load](load.md)
1414

1515
[Back](../../README.md)

doc/core/keywords/log.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# log
2+
3+
## Syntax:
4+
`log {message}`
5+
6+
## Examples:
7+
``log `ProcessResponses` ``
8+
9+
## Description:
10+
Prints a log message to the console.
11+
12+
The output is prefixed by the current time and the script line number of the print command. This is very useful in large scripts when trying to find a log command that is outputting some unwanted messages. For example, the above example produces the output
13+
14+
`14:46:59.048918: 1056-> ProcessResponses`
15+
16+
See also [print](print.md).
17+
18+
Next: [module](module.md)
19+
Prev: [lock](lock.md)
20+
21+
[Back](../../README.md)

doc/core/keywords/module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Declare a module variable, which enables you to run another script as a child of
1212
Module variables can be assigned any number of elements - see [set the elements](set.md).
1313

1414
Next: [multiply](multiply.md)
15-
Prev: [lock](lock.md)
15+
Prev: [log](log.md)
1616

1717
[Back](../../README.md)

doc/core/keywords/print.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
`print Data cat newline`
88

99
## Description:
10-
Print something to the terminal. The second example shows the use of string catenation, which is also covered in [values](../core.md).
11-
The output is prefixed by the script line number of the print command. This is very useful in large scripts when trying to figure where print output is coming from.
10+
Print something to the terminal. The second example shows the use of string catenation, which is also covered in [values](../core.md). See also [log](log.md)
1211

1312
Next: [push](push.md)
1413
Prev: [post](post.md)

doc/graphics/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# The 'graphics' package
22

3+
**Documentation yet to be written**
4+
35
The graphics package contains keywords values and conditionals needed for programming graphical applications.
46

57
There are three primary components to the language:
@@ -10,11 +12,11 @@ There are three primary components to the language:
1012

1113
The core keywords are:
1214

13-
[attach](attach.md) [close](close.md) [create](create.md) [ellipse](ellipse.md) [image](image.md) [move](move.md) [on](on.md) [rectangle](rectangle.md) [render](render.md) [run](run.md) [set](set.md) [text](text.md)
15+
1416

1517
The core values are:
1618

17-
[attribute](attribute.md) [window](window.md)
19+
1820

1921
The core conditions are:
2022

0 commit comments

Comments
 (0)