X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=fifth.git;a=blobdiff_plain;f=doc%2Flanguage.html;fp=doc%2Flanguage.html;h=ef8f0eb16e9c33570e22f95e7cc4ce3ebca85c62;hp=b6c120c90198802bd94425ba30b99038ef6ef543;hb=404df5a007951012b727f2a90bc3a59254a05dbd;hpb=0df562d446afbd2094012c8e57fb4144c510c434 diff --git a/doc/language.html b/doc/language.html index b6c120c..ef8f0eb 100644 --- a/doc/language.html +++ b/doc/language.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Fifth - language @@ -223,29 +223,31 @@

Table of Contents

+ - -
-

1. Fifth source format

+
+

1. Fifth source format

Fifth uses a different character table and codes than ASCII (still @@ -256,8 +258,8 @@ numeric values. So typical nemric characters "0123…" is treated like ordinary letters.

-
-

1.1. FSCII

+
+

1.1. FSCII

@@ -317,12 +319,12 @@ like ordinary letters. -
-

2. Fifth commands

+
+

2. Fifth commands

-
-

2.1. Compilation & miscellaneous

+
+

2.1. Compilation & miscellaneous

init module ( – )
@@ -490,8 +492,8 @@ ne ( entrydata entrytype – ) Compile new dictionary entry.

-
-

2.2. Conditionals & control flow

+
+

2.2. Conditionals & control flow

if ( flag – ) (immideate)
@@ -533,8 +535,8 @@ done ( – ) exit from "until .. loop"

-
-

2.3. Disk & file access

+
+

2.3. Disk & file access

diskload ( FromDisk ToMem amount – )
@@ -593,8 +595,8 @@ fsDloadnew ( DynStr<SrcFileName> – DynHand<DataDest> )

-
-

2.4. Dynamic memory

+
+

2.4. Dynamic memory

dynal ( size – handle )
@@ -637,8 +639,8 @@ dyn. ( handle – )

-
-

2.5. Graphics and text

+
+

2.5. Graphics and text

. ( n – ) print number on screen
@@ -709,8 +711,8 @@ copyscreen ( SrcImgHandle DestImgHandle – ) copy contenc of source

-
-

2.6. Math, memory & stack manipulation

+
+

2.6. Math, memory & stack manipulation

off ( n – ) writes 0 to given address, good for zeroing variable.
@@ -773,8 +775,8 @@ abs ( n – |n| )

-
-

2.7. Dynamic & static strings

+
+

2.7. Dynamic & static strings

Fifth supports both static and dynamic strings. Static strings must @@ -912,7 +914,7 @@ ex: var mystring1

Author: Svjatoslav Agejenko

-

Created: 2023-09-18 Mon 01:47

+

Created: 2023-09-19 Tue 18:07

Validate