OSDN Git Service

SourceForge.JP で Mac 旧来の改行コード( CR のみ)の場合に正常に処理されないので、改行コードを変更。
[bacon/BaCon-Japanese.git] / 関数・命令 / IMPORT.txt
index 482d3dc..304142b 100644 (file)
@@ -1 +1,18 @@
-  IMPORT\r\r   IMPORT <function[(<type> <arg1>[, <type> <arg2>][, ...])]> FROM <library> TYPE\r   <type> [ALIAS word]\r\r   Type: statement\r\r   Imports a function from a C library defining the type of returnvalue.\r   Optionally, the type of arguments can be specified. Also optionally it\r   is possible to define an alias under which the imported function will be\r   known to BaCon. Examples:\r\r   IMPORT "ioctl" FROM "libc.so" TYPE int\r   IMPORT "gdk_draw_line(long, long, int, int, int, int)" FROM\r   "libgdk-x11-2.0.so" TYPE void\r   IMPORT "fork" FROM "libc.so" TYPE int ALIAS "FORK"\r   IMPORT "atan(double)" FROM "libm.so" TYPE double ALIAS "arctangens"\r\r
\ No newline at end of file
+  IMPORT
+
+   IMPORT <function[(<type> <arg1>[, <type> <arg2>][, ...])]> FROM <library> TYPE
+   <type> [ALIAS word]
+
+   Type: statement
+
+   Imports a function from a C library defining the type of returnvalue.
+   Optionally, the type of arguments can be specified. Also optionally it
+   is possible to define an alias under which the imported function will be
+   known to BaCon. Examples:
+
+   IMPORT "ioctl" FROM "libc.so" TYPE int
+   IMPORT "gdk_draw_line(long, long, int, int, int, int)" FROM
+   "libgdk-x11-2.0.so" TYPE void
+   IMPORT "fork" FROM "libc.so" TYPE int ALIAS "FORK"
+   IMPORT "atan(double)" FROM "libm.so" TYPE double ALIAS "arctangens"
+