We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f81438 commit e6942aeCopy full SHA for e6942ae
1 file changed
docs/pause.md
@@ -0,0 +1,23 @@
1
+#PAUSE
2
+
3
+##Syntax
4
+```
5
+PAUSE <value>
6
7
8
+Just as in Sinclair basic, this command pauses the execution for the given number of frames
9
+(1 frame equals to 1/50th of second in Europe, 1/60th of second in the US: this is usually in
10
+sync with the electricity AC frecuency) or until a key is pressed.
11
12
+Bear in mind the number 0 is actually taken as 65536.
13
+Currently this sentence uses the Sinclair BASIC ROM, so **it needs interruptions enabled**.
14
15
+Example:
16
17
18
+PRINT "Press any key"
19
+PAUSE 0: REM waits for a Key pressed or for 65536 frames
20
21
22
+##Remarks
23
+* This function is 100% Sinclair BASIC compatible.
0 commit comments